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
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
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.
> 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,
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