Home
last modified time | relevance | path

Searched refs:v_mountedhere (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h89 ((vp)->v_type == VDIR && (vp)->v_mountedhere != NULL)
90 #define vn_mountedvfs(vp) ((vp)->v_mountedhere)
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c150 if ((vp->v_iflag & VI_MOUNT) == 0 && vp->v_mountedhere == NULL) in mount_snapshot()
242 vp->v_mountedhere = mp; in mount_snapshot()
/freebsd/sys/fs/autofs/
H A Dautofs_vnops.c158 if (vp->v_mountedhere != NULL) { in autofs_trigger_vn()
176 if (vp->v_mountedhere == NULL) { in autofs_trigger_vn()
189 error = VFS_ROOT(vp->v_mountedhere, lock_flags, newvp); in autofs_trigger_vn()
/freebsd/sys/kern/
H A Dvfs_mountroot.c335 vporoot->v_mountedhere = NULL; in vfs_mountroot_shuffle()
368 vp->v_mountedhere = mporoot; in vfs_mountroot_shuffle()
397 vpdevfs->v_mountedhere = NULL; in vfs_mountroot_shuffle()
404 vp->v_mountedhere = mpdevfs; in vfs_mountroot_shuffle()
H A Dvfs_mount.c1163 if ((vp->v_iflag & VI_MOUNT) == 0 && vp->v_mountedhere == NULL) in vfs_domount_first()
1262 vp->v_mountedhere = mp; in vfs_domount_first()
1371 if ((vp->v_iflag & VI_MOUNT) != 0 || vp->v_mountedhere != NULL) { in vfs_domount_update()
2265 if (coveredvp->v_mountedhere != mp || in dounmount()
2266 coveredvp->v_mountedhere->mnt_gen != mnt_gen_r) { in dounmount()
2393 coveredvp->v_mountedhere = NULL; in dounmount()
H A Dvfs_lookup.c907 mp = dp->v_mountedhere; in vfs_lookup_cross_mount()
938 if (dp->v_mountedhere != mp) { in vfs_lookup_cross_mount()
H A Dvfs_cache.c3509 vp1->v_mountedhere != vp->v_mount) { in vn_fullpath_dir()
5618 mp = atomic_load_ptr(&vp->v_mountedhere); in cache_fplookup_climb_mount()
5652 mp = atomic_load_ptr(&vp->v_mountedhere); in cache_fplookup_cross_mount()
5675 mp = atomic_load_ptr(&vp->v_mountedhere); in cache_fplookup_cross_mount()
5701 mp = atomic_load_ptr(&vp->v_mountedhere); in cache_fplookup_is_mp()
H A Dvfs_subr.c2224 vp->v_mountedhere = NULL; in freevnode()
4551 printf(" mountedhere %p\n", vp->v_mountedhere); in vn_printf()
H A Dvfs_syscalls.c911 while (!error && (mp = vp->v_mountedhere) != NULL) { in sys_fchdir()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ctldir.c878 if ((mp = (*vpp)->v_mountedhere) != NULL) { in zfsctl_mounted_here()
1208 mp = vp->v_mountedhere; in zfsctl_snapshot_vptocnp()
1277 if (vp->v_mountedhere != NULL) in zfsctl_lookup_objset()
1278 *zfsvfsp = vp->v_mountedhere->mnt_data; in zfsctl_lookup_objset()
1323 mp = vp->v_mountedhere; in zfsctl_umount_snapshots()
H A Dzfs_vnops_os.c3110 if (((*svpp)->v_type == VDIR && (*svpp)->v_mountedhere != NULL) || in zfs_do_rename_impl()
3112 (*tvpp)->v_mountedhere != NULL)) { in zfs_do_rename_impl()
/freebsd/sys/ufs/ufs/
H A Dufs_vnops.c1465 if ((fvp->v_type == VDIR && fvp->v_mountedhere != NULL) || in ufs_rename()
1467 tvp->v_mountedhere != NULL)) { in ufs_rename()
2295 if (vp->v_mountedhere != 0) { in ufs_rmdir()
/freebsd/sys/sys/
H A Dvnode.h148 struct mount *v_mountedhere; /* v ptr to mountpoint (VDIR) */ member
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c1586 if (tvp->v_type == VDIR && tvp->v_mountedhere) { in nfsvno_rename()
1605 if (fvp->v_type == VDIR && fvp->v_mountedhere) { in nfsvno_rename()
2715 nvp->v_mountedhere != NULL) { in nfsrvd_readdirplus()
2716 new_mp = nvp->v_mountedhere; in nfsrvd_readdirplus()