Re: [osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread Sebastien Roy
On Wed, 2008-05-07 at 08:42 -0700, xulari wrote: > hi ,rlhamil : i can dtrace the syscall "open", and i come to here : > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/vnode.c#fop_lookup > > how we get "ufs_lookup" or "#fs_lookup" by fop_lookup? > > int line 3293 : it

Re: [osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread Frank . Hofmann
On Wed, 7 May 2008, xulari wrote: > hi ,rlhamil : i can dtrace the syscall "open", and i come to here : > > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/vnode.c#fop_lookup > > how we get "ufs_lookup" or "#fs_lookup" by fop_lookup? > > int line 3293 : it just cal

Re: [osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread xulari
hi ,rlhamil : i can dtrace the syscall "open", and i come to here : http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/vnode.c#fop_lookup how we get "ufs_lookup" or "#fs_lookup" by fop_lookup? int line 3293 : it just call a function pointer... i can't get it... thanks.

Re: [osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread Richard L. Hamilton
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/ > usr/src/uts/common/fs/lookup.c#lookupnameat > 194 lookuppnvp( > 195 struct pathname *pnp, /* pathname to lookup > */ > 196 struct pathname *rpnp, /* if non-NULL, > return resolved path */ >197int flags,

[osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread xulari
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/lookup.c#lookupnameat 194 lookuppnvp( 195 struct pathname *pnp, /* pathname to lookup */ 196 struct pathname *rpnp, /* if non-NULL, return resolved path */ 197 int f