| /freebsd-14-stable/sbin/mount_udf/ |
| HD | mount_udf.c | 80 int ch, iovlen, mntflags, udf_flags, verbose; in main() local 82 iovlen = mntflags = udf_flags = verbose = 0; in main() 88 getmntopts(optarg, mopts, &mntflags, NULL); in main() 122 mntflags |= MNT_RDONLY; in main() 132 if (nmount(iov, iovlen, mntflags) < 0) in main()
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
| HD | libzfs_mount_os.c | 147 parse_option(char *mntopt, unsigned long *mntflags, in parse_option() argument 169 *mntflags |= opt->mntmask; in parse_option() 190 zfs_parse_mount_options(const char *mntopts, unsigned long *mntflags, in zfs_parse_mount_options() argument 200 *mntflags = 0; in zfs_parse_mount_options() 225 error = parse_option(opt, mntflags, zfsflags, sloppy); in zfs_parse_mount_options() 232 if (!(*mntflags & MS_REMOUNT) && in zfs_parse_mount_options() 337 unsigned long mntflags = flags, zfsflags = 0; in do_mount() local 340 if (zfs_parse_mount_options(opts, &mntflags, in do_mount() 346 if (mount(src, mntpt, MNTTYPE_ZFS, mntflags, myopts)) { in do_mount()
|
| /freebsd-14-stable/lib/libbe/ |
| HD | be_access.c | 47 int mntflags; member 122 if ((err = zfs_mount_at(zfs_hdl, NULL, info->mntflags, tmp)) != 0) { in be_mount_iter() 175 if (zfs_unmount(zfs_hdl, NULL, info->mntflags) != 0) { in be_umount_iter() 245 int mntflags, mntdeep; in be_mount() local 260 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount() 285 info.mntflags = mntflags; in be_mount() 322 info.mntflags = (flags & BE_MNT_FORCE) ? MS_FORCE : 0; in be_unmount()
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/union/ |
| HD | t_pr.c | 44 unionargs.mntflags = UNMNT_BELOW; in ATF_TC_BODY() 51 unionargs.mntflags = UNMNT_BELOW; in ATF_TC_BODY() 74 unionargs.mntflags = UNMNT_BELOW; in ATF_TC_BODY() 108 unionargs.mntflags = UNMNT_BELOW; in ATF_TC_BODY()
|
| /freebsd-14-stable/sys/contrib/openzfs/cmd/ |
| HD | mount_zfs.c | 159 unsigned long mntflags = 0, zfsflags = 0, remount = 0; in main() local 226 error = zfs_parse_mount_options(mntopts, &mntflags, &zfsflags, sloppy, in main() 250 if (mntflags & MS_REMOUNT) { in main() 337 dataset, mntpoint, mntflags, zfsflags, mntopts, mtabopt); in main() 342 error = zfs_mount_at(zhp, mntopts, mntflags, mntpoint); in main() 352 mntflags, mntopts); in main() 384 if (mntflags & MS_MANDLOCK) { in main()
|
| /freebsd-14-stable/sbin/mount/ |
| HD | mount_fs.c | 79 int mntflags = 0; in mount_fs() local 97 getmntopts(optarg, mopts, &mntflags, 0); in mount_fs() 131 if (nmount(iov, iovlen, mntflags) == -1) { in mount_fs()
|
| /freebsd-14-stable/sbin/mount_cd9660/ |
| HD | mount_cd9660.c | 92 int ch, mntflags; in main() local 100 mntflags = verbose = 0; in main() 127 getmntopts(optarg, mopts, &mntflags, NULL); in main() 193 mntflags |= MNT_RDONLY; in main() 199 if (nmount(iov, iovlen, mntflags) < 0) in main()
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
| HD | dtfs.c | 108 int pflags, detach, mntflags; in main() local 117 mntflags = 0; in main() 150 mp = getmntopts(optarg, puffsmopts, &mntflags, &pflags); in main() 249 if (puffs_mount(pu, argv[1], mntflags, puffs_getroot(pu)) == -1) in main()
|
| /freebsd-14-stable/contrib/smbfs/mount_smbfs/ |
| HD | mount_smbfs.c | 85 int opt, error, mntflags, caseopt, fd; in main() local 127 mntflags = error = 0; in main() 196 getmntopts(optarg, mopts, &mntflags, 0); in main() 289 error = nmount(iov, iovlen, mntflags); in main()
|
| /freebsd-14-stable/sbin/mount_fusefs/ |
| HD | mount_fusefs.c | 122 int mntflags, iovlen, verbose = 0; in main() local 158 mntflags = 0; in main() 198 getmntopts(optarg, mopts, &mntflags, &altflags); in main() 431 if (nmount(iov, iovlen, mntflags) < 0) in main()
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/common/ |
| HD | fstest_puffs.c | 254 int mntflags; in donewfs() local 302 if (xread(sv[1], &mntflags, sizeof(mntflags)) != sizeof(mntflags)) in donewfs()
|
| HD | fstest_nfs.c | 189 int mntflags; in domount() local 203 &args, &mntflags, canon_dev, canon_dir); in domount()
|
| /freebsd-14-stable/sbin/bectl/ |
| HD | bectl_jail.c | 240 int i, jid, mntflags, opt, ret; in bectl_cmd_jail() local 246 mntflags = BE_MNT_DEEP; in bectl_cmd_jail() 317 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) { in bectl_cmd_jail()
|
| HD | bectl.c | 424 int err, mntflags; in bectl_cmd_mount() local 427 mntflags = BE_MNT_DEEP; in bectl_cmd_mount() 441 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
|
| /freebsd-14-stable/sys/fs/fdescfs/ |
| HD | fdesc_vfsops.c | 135 fdesc_unmount(struct mount *mp, int mntflags) in fdesc_unmount() argument 142 if (mntflags & MNT_FORCE) { in fdesc_unmount()
|
| /freebsd-14-stable/sys/fs/autofs/ |
| HD | autofs_vfsops.c | 113 autofs_unmount(struct mount *mp, int mntflags) in autofs_unmount() argument 124 if (mntflags & MNT_FORCE) in autofs_unmount()
|
| /freebsd-14-stable/sys/fs/devfs/ |
| HD | devfs_vfsops.c | 173 devfs_unmount(struct mount *mp, int mntflags) in devfs_unmount() argument 184 if (mntflags & MNT_FORCE) in devfs_unmount()
|
| /freebsd-14-stable/sys/fs/smbfs/ |
| HD | smbfs_vfsops.c | 258 smbfs_unmount(struct mount *mp, int mntflags) in smbfs_unmount() argument 266 SMBVDEBUG("smbfs_unmount: flags=%04x\n", mntflags); in smbfs_unmount() 269 if (mntflags & MNT_FORCE) in smbfs_unmount()
|
| /freebsd-14-stable/sys/fs/nullfs/ |
| HD | null_vfsops.c | 255 nullfs_unmount(struct mount *mp, int mntflags) in nullfs_unmount() argument 262 if (mntflags & MNT_FORCE) in nullfs_unmount() 278 if ((mntflags & MNT_FORCE) == 0) in nullfs_unmount()
|
| /freebsd-14-stable/sbin/dump/ |
| HD | main.c | 125 int ch, mode, mntflags; in main() local 363 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) { in main() 364 if (mntflags & MNT_RDONLY) { in main()
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/nfs/nfsservice/ |
| HD | rumpnfsd.c | 120 &args, &mntflags, canon_dev, canon_dir); in main()
|
| /freebsd-14-stable/sys/fs/tmpfs/ |
| HD | tmpfs_vfsops.c | 496 tmpfs_unmount(struct mount *mp, int mntflags) in tmpfs_unmount() argument 502 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount() 526 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
|
| /freebsd-14-stable/sys/fs/pseudofs/ |
| HD | pseudofs.c | 405 pfs_unmount(struct mount *mp, int mntflags) in pfs_unmount() argument 409 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/vfs/ |
| HD | t_union.c | 79 unionargs.mntflags = UNMNT_BELOW; in mountunion()
|
| /freebsd-14-stable/sys/kern/ |
| HD | vfs_init.c | 182 vfs_unmount_sigdefer(struct mount *mp, int mntflags) in vfs_unmount_sigdefer() argument 187 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_unmount)(mp, mntflags); in vfs_unmount_sigdefer()
|