/src/sys/kern/ |
vfs_getcwd.c | 61 * lvp, *lvpp: the "lower" vnode 84 * entry pointing at lvp. 93 getcwd_scandir(struct vnode *lvp, struct vnode **uvpp, char **bpp, 113 KASSERT(VOP_ISLOCKED(lvp) == LK_EXCLUSIVE); 120 error = VOP_GETATTR(lvp, &va, cred); 122 VOP_UNLOCK(lvp); 138 /* At this point, lvp is locked */ 139 error = VOP_LOOKUP(lvp, uvpp, &cn); 140 VOP_UNLOCK(lvp); 159 /* Now lvp is unlocked, try to lock uvp * [all...] |
/src/sys/miscfs/genfs/ |
layer_vnops.c | 350 struct vnode *dvp, *lvp, *ldvp; local in function:layer_lookup 364 lvp = *ap->a_vpp; 376 if (ldvp == lvp) { 384 vrele(lvp); 385 } else if (lvp != NULL) { 388 error = layer_node_create(dvp->v_mount, lvp, ap->a_vpp); 390 vrele(lvp); 510 struct vnode *lvp = LAYERVPTOLOWERVP(vp); local in function:layer_open 513 if (((lvp->v_type == VBLK) || (lvp->v_type == VCHR)) & 539 struct vnode *lvp = LAYERVPTOLOWERVP(vp); local in function:layer_close 692 struct vnode *lvp = LAYERVPTOLOWERVP(vp); local in function:layer_revoke [all...] |
/src/sys/fs/unionfs/ |
unionfs_vnops.c | 119 struct vnode *dvp, *udvp, *ldvp, *vp, *uvp, *lvp, *dtmpvp; local in function:unionfs_lookup 132 vp = uvp = lvp = NULLVP; 235 lerror = VOP_LOOKUP(ldvp, &lvp, cnp); 242 if (ldvp == lvp) { /* is dot */ 245 vrele(lvp); 260 if (uvp == NULLVP && lvp == NULLVP) { 269 if (uvp != NULLVP && lvp != NULLVP && uvp->v_type != lvp->v_type) { 270 vput(lvp); 271 lvp = NULLVP 452 struct vnode *lvp; local in function:unionfs_open 639 struct vnode *lvp; local in function:unionfs_access 717 struct vnode *lvp; local in function:unionfs_getattr 770 struct vnode *lvp; local in function:unionfs_setattr 923 struct vnode *lvp; local in function:unionfs_remove 1280 struct vnode *lvp; local in function:unionfs_rmdir 1375 struct vnode *lvp; local in function:unionfs_readdir 1590 struct vnode *lvp; local in function:unionfs_lock 1618 struct vnode *lvp; local in function:unionfs_unlock [all...] |
unionfs_subr.c | 143 struct vnode *lvp; local in function:unionfs_noderem 151 lvp = unp->un_lowervp; 156 if (lvp != NULLVP) 157 vrele(lvp); 273 struct vnode *lvp, 280 if ((error = VOP_GETATTR(lvp, &lva, cred))) 469 struct vnode *lvp; local in function:unionfs_node_update 472 lvp = unp->un_lowervp; 479 KASSERT(VOP_ISLOCKED(lvp) == LK_EXCLUSIVE); 495 struct vnode *lvp; local in function:unionfs_mkshadowdir 598 struct vnode *lvp; local in function:unionfs_vn_create_on_upper 737 struct vnode *lvp; local in function:unionfs_copyfile 798 struct vnode *lvp; local in function:unionfs_check_rmdir [all...] |
unionfs.h | 132 int unionfs_create_uppervattr(struct unionfs_mount *ump, struct vnode *lvp, struct vattr *uva, kauth_cred_t cred);
|
/src/sys/fs/union/ |
union_subr.c | 693 struct vnode *lvp, *uvp; local in function:union_copyup 702 lvp = un->un_lowervp; 709 vn_lock(lvp, LK_EXCLUSIVE | LK_RETRY); 711 error = VOP_GETATTR(lvp, &lvattr, cred); 713 error = VOP_OPEN(lvp, FREAD, cred); 715 error = union_copyfile(lvp, uvp, cred, l); 716 (void) VOP_CLOSE(lvp, FREAD, cred); 725 VOP_UNLOCK(lvp); 745 vn_lock(lvp, LK_EXCLUSIVE | LK_RETRY); 747 (void) VOP_CLOSE(lvp, FREAD, cred) [all...] |
/src/sys/rump/librump/rumpkern/ |
emul.c | 264 rump_getcwd_common(struct vnode *lvp, struct vnode *rvp, char **bpp, char *bufp,
|