Lines Matching defs:ndp
119 nfs_namei(struct nameidata *ndp, nfsrvfh_t *nsfh, uint32_t len, struct nfssvc_sock *slp, struct mbuf *nam, struct mbuf **mdp, char **dposp, struct vnode **retdirp, int *dirattr_retp, struct vattr *dirattrp, struct lwp *l, int kerbflag, int pubflag)
127 struct componentname *cnp = &ndp->ni_cnd;
130 ndp->ni_pathbuf = NULL;
138 * Copy the name from the mbuf list to ndp->ni_pathbuf
139 * and set the various ndp fields appropriately.
177 error = nfsrv_fhtovp(nsfh, false, &dp, ndp->ni_cnd.cn_cred, slp,
193 *dirattr_retp = VOP_GETATTR(dp, dirattrp, ndp->ni_cnd.cn_cred);
249 ndp->ni_atdir = NULL;
250 ndp->ni_pathbuf = pathbuf_assimilate(path);
251 if (ndp->ni_pathbuf == NULL) {
268 * Note: ndp->ni_pathbuf is left undestroyed on success;
271 error = lookup_for_nfsd(ndp, dp, neverfollow);
278 if (ndp->ni_pathbuf != NULL) {
279 pathbuf_destroy(ndp->ni_pathbuf);
280 ndp->ni_pathbuf = NULL;