Date: Wed, 4 Oct 2000 23:16:47 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: bsdnewbie bsdnewbie <bsdnewbie@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: _Where is VOP_STRATEGY ??? Message-ID: <20001004231647.V27736@fw.wintelcom.net> In-Reply-To: <F112ZNTXiQD9Eg44PdO0000ea7e@hotmail.com>; from bsdnewbie@hotmail.com on Thu, Oct 05, 2000 at 01:25:45PM -0600 References: <F112ZNTXiQD9Eg44PdO0000ea7e@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* bsdnewbie bsdnewbie <bsdnewbie@hotmail.com> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001004231647.V27736>