From owner-freebsd-questions Wed Oct 4 23:16:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 934D337B66D for ; Wed, 4 Oct 2000 23:16:48 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e956GlN12594; Wed, 4 Oct 2000 23:16:47 -0700 (PDT) Date: Wed, 4 Oct 2000 23:16:47 -0700 From: Alfred Perlstein To: bsdnewbie bsdnewbie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: _Where is VOP_STRATEGY ??? Message-ID: <20001004231647.V27736@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from bsdnewbie@hotmail.com on Thu, Oct 05, 2000 at 01:25:45PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * bsdnewbie bsdnewbie [001004 22:25] wrote: > I could not find out the macro "VOP_STRATEGY" which used by the system call > bread(...). The command that I use: > > grep -r VOP_STRATEGY /usr/src/ or > grep VOP_STRATEGY `find /usr/src/ -name *.h` or > grep VOP_STRATEGY `find /usr/src/ -name *.c` > > but I can not find the DEFINITION of VOP_STRATEGY!!! > > Does FreeBSD place all his source files in the directory /usr/src? Where > can I find the def of this macro? It's in a file generated from: sys/kern/vnode_if.pl sys/kern/vnode_if.src you'll find it in your kernel compile directory: /usr/src/sys/compile/thumper % grep VOP_STRATEGY * vnode_if.h:static __inline int VOP_STRATEGY __P(( vnode_if.h:static __inline int VOP_STRATEGY(vp, bp) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message