Home
last modified time | relevance | path

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

12

/freebsd-12.1/sbin/mount_udf/
H A Dmount_udf.c82 int ch, iovlen, mntflags, udf_flags, verbose; in main() local
84 iovlen = mntflags = udf_flags = verbose = 0; in main()
90 getmntopts(optarg, mopts, &mntflags, NULL); in main()
124 mntflags |= MNT_RDONLY; in main()
134 if (nmount(iov, iovlen, mntflags) < 0) in main()
/freebsd-12.1/lib/libbe/
H A Dbe_access.c46 int mntflags; member
123 if ((err = zmount(zfs_get_name(zfs_hdl), tmp, info->mntflags, in be_mount_iter()
173 if (zfs_unmount(zfs_hdl, NULL, info->mntflags) != 0) { in be_umount_iter()
242 int mntflags, mntdeep; in be_mount() local
257 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
272 info.mntflags = mntflags; in be_mount()
309 info.mntflags = (flags & BE_MNT_FORCE) ? MS_FORCE : 0; in be_unmount()
/freebsd-12.1/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-12.1/sbin/mount_cd9660/
H A Dmount_cd9660.c88 int ch, mntflags; in main() local
96 mntflags = verbose = 0; in main()
114 getmntopts(optarg, mopts, &mntflags, NULL); in main()
177 mntflags |= MNT_RDONLY; in main()
183 if (nmount(iov, iovlen, mntflags) < 0) in main()
/freebsd-12.1/sbin/mount/
H A Dmount_fs.c81 int mntflags = 0; in mount_fs() local
99 getmntopts(optarg, mopts, &mntflags, 0); in mount_fs()
133 if (nmount(iov, iovlen, mntflags) == -1) { in mount_fs()
/freebsd-12.1/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-12.1/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-12.1/sbin/mount_fusefs/
H A Dmount_fusefs.c122 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-12.1/sys/fs/nullfs/
H A Dnull_vfsops.c232 nullfs_unmount(mp, mntflags) in nullfs_unmount() argument
234 int mntflags;
242 if (mntflags & MNT_FORCE)
258 if ((mntflags & MNT_FORCE) == 0)
/freebsd-12.1/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-12.1/sbin/bectl/
H A Dbectl_jail.c241 int i, jid, mntflags, opt, ret; in bectl_cmd_jail() local
247 mntflags = BE_MNT_DEEP; in bectl_cmd_jail()
318 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) { in bectl_cmd_jail()
H A Dbectl.c404 int err, mntflags; in bectl_cmd_mount() local
407 mntflags = BE_MNT_DEEP; in bectl_cmd_mount()
421 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
/freebsd-12.1/sys/fs/fdescfs/
H A Dfdesc_vfsops.c123 fdesc_unmount(struct mount *mp, int mntflags) in fdesc_unmount() argument
130 if (mntflags & MNT_FORCE) { in fdesc_unmount()
/freebsd-12.1/sys/fs/autofs/
H A Dautofs_vfsops.c116 autofs_unmount(struct mount *mp, int mntflags) in autofs_unmount() argument
127 if (mntflags & MNT_FORCE) in autofs_unmount()
/freebsd-12.1/sys/fs/devfs/
H A Ddevfs_vfsops.c173 devfs_unmount(struct mount *mp, int mntflags) in devfs_unmount() argument
184 if (mntflags & MNT_FORCE) in devfs_unmount()
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_vfsops.c261 smbfs_unmount(struct mount *mp, int mntflags) in smbfs_unmount() argument
269 SMBVDEBUG("smbfs_unmount: flags=%04x\n", mntflags); in smbfs_unmount()
272 if (mntflags & MNT_FORCE) in smbfs_unmount()
/freebsd-12.1/sbin/dump/
H A Dmain.c102 int ch, mode, mntflags; in main() local
341 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) { in main()
342 if (mntflags & MNT_RDONLY) { in main()
/freebsd-12.1/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c521 tmpfs_unmount(struct mount *mp, int mntflags) in tmpfs_unmount() argument
527 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount()
551 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
/freebsd-12.1/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Drumpnfsd.c120 &args, &mntflags, canon_dev, canon_dir); in main()
/freebsd-12.1/sys/fs/pseudofs/
H A Dpseudofs.c383 pfs_unmount(struct mount *mp, int mntflags) in pfs_unmount() argument
387 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
/freebsd-12.1/sys/fs/unionfs/
H A Dunion_vfsops.c323 unionfs_unmount(struct mount *mp, int mntflags) in unionfs_unmount() argument
336 if (mntflags & MNT_FORCE) in unionfs_unmount()
/freebsd-12.1/sys/fs/cd9660/
H A Dcd9660_vfsops.c506 cd9660_unmount(mp, mntflags) in cd9660_unmount() argument
508 int mntflags;
513 if (mntflags & MNT_FORCE)
/freebsd-12.1/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c79 unionargs.mntflags = UNMNT_BELOW; in mountunion()
/freebsd-12.1/sys/fs/fuse/
H A Dfuse_vfsops.c463 fuse_vfsop_unmount(struct mount *mp, int mntflags) in fuse_vfsop_unmount() argument
473 if (mntflags & MNT_FORCE) { in fuse_vfsop_unmount()

12