Searched refs:ni_dvp (Results 1 - 12 of 12) sorted by relevance
/freebsd-current/sys/kern/ |
H A D | vfs_lookup.c | 734 dp = ndp->ni_dvp; 756 vrele(ndp->ni_dvp); 845 ndp->ni_dvp = dp; 879 if (ndp->ni_vp == ndp->ni_dvp) 880 vrele(ndp->ni_dvp); 882 vput(ndp->ni_dvp); 884 ndp->ni_dvp = NULL; 932 if (dp != ndp->ni_dvp) 933 vput(ndp->ni_dvp); 935 vrele(ndp->ni_dvp); [all...] |
H A D | vfs_syscalls.c | 1392 if (vp == nd.ni_dvp) 1393 vrele(nd.ni_dvp); 1395 vput(nd.ni_dvp); 1419 if (vn_start_write(nd.ni_dvp, &mp, V_NOWAIT) != 0) { 1421 vput(nd.ni_dvp); 1428 error = mac_vnode_check_create(td->td_ucred, nd.ni_dvp, 1433 error = VOP_WHITEOUT(nd.ni_dvp, &nd.ni_cnd, CREATE); 1435 error = VOP_MKNOD(nd.ni_dvp, &nd.ni_vp, 1439 VOP_VPUT_PAIR(nd.ni_dvp, error == 0 && !whiteout ? &nd.ni_vp : NULL, 1499 if (nd.ni_vp == nd.ni_dvp) [all...] |
H A D | vfs_vnops.c | 269 if (vn_start_write(ndp->ni_dvp, &mp, V_NOWAIT) != 0) { 271 vput(ndp->ni_dvp); 281 error = mac_vnode_check_create(cred, ndp->ni_dvp, 285 error = VOP_CREATE(ndp->ni_dvp, &ndp->ni_vp, 295 VOP_VPUT_PAIR(ndp->ni_dvp, error == 0 ? &vp : NULL, 308 if (ndp->ni_dvp == ndp->ni_vp) 309 vrele(ndp->ni_dvp); 311 vput(ndp->ni_dvp); 312 ndp->ni_dvp = NULL;
|
H A D | uipc_usrreq.c | 574 if (vp != NULL || vn_start_write(nd.ni_dvp, &mp, V_NOWAIT) != 0) { 576 if (nd.ni_dvp == vp) 577 vrele(nd.ni_dvp); 579 vput(nd.ni_dvp); 594 error = mac_vnode_check_create(td->td_ucred, nd.ni_dvp, &nd.ni_cnd, 608 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr); 612 VOP_VPUT_PAIR(nd.ni_dvp, NULL, true); 629 VOP_VPUT_PAIR(nd.ni_dvp, &vp, true);
|
H A D | kern_exec.c | 484 newtextdvp = nd.ni_dvp; 485 nd.ni_dvp = NULL;
|
H A D | vfs_mount.c | 1661 * that namei sets nd.ni_dvp to vp_crossmp for these. 1684 nd.ni_dvp, pathbuf, MNAMELEN, 1697 vrele(nd.ni_dvp);
|
H A D | vfs_cache.c | 3246 if (nd.ni_vp->v_type == VREG && nd.ni_dvp->v_type != VDIR && 3267 error = vn_fullpath_hardlink(nd.ni_vp, nd.ni_dvp, nd.ni_cnd.cn_nameptr, 3276 vrele(nd.ni_dvp); 3760 * set to mount point's root vnode while ni_dvp will be vp_crossmp. 3762 * at ni_dvp in the first place. However, since vnodes get passed here 6363 ndp->ni_dvp = fpl.dvp;
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 721 * ndp->ni_vp and ni_dvp are left uninitialized or NULL and 744 NFSVOPUNLOCK(ndp->ni_dvp); 773 vrele(ndp->ni_dvp); 800 * should replace current directory. Normally ni_dvp 809 vrele(ndp->ni_dvp); 810 ndp->ni_dvp = ndp->ni_rootdir; 811 VREF(ndp->ni_dvp); 813 ndp->ni_startdir = ndp->ni_dvp; 814 ndp->ni_dvp = NULL; 823 ndp->ni_dvp [all...] |
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_snapshot.c | 253 if (nd.ni_dvp->v_mount != mp) 257 if (nd.ni_dvp == nd.ni_vp) 258 vrele(nd.ni_dvp); 260 vput(nd.ni_dvp); 267 if (VOP_GETWRITEMOUNT(nd.ni_dvp, &wrtmp)) 274 vput(nd.ni_dvp); 280 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vat); 282 VOP_VPUT_PAIR(nd.ni_dvp, NULL, true); 290 vref(nd.ni_dvp); 291 VOP_VPUT_PAIR(nd.ni_dvp, [all...] |
/freebsd-current/sys/sys/ |
H A D | namei.h | 90 struct vnode *ni_dvp; /* vnode of intermediate directory */ member in struct:nameidata
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vnops_os.c | 5545 error = VOP_REMOVE(nd.ni_dvp, vp, &nd.ni_cnd); 5548 vput(nd.ni_dvp); 5549 if (vp == nd.ni_dvp)
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 3832 ndp->ni_dvp = vp; 4233 ndp->ni_dvp != ndp->ni_vp && 4236 cache_enter_time_flags(ndp->ni_dvp,
|
Completed in 223 milliseconds