Lines Matching refs:coveredvp
1836 dounmount_cleanup(struct mount *mp, struct vnode *coveredvp, int mntkflags) in dounmount_cleanup() argument
1847 if (coveredvp != NULL) { in dounmount_cleanup()
1848 VOP_UNLOCK(coveredvp); in dounmount_cleanup()
1849 vdrop(coveredvp); in dounmount_cleanup()
2144 struct vnode *coveredvp, *rootvp; in dounmount() local
2257 if ((coveredvp = mp->mnt_vnodecovered) != NULL) { in dounmount()
2259 VI_LOCK(coveredvp); in dounmount()
2260 vholdl(coveredvp); in dounmount()
2261 vn_lock(coveredvp, LK_EXCLUSIVE | LK_INTERLOCK | LK_RETRY); in dounmount()
2266 if (coveredvp->v_mountedhere != mp || in dounmount()
2267 coveredvp->v_mountedhere->mnt_gen != mnt_gen_r) { in dounmount()
2268 VOP_UNLOCK(coveredvp); in dounmount()
2269 vdrop(coveredvp); in dounmount()
2282 dounmount_cleanup(mp, coveredvp, 0); in dounmount()
2287 if (coveredvp != NULL) in dounmount()
2288 vn_seqc_write_begin(coveredvp); in dounmount()
2294 vn_seqc_write_end(coveredvp); in dounmount()
2295 dounmount_cleanup(mp, coveredvp, MNTK_UNMOUNT); in dounmount()
2375 if (coveredvp) { in dounmount()
2376 vn_seqc_write_end(coveredvp); in dounmount()
2377 VOP_UNLOCK(coveredvp); in dounmount()
2378 vdrop(coveredvp); in dounmount()
2391 if (coveredvp != NULL) { in dounmount()
2392 VI_LOCK(coveredvp); in dounmount()
2393 vn_irflag_unset_locked(coveredvp, VIRF_MOUNTPOINT); in dounmount()
2394 coveredvp->v_mountedhere = NULL; in dounmount()
2395 vn_seqc_write_end_locked(coveredvp); in dounmount()
2396 VI_UNLOCK(coveredvp); in dounmount()
2397 VOP_UNLOCK(coveredvp); in dounmount()
2398 vdrop(coveredvp); in dounmount()