Lines Matching refs:ndp
50 NDFREE(struct nameidata *ndp, const u_int flags) in NDFREE() argument
56 vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp) in vn_open() argument
95 NDINIT_ALL(struct nameidata *ndp, u_long op, u_long flags, enum uio_seg segflg,
100 ndp->ni_cnd.cn_nameiop = op;
101 ndp->ni_cnd.cn_flags = flags;
102 ndp->ni_segflg = segflg;
103 ndp->ni_dirp = namep;
104 ndp->ni_dirfd = dirfd;
105 ndp->ni_startdir = startdir;
106 ndp->ni_strictrelative = 0;
108 ndp->ni_rightsneeded = *rightsp;
110 cap_rights_init(&ndp->ni_rightsneeded);
111 filecaps_init(&ndp->ni_filecaps);
112 ndp->ni_cnd.cn_thread = td;