| /f-stack/freebsd/sys/ |
| H A D | mount.h | 204 struct mount { struct 487 MNT_SHARED_WRITES(struct mount *mp) in MNT_SHARED_WRITES() 494 MNT_EXTENDED_SHARED(struct mount *mp) in MNT_EXTENDED_SHARED() 984 int vfs_busy(struct mount *, int); 991 void vfs_getnewfsid(struct mount *); 994 struct mount *vfs_busyfs(fsid_t *); 1000 void vfs_ref(struct mount *); 1001 void vfs_rel(struct mount *); 1005 void vfs_unbusy(struct mount *); 1044 void vfs_op_enter(struct mount *); [all …]
|
| H A D | vnode.h | 118 struct mount *v_mount; /* u ptr to vfs we are in */ 450 extern struct mount *rootdevmp; /* "/dev" mount */ 619 struct mount; 650 void cache_purgevfs(struct mount *mp); 676 int insmntque1(struct vnode *vp, struct mount *mp, 678 int insmntque(struct vnode *vp, struct mount *mp); 731 void vn_finished_write(struct mount *mp); 732 void vn_finished_secondary_write(struct mount *mp); 821 void vfs_write_resume(struct mount *mp, int flags); 822 int vfs_write_suspend(struct mount *mp, int flags); [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
| H A D | delegate_common.kshlib | 230 mount) 445 log_must zfs allow $user mount $fs 577 log_must zfs allow $user mount $fs 711 log_must zfs mount $fs 748 log_must zfs mount $fs 824 log_must zfs mount $fs 850 log_must zfs allow $user mount $fs 917 user_run $user zfs mount $fs 924 user_run $user zfs mount $fs 1281 log_mustnot zfs mount $fs [all …]
|
| H A D | zfs_allow_012_neg.ksh | 59 set -A perms create snapshot mount send allow quota reservation \ 65 set -A perms create snapshot mount send allow quota reservation \ 71 set -A perms create snapshot mount send allow quota reservation \
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | kernel-fst-mount.m4 | 3 dnl # The .get_sb callback has been replaced by a .mount callback 11 mount(struct file_system_type *fs_type, int flags, 18 .mount = mount, 24 AC_MSG_CHECKING([whether fst->mount() exists]) 28 ZFS_LINUX_TEST_ERROR([fst->mount()])
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_remount.ksh | 90 options=$(mount -p | awk -v ds="$dataset" '$1 == ds { print $4 }') 121 log_must mount $RO $TESTFS $MNTPFS 124 log_must mount $RW $TESTFS $MNTPFS 130 log_must mount -t zfs $TESTSNAP $MNTPSNAP 133 log_must mount $RO $TESTSNAP $MNTPSNAP 142 log_must mount -t zfs -o rw $TESTSNAP $MNTPSNAP 145 log_mustnot mount $RW $TESTSNAP $MNTPSNAP 156 log_must mount $RO $TESTFS/crypt $CRYPT_MNTPFS 167 log_mustnot mount $RW $MNTPFS
|
| H A D | zfs_mount_010_neg.ksh | 50 log_must zfs mount $fs 59 log_must zfs mount $fs 62 log_mustnot zfs mount $fs 69 log_must zfs mount $fs 71 log_mustnot zfs mount $fs
|
| H A D | zfs_mount_008_pos.ksh | 48 ! ismounted $fs && log_must zfs mount $fs 76 log_must zfs mount $fs1 78 log_must zfs mount -O $fs1 90 log_must zfs mount $fs1
|
| H A D | zfs_multi_mount.ksh | 73 log_must zfs mount $TESTDS 83 log_must mount -t zfs -o zfsutil $TESTDS $MNTPFS2 91 log_must mount -t zfs -o zfsutil $TESTDS $MNTPFS3 100 log_must mount --bind $MNTPFS $MNTPFS4
|
| H A D | zfs_mount_007_pos.ksh | 57 log_must zfs mount $TESTPOOL/$TESTFS 135 log_must zfs mount -o $reverse_opt $fs 153 log_must zfs mount $fs
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/mount/ |
| H A D | umountall_001.ksh | 35 log_must zfs mount -a 47 typeset mounts=$(mount | awk '{if ($5 == "zfs") print $3}') 49 typeset mounts=$(mount -p | awk '{if ($3 == "zfs") print $2}') 51 typeset mounts=$(mount -p | awk '{if ($4 == "zfs") print $3}') 67 mounts=$(mount -t zfs | sort -r | awk '{print $3}')
|
| /f-stack/freebsd/contrib/openzfs/contrib/dracut/90zfs/ |
| H A D | zfs-generator.sh.in | 37 echo "zfs-generator: writing extension for sysroot.mount to $GENERATOR_DIR"/sysroot.mount.d/zfs-enh… 40 [ -d "$GENERATOR_DIR"/sysroot.mount.d ] || mkdir "$GENERATOR_DIR"/sysroot.mount.d 57 } > "$GENERATOR_DIR"/sysroot.mount.d/zfs-enhancement.conf 60 ln -s ../sysroot.mount "$GENERATOR_DIR"/initrd-root-fs.target.requires/sysroot.mount
|
| H A D | mount-zfs.sh.in | 13 GENERATOR_FILE=/run/systemd/generator/sysroot.mount 14 GENERATOR_EXTENSION=/run/systemd/generator/sysroot.mount.d/zfs-enhancement.conf 26 for zfsmounthook in "$hookdir"/mount/*zfs* ; do
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_init.c | 169 vfs_mount_sigdefer(struct mount *mp) in vfs_mount_sigdefer() 182 vfs_unmount_sigdefer(struct mount *mp, int mntflags) in vfs_unmount_sigdefer() 193 vfs_root_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_root_sigdefer() 215 vfs_quotactl_sigdefer(struct mount *mp, int cmd, uid_t uid, void *arg) in vfs_quotactl_sigdefer() 226 vfs_statfs_sigdefer(struct mount *mp, struct statfs *sbp) in vfs_statfs_sigdefer() 237 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer() 259 vfs_fhtovp_sigdefer(struct mount *mp, struct fid *fidp, int flags, in vfs_fhtovp_sigdefer() 308 vfs_susp_clean_sigdefer(struct mount *mp) in vfs_susp_clean_sigdefer() 320 vfs_reclaim_lowervp_sigdefer(struct mount *mp, struct vnode *vp) in vfs_reclaim_lowervp_sigdefer() 332 vfs_unlink_lowervp_sigdefer(struct mount *mp, struct vnode *vp) in vfs_unlink_lowervp_sigdefer() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
| H A D | mountpoint_003_pos.ksh | 53 ! ismounted $oldmpt && log_must zfs mount $testfs 108 log_must mount -t zfs -o ${args[$i]} $testfs $tmpmnt 110 msg=$(mount | grep "$tmpmnt ") 124 log_must mount -F zfs -o ${args[$i]} $testfs $tmpmnt 126 msg=$(mount | grep "^$tmpmnt ")
|
| H A D | canmount_002_pos.ksh | 93 log_must zfs mount -a 134 log_must zfs mount -a 139 log_must zfs mount -a 145 log_must zfs mount $dataset
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_jail/ |
| H A D | jail.conf | 2 allow.mount.zfs; 3 allow.mount; 6 mount.devfs;
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | policy.h | 35 struct mount; 44 int secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp); 66 int secpolicy_fs_owner(struct mount *vfsp, cred_t *cr); 67 int secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp); 68 void secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp);
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send-wR_encrypted_zvol.ksh | 83 log_must mount $zdev $mntpnt 92 log_must mount $remount_ro $zdev $mntpnt 94 log_must mount $remount_rw $zdev $mntpnt 102 log_must mount $recvdev $recvmnt
|
| /f-stack/freebsd/contrib/openzfs/etc/init.d/ |
| H A D | zfs-mount.in | 74 "$ZFS" mount -a$verbose$overlay "$MOUNT_EXTRA_OPTIONS" 95 fsck "$dev" && mount "$mntpt" 112 mount "$mntpt" 185 mount -f /
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/ |
| H A D | zfs_unload-key_recursive.ksh | 68 log_mustnot zfs mount $TESTPOOL/$TESTFS1 69 log_mustnot zfs mount $TESTPOOL/$TESTFS1/child 70 log_must zfs mount $TESTPOOL/$TESTFS2
|
| H A D | zfs_unload-key_all.ksh | 72 log_mustnot zfs mount $TESTPOOL 73 log_mustnot zfs mount $TESTPOOL/zvol 74 log_mustnot zfs mount $TESTPOOL/$TESTFS1
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_vfs.c | 119 mac_mount_init(struct mount *mp) in mac_mount_init() 175 mac_mount_destroy(struct mount *mp) in mac_mount_destroy() 248 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) in mac_vnode_associate_extattr() 261 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) in mac_vnode_associate_singlelabel() 278 mac_vnode_create_extattr(struct ucred *cred, struct mount *mp, in mac_vnode_create_extattr() 956 mac_mount_create(struct ucred *cred, struct mount *mp) in mac_mount_create() 966 mac_mount_check_stat(struct ucred *cred, struct mount *mount) in mac_mount_check_stat() argument 970 MAC_POLICY_CHECK_NOSLEEP(mount_check_stat, cred, mount, mount->mnt_label); in mac_mount_check_stat() 971 MAC_CHECK_PROBE2(mount_check_stat, error, cred, mount); in mac_mount_check_stat() 977 mac_devfs_create_device(struct ucred *cred, struct mount *mp, in mac_devfs_create_device() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/ |
| H A D | zfs_clone_encrypted.ksh | 79 log_must zfs mount $TESTPOOL/$TESTFS1 80 log_must zfs mount $TESTPOOL/$TESTFS1/child 81 log_must zfs mount $TESTPOOL/$TESTFS2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rootpool/ |
| H A D | rootpool_002_neg.ksh | 57 mount -p | awk '{if ($4 == "zfs") print $1}' > $tmpfile 63 mounted $ds || log_must zfs mount $ds
|