| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_extern.h | 48 struct mount; 77 int ffs_flushfiles(struct mount *, int, struct thread *); 88 int ffs_own_mount(const struct mount *mp); 92 int ffs_reload(struct mount *, struct thread *, int); 102 int ffs_snapshot(struct mount *mp, char *snapfile); 103 void ffs_snapshot_mount(struct mount *mp); 104 void ffs_snapshot_unmount(struct mount *mp); 107 void ffs_sync_snap(struct mount *, int); 115 void process_deferred_inactive(struct mount *mp); 147 int softdep_check_suspend(struct mount *, struct vnode *, [all …]
|
| H A D | ffs_suspend.c | 74 ffs_susp_suspended(struct mount *mp) in ffs_susp_suspended() 99 struct mount *mp; in ffs_susp_rdwr() 180 ffs_susp_suspend(struct mount *mp) in ffs_susp_suspend() 221 ffs_susp_unsuspend(struct mount *mp) in ffs_susp_unsuspend() 252 struct mount *mp; in ffs_susp_dtor() 257 mp = (struct mount *)data; in ffs_susp_dtor() 281 struct mount *mp; in ffs_susp_ioctl()
|
| /freebsd-12.1/sys/sys/ |
| H A D | mount.h | 189 struct mount { struct 412 MNT_SHARED_WRITES(struct mount *mp) in MNT_SHARED_WRITES() 419 MNT_EXTENDED_SHARED(struct mount *mp) in MNT_EXTENDED_SHARED() 699 struct mount *mp__; \ 913 void vfs_msync(struct mount *, int); 914 int vfs_busy(struct mount *, int); 921 void vfs_getnewfsid(struct mount *); 924 struct mount *vfs_busyfs(fsid_t *); 932 void vfs_ref(struct mount *); 933 void vfs_rel(struct mount *); [all …]
|
| H A D | vnode.h | 112 struct mount *v_mount; /* u ptr to vfs we are in */ 432 extern struct mount *rootdevmp; /* "/dev" mount */ 585 struct mount; 614 void cache_purgevfs(struct mount *mp, bool force); 623 int insmntque1(struct vnode *vp, struct mount *mp, 625 int insmntque(struct vnode *vp, struct mount *mp); 672 void vn_finished_write(struct mount *mp); 673 void vn_finished_secondary_write(struct mount *mp); 730 void vfs_write_resume(struct mount *mp, int flags); 731 int vfs_write_suspend(struct mount *mp, int flags); [all …]
|
| /freebsd-12.1/sys/ufs/ufs/ |
| H A D | quota.h | 221 struct mount; 232 int qsync(struct mount *); 234 int quotaoff(struct thread *, struct mount *, int); 235 int quotaon(struct thread *, struct mount *, int, void *); 236 int getquota32(struct thread *, struct mount *, u_long, int, void *); 237 int setquota32(struct thread *, struct mount *, u_long, int, void *); 238 int setuse32(struct thread *, struct mount *, u_long, int, void *); 239 int getquota(struct thread *, struct mount *, u_long, int, void *); 240 int setquota(struct thread *, struct mount *, u_long, int, void *); 241 int setuse(struct thread *, struct mount *, u_long, int, void *); [all …]
|
| H A D | README.acls | 30 To enable support for ACLs on a file system, the 'acls' mount flag 36 Or by using the mount-time flag: 38 mount -o acls /dev/md0a /mnt 46 printed by the kernel at mount-time. For reliability purposes, it 48 mount-time flag, as this will avoid re-mount isses with the root file 59 mount atomicity requirements, it is also recommended that: 64 required extended attributes with the filesystem mount operation. To 78 On the next mount of the root filesystem, the attributes will be
|
| H A D | extattr.h | 135 int ufs_extattr_start(struct mount *mp, struct thread *td); 136 int ufs_extattr_autostart(struct mount *mp, struct thread *td); 137 int ufs_extattr_stop(struct mount *mp, struct thread *td); 138 int ufs_extattrctl(struct mount *mp, int cmd, struct vnode *filename,
|
| /freebsd-12.1/sbin/bectl/tests/ |
| H A D | bectl_test.sh | 99 mount=${cwd}/mnt 101 bectl_create_setup ${zpool} ${disk} ${mount} 149 mount=${cwd}/mnt 150 root=${mount}/root 184 mount=${cwd}/mnt 212 mount=${cwd}/mnt 247 mount=${cwd}/mnt 248 root=${mount}/root 281 mount=${cwd}/mnt 307 mount=${cwd}/mnt [all …]
|
| /freebsd-12.1/tools/tools/mfi/ |
| H A D | runmegacli.sh | 17 devfsmount=`mount |grep $linuxdir/dev | awk '{print $3}'` 19 mount -t devfs devfs $linuxdir/dev 22 procfsmount=`mount |grep $linuxdir/proc | awk '{print $3}'` 24 mount -t linprocfs linprocfs $linuxdir/proc 27 sysfsmount=`mount |grep $linuxdir/sys | awk '{print $3}'` 29 mount -t linsysfs linsysfs $linuxdir/sys
|
| /freebsd-12.1/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 82 static int tmpfs_mount(struct mount *); 83 static int tmpfs_unmount(struct mount *, int); 88 static void tmpfs_susp_clean(struct mount *); 151 tmpfs_update_mtime(struct mount *mp, bool lazy) in tmpfs_update_mtime() 226 tmpfs_all_rw_maps(struct mount *mp, bool (*cb)(struct mount *mp, vm_map_t, in tmpfs_all_rw_maps() 313 tmpfs_check_rw_maps(struct mount *mp) in tmpfs_check_rw_maps() 323 tmpfs_rw_to_ro(struct mount *mp) in tmpfs_rw_to_ro() 364 tmpfs_mount(struct mount *mp) in tmpfs_mount() 521 tmpfs_unmount(struct mount *mp, int mntflags) in tmpfs_unmount() 682 tmpfs_sync(struct mount *mp, int waitfor) in tmpfs_sync() [all …]
|
| /freebsd-12.1/tools/regression/iscsi/ |
| H A D | iscsi-test.sh | 427 check mount $LUN0 $MNTDIR 432 check mount $LUN0 $MNTDIR 437 check mount $LUN0 $MNTDIR 441 check mount $LUN0 $MNTDIR 491 check mount $LUN0 $MNTDIR 500 check mount $LUN0 $MNTDIR 550 check mount $LUN0 $MNTDIR 558 check mount $LUN0 $MNTDIR 606 check mount $LUN0 $MNTDIR 675 check mount $LUN0 $MNTDIR [all …]
|
| /freebsd-12.1/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 75 nullfs_mount(struct mount *mp) in nullfs_mount() 233 struct mount *mp; in nullfs_unmount() 237 struct mount *ump; 283 struct mount *mp; in nullfs_root() 307 struct mount *mp; in nullfs_quotactl() 317 struct mount *mp; in nullfs_statfs() 354 struct mount *mp; in nullfs_sync() 365 struct mount *mp; in nullfs_vget() 383 struct mount *mp; in nullfs_fhtovp() 399 struct mount *mp; in nullfs_extattrctl() [all …]
|
| /freebsd-12.1/lib/libprocstat/ |
| H A D | zfs.c | 73 struct mount mount, *mountptr; in zfs_filestat() local 118 if (!kvm_read_all(kd, (unsigned long)mountptr, &mount, sizeof(mount))) { in zfs_filestat() 122 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; in zfs_filestat()
|
| H A D | common_kvm.c | 121 struct mount mount; in devfs_filestat() local 129 if (!kvm_read_all(kd, (unsigned long)getvnodemount(vp), &mount, in devfs_filestat() 130 sizeof(mount))) { in devfs_filestat() 135 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; in devfs_filestat() 212 struct mount *
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_010_neg.ksh | 64 log_must $ZFS mount $fs 73 log_must $ZFS mount $fs 76 log_mustnot $ZFS mount $fs 82 log_mustnot $ZFS mount $fs
|
| /freebsd-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | policy.h | 38 struct mount; 45 int secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp); 67 int secpolicy_fs_owner(struct mount *vfsp, cred_t *cr); 68 int secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp); 69 void secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp);
|
| /freebsd-12.1/contrib/amd/ |
| H A D | FREEBSD-Xlist | 46 *conf/mount/mount_aix.c 47 *conf/mount/mount_aix3.c 48 *conf/mount/mount_bsdi3.c 49 *conf/mount/mount_default.c 51 *conf/mount/mount_hpux.c 52 *conf/mount/mount_irix5.c 53 *conf/mount/mount_irix6.c 54 *conf/mount/mount_isc3.c 55 *conf/mount/mount_linux.c 56 *conf/mount/mount_mach3.c [all …]
|
| /freebsd-12.1/sys/fs/fuse/ |
| H A D | fuse_internal.h | 82 vfs_isrdonly(struct mount *mp) in vfs_isrdonly() 87 static inline struct mount * 205 fuse_internal_get_cached_vnode(struct mount*, ino_t, int, struct vnode**); 242 int fuse_internal_invalidate_entry(struct mount *mp, struct uio *uio); 243 int fuse_internal_invalidate_inode(struct mount *mp, struct uio *uio); 304 void fuse_internal_newentry_makerequest(struct mount *mp, uint64_t dnid, 314 void fuse_internal_forget_send(struct mount *mp, struct thread *td,
|
| H A D | fuse_ipc.h | 186 struct mount *mp; 243 fuse_get_mpdata(struct mount *mp) in fuse_get_mpdata() 249 fsess_isimpl(struct mount *mp, int opcode) in fsess_isimpl() 257 fsess_set_notimpl(struct mount *mp, int opcode) in fsess_set_notimpl() 265 fsess_opt_datacache(struct mount *mp) in fsess_opt_datacache() 273 fsess_opt_mmap(struct mount *mp) in fsess_opt_mmap() 279 fsess_opt_writeback(struct mount *mp) in fsess_opt_writeback() 410 struct mount *mp, uint64_t nid, struct thread *td, struct ucred *cred);
|
| /freebsd-12.1/sbin/mount/ |
| H A D | Makefile | 5 PROG= mount 6 SRCS= mount.c mount_fs.c getmntopts.c vfslist.c 7 MAN= mount.8
|
| /freebsd-12.1/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 75 unionfs_domount(struct mount *mp) in unionfs_domount() 323 unionfs_unmount(struct mount *mp, int mntflags) in unionfs_unmount() 357 unionfs_root(struct mount *mp, int flags, struct vnode **vpp) in unionfs_root() 378 unionfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg) in unionfs_quotactl() 391 unionfs_statfs(struct mount *mp, struct statfs *sbp) in unionfs_statfs() 448 unionfs_sync(struct mount *mp, int waitfor) in unionfs_sync() 455 unionfs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in unionfs_vget() 461 unionfs_fhtovp(struct mount *mp, struct fid *fidp, int flags, in unionfs_fhtovp() 468 unionfs_checkexp(struct mount *mp, struct sockaddr *nam, int *extflagsp, in unionfs_checkexp() 475 unionfs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, in unionfs_extattrctl()
|
| /freebsd-12.1/contrib/pjdfstest/travis/ |
| H A D | test.sh | 13 mount 18 mount -p 25 mount
|
| /freebsd-12.1/sys/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() 954 mac_mount_create(struct ucred *cred, struct mount *mp) in mac_mount_create() 964 mac_mount_check_stat(struct ucred *cred, struct mount *mount) in mac_mount_check_stat() argument 968 MAC_POLICY_CHECK_NOSLEEP(mount_check_stat, cred, mount, mount->mnt_label); in mac_mount_check_stat() 969 MAC_CHECK_PROBE2(mount_check_stat, error, cred, mount); in mac_mount_check_stat() 975 mac_devfs_create_device(struct ucred *cred, struct mount *mp, in mac_devfs_create_device() [all …]
|
| /freebsd-12.1/usr.sbin/bsdinstall/partedit/ |
| H A D | scripted.c | 70 char *partition, *ap, *size = NULL, *type = NULL, *mount = NULL; in part_config() local 126 else if (mount == NULL) in part_config() 127 mount = ap; in part_config() 133 gpart_create(provider_for_name(&mesh, disk), type, size, mount, in part_config() 137 size = type = mount = NULL; in part_config()
|
| /freebsd-12.1/sys/fs/pseudofs/ |
| H A D | pseudofs.h | 42 struct mount; 246 int pfs_mount (struct pfs_info *pi, struct mount *mp); 248 int pfs_unmount (struct mount *mp, int mntflags); 249 int pfs_root (struct mount *mp, int flags, 251 int pfs_statfs (struct mount *mp, struct statfs *sbp); 285 _##name##_mount(struct mount *mp) { \
|