Lines Matching defs:ndp
386 struct nfscldeleg *dp, *ndp = NULL;
456 MALLOC(ndp, struct nfscldeleg *,
459 LIST_INIT(&ndp->nfsdl_owner);
460 LIST_INIT(&ndp->nfsdl_lock);
461 ndp->nfsdl_clp = op->nfso_own->nfsow_clp;
462 ndp->nfsdl_fhlen = newfhlen;
463 NFSBCOPY(newfhp, ndp->nfsdl_fh, newfhlen);
464 newnfs_copyincred(cred, &ndp->nfsdl_cred);
465 nfscl_lockinit(&ndp->nfsdl_rwlock);
468 ndp->nfsdl_stateid.seqid = *tl++;
469 ndp->nfsdl_stateid.other[0] = *tl++;
470 ndp->nfsdl_stateid.other[1] = *tl++;
471 ndp->nfsdl_stateid.other[2] = *tl++;
474 ndp->nfsdl_flags = NFSCLDL_WRITE;
483 ndp->nfsdl_sizelimit = fxdr_hyper(tl);
486 ndp->nfsdl_sizelimit =
488 ndp->nfsdl_sizelimit *=
496 ndp->nfsdl_flags = NFSCLDL_READ;
499 ndp->nfsdl_flags |= NFSCLDL_RECALL;
500 error = nfsrv_dissectace(nd, &ndp->nfsdl_ace, &ret,
514 if (ndp != NULL) {
515 ndp->nfsdl_change = nfsva.na_filerev;
516 ndp->nfsdl_modtime = nfsva.na_mtime;
517 ndp->nfsdl_flags |= NFSCLDL_MODTIMESET;
542 && !error && dp == NULL && ndp == NULL && !recursed) {
545 newfhlen, mode, op, name, namelen, &ndp, 0, 0x0,
551 if (ndp != NULL) {
552 FREE((caddr_t)ndp, M_NFSCLDELEG);
553 ndp = NULL;
568 *dpp = ndp;
569 else if (ndp != NULL)
570 FREE((caddr_t)ndp, M_NFSCLDELEG);
3135 struct nameidata nami, *ndp = &nami;
3136 struct componentname *cnp = &ndp->ni_cnd;
3159 ndp->ni_dvp = vp;
3517 ndp->ni_vp = newvp;
3522 cache_enter_time(ndp->ni_dvp,
3523 ndp->ni_vp, cnp,