Lines Matching refs:ndp
156 #define USEDVP 0x00400000 /* start the lookup at ndp.ni_dvp */
170 #define NDINIT(ndp, op, flags, segflg, namep, ctx) { \
171 (ndp)->ni_cnd.cn_nameiop = op; \
172 (ndp)->ni_cnd.cn_flags = flags; \
174 (ndp)->ni_segflg = ((IS_64BIT_PROCESS(vfs_context_proc(ctx))) ? UIO_USERSPACE64 : UIO_USERSPACE32); \
177 (ndp)->ni_segflg = UIO_SYSSPACE32; \
180 (ndp)->ni_segflg = segflg; \
182 (ndp)->ni_dirp = namep; \
183 (ndp)->ni_cnd.cn_context = ctx; \
212 int namei(struct nameidata *ndp);
214 int lookup(struct nameidata *ndp);
222 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp,