Home
last modified time | relevance | path

Searched refs:ni_dvp (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/nfs/
H A Dnfs_serv.c1516 nqsrv_getl(nd.ni_dvp, ND_WRITE); in nfsrv_create()
1517 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &va); in nfsrv_create()
1540 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in nfsrv_create()
1541 vput(nd.ni_dvp); in nfsrv_create()
1551 nqsrv_getl(nd.ni_dvp, ND_WRITE); in nfsrv_create()
1552 error = VOP_MKNOD(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, in nfsrv_create()
1560 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in nfsrv_create()
1570 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in nfsrv_create()
1597 if (nd.ni_dvp == vp) in nfsrv_create()
1598 vrele(nd.ni_dvp); in nfsrv_create()
[all …]
H A Dnfs_vnops.c2616 ndp->ni_dvp = vp; in nfs_readdirplusrpc()
2748 nfs_cache_enter(ndp->ni_dvp, in nfs_readdirplusrpc()
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdport.c452 NFSVOPUNLOCK(ndp->ni_dvp, 0); in nfsvno_namei()
481 vrele(ndp->ni_dvp); in nfsvno_namei()
517 vrele(ndp->ni_dvp); in nfsvno_namei()
518 ndp->ni_dvp = ndp->ni_rootdir; in nfsvno_namei()
519 VREF(ndp->ni_dvp); in nfsvno_namei()
521 ndp->ni_startdir = ndp->ni_dvp; in nfsvno_namei()
522 ndp->ni_dvp = NULL; in nfsvno_namei()
531 ndp->ni_dvp = NULL; in nfsvno_namei()
534 ndp->ni_dvp = NULL; in nfsvno_namei()
797 error = VOP_CREATE(ndp->ni_dvp, in nfsvno_createsub()
[all …]
/netbsd-src/sys/kern/
H A Dvfs_syscalls.c2494 error = VOP_WHITEOUT(nd.ni_dvp, &nd.ni_cnd, CREATE); in do_sys_mknodat()
2496 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in do_sys_mknodat()
2497 vput(nd.ni_dvp); in do_sys_mknodat()
2501 error = VOP_MKNOD(nd.ni_dvp, &nd.ni_vp, in do_sys_mknodat()
2505 vput(nd.ni_dvp);
2509 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp,
2513 vput(nd.ni_dvp); in sys_mkfifo()
2517 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in sys_mkfifo()
2518 if (nd.ni_dvp == vp) in sys_mkfifo()
2519 vrele(nd.ni_dvp);
[all...]
H A Dvfs_vnops.c237 * get ni_dvp == NULL back if ni_vp exists, and we should in vn_open()
240 if ((fmode & O_CREAT) != 0 && nd.ni_dvp != NULL) { in vn_open()
242 vput(nd.ni_dvp); in vn_open()
244 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in vn_open()
245 if (nd.ni_dvp == nd.ni_vp) in vn_open()
246 vrele(nd.ni_dvp); in vn_open()
248 vput(nd.ni_dvp); in vn_open()
249 nd.ni_dvp = NULL; in vn_open()
264 if ((fmode & O_CREAT) != 0 && nd.ni_dvp != NULL) { in vn_open()
271 error = VOP_CREATE(nd.ni_dvp, in vn_open()
[all...]
H A Dvfs_lookup.c442 * directory vnode returned in ni_dvp, locked.
448 * if LOCKPARENT set, return locked parent in ni_dvp
1509 ndp->ni_dvp = NULL; in namei_oneroot()
1587 ndp->ni_dvp = NULL; in namei_oneroot()
1672 ndp->ni_dvp = NULL; in namei_oneroot()
1716 ndp->ni_dvp = NULL; in namei_oneroot()
1815 ndp->ni_dvp = NULL; in namei_oneroot()
1848 ndp->ni_dvp = NULL; in namei_oneroot()
1892 ndp->ni_dvp = searchdir; in namei_tryemulroot()
1961 KASSERT(ndp->ni_dvp
[all...]
H A Duipc_usrreq.c1004 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in unp_bind()
1005 if (nd.ni_dvp == vp) in unp_bind()
1006 vrele(nd.ni_dvp); in unp_bind()
1008 vput(nd.ni_dvp); in unp_bind()
1017 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr); in unp_bind()
1019 vput(nd.ni_dvp); in unp_bind()
1031 vput(nd.ni_dvp); in unp_bind()
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dddi.c171 nd.ni_vp == nd.ni_dvp) { in do_rmdirp()
172 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in do_rmdirp()
173 if (nd.ni_vp == nd.ni_dvp) in do_rmdirp()
174 vrele(nd.ni_dvp); in do_rmdirp()
176 vput(nd.ni_dvp); in do_rmdirp()
181 error = VOP_RMDIR(nd.ni_dvp, nd.ni_vp, &nd.ni_cnd); in do_rmdirp()
182 vput(nd.ni_dvp); in do_rmdirp()
/netbsd-src/sys/fs/unionfs/
H A Dunionfs_vfsops.c186 vrele(ndp->ni_dvp); in unionfs_mount()
187 ndp->ni_dvp = NULLVP; in unionfs_mount()
/netbsd-src/sys/sys/
H A Dnamei.h126 struct vnode *ni_dvp; /* vnode of intermediate directory */ member
H A Dnamei.src118 struct vnode *ni_dvp; /* vnode of intermediate directory */
280 * - it does not need the parent vnode, nd.ni_dvp;
/netbsd-src/sys/rump/librump/rumpvfs/
H A Drump_vfs.c261 *dvpp = nd.ni_dvp; in rump_namei()
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clrpcops.c3159 ndp->ni_dvp = vp; in nfsrpc_readdirplus()
3522 cache_enter_time(ndp->ni_dvp, in nfsrpc_readdirplus()