Lines Matching refs:nd
921 struct nameidata nd;
949 NDINIT(&nd, LOOKUP, nameiflags, UIO_USERSPACE, uap->path, ctx);
951 if ((error = namei(&nd)) != 0)
953 vp = nd.ni_vp;
954 nameidone(&nd);
1549 struct nameidata nd;
1576 NDINIT(&nd, LOOKUP, nameiflags | AUDITVNPATH1, UIO_USERSPACE, uap->path, &context);
1577 if ((error = namei(&nd)) != 0)
1579 vp = nd.ni_vp;
1580 nameidone(&nd);