Home
last modified time | relevance | path

Searched refs:mntflags (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/sbin/mount_udf/
H A Dmount_udf.c80 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/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_mount_os.c147 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/lib/libbe/
H A Dbe_access.c45 int mntflags; member
120 if ((err = zfs_mount_at(zfs_hdl, NULL, info->mntflags, tmp)) != 0) { in be_mount_iter()
169 if (zfs_unmount(zfs_hdl, NULL, info->mntflags) != 0) { in be_umount_iter()
239 int mntflags, mntdeep; in be_mount() local
254 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
269 info.mntflags = mntflags; in be_mount()
306 info.mntflags = (flags & BE_MNT_FORCE) ? MS_FORCE : 0; in be_unmount()
/freebsd/contrib/netbsd-tests/fs/union/
H A Dt_pr.c44 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/sys/contrib/openzfs/cmd/
H A Dmount_zfs.c159 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()
336 dataset, mntpoint, mntflags, zfsflags, mntopts, mtabopt); in main()
341 error = zfs_mount_at(zhp, mntopts, mntflags, mntpoint); in main()
351 mntflags, mntopts); in main()
383 if (mntflags & MS_MANDLOCK) { in main()
/freebsd/sbin/mount/
H A Dmount_fs.c67 int mntflags = 0; in mount_fs() local
85 getmntopts(optarg, mopts, &mntflags, 0); in mount_fs()
119 if (nmount(iov, iovlen, mntflags) == -1) { in mount_fs()
/freebsd/sbin/mount_cd9660/
H A Dmount_cd9660.c78 int ch, mntflags; in main() local
86 mntflags = verbose = 0; in main()
113 getmntopts(optarg, mopts, &mntflags, NULL); in main()
179 mntflags |= MNT_RDONLY; in main()
185 if (nmount(iov, iovlen, mntflags) < 0) in main()
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs.c108 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/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c85 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/sbin/mount_fusefs/
H A Dmount_fusefs.c121 int mntflags, iovlen, verbose = 0; in main() local
157 mntflags = 0; in main()
197 getmntopts(optarg, mopts, &mntflags, &altflags); in main()
430 if (nmount(iov, iovlen, mntflags) < 0) in main()
/freebsd/contrib/netbsd-tests/fs/common/
H A Dfstest_puffs.c254 int mntflags; in donewfs() local
302 if (xread(sv[1], &mntflags, sizeof(mntflags)) != sizeof(mntflags)) in donewfs()
H A Dfstest_nfs.c189 int mntflags; in domount() local
203 &args, &mntflags, canon_dev, canon_dir); in domount()
/freebsd/sbin/bectl/
H A Dbectl_jail.c239 int i, jid, mntflags, opt, ret; in bectl_cmd_jail() local
245 mntflags = BE_MNT_DEEP; in bectl_cmd_jail()
316 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) { in bectl_cmd_jail()
H A Dbectl.c423 int err, mntflags; in bectl_cmd_mount() local
426 mntflags = BE_MNT_DEEP; in bectl_cmd_mount()
440 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
/freebsd/sys/fs/autofs/
H A Dautofs_vfsops.c113 autofs_unmount(struct mount *mp, int mntflags) in autofs_unmount() argument
124 if (mntflags & MNT_FORCE) in autofs_unmount()
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vfsops.c133 fdesc_unmount(struct mount *mp, int mntflags) in fdesc_unmount() argument
140 if (mntflags & MNT_FORCE) { in fdesc_unmount()
/freebsd/sys/fs/devfs/
H A Ddevfs_vfsops.c171 devfs_unmount(struct mount *mp, int mntflags) in devfs_unmount() argument
182 if (mntflags & MNT_FORCE) in devfs_unmount()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c258 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/sys/fs/nullfs/
H A Dnull_vfsops.c251 nullfs_unmount(struct mount *mp, int mntflags) in nullfs_unmount() argument
258 if (mntflags & MNT_FORCE) in nullfs_unmount()
274 if ((mntflags & MNT_FORCE) == 0) in nullfs_unmount()
/freebsd/sys/fs/p9fs/
H A Dp9fs_vfsops.c141 p9fs_unmount(struct mount *mp, int mntflags) in p9fs_unmount() argument
154 if (mntflags & MNT_FORCE) in p9fs_unmount()
163 if (error == 0 || (mntflags & MNT_FORCE) == 0) in p9fs_unmount()
/freebsd/sbin/dump/
H A Dmain.c113 int ch, mode, mntflags; in main() local
351 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) { in main()
352 if (mntflags & MNT_RDONLY) { in main()
/freebsd/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Drumpnfsd.c120 &args, &mntflags, canon_dev, canon_dir); in main()
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c495 tmpfs_unmount(struct mount *mp, int mntflags) in tmpfs_unmount() argument
501 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount()
525 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs.c405 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/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c79 unionargs.mntflags = UNMNT_BELOW; in mountunion()

12