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

12

/freebsd-11-stable/sbin/mount_udf/
H A Dmount_udf.c80 int ch, iovlen, mntflags, udf_flags, verbose; local
82 iovlen = mntflags = udf_flags = verbose = 0;
88 getmntopts(optarg, mopts, &mntflags, NULL);
122 mntflags |= MNT_RDONLY;
132 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-11-stable/sbin/mount/
H A Dmount_fs.c79 int mntflags = 0; local
97 getmntopts(optarg, mopts, &mntflags, 0);
131 if (nmount(iov, iovlen, mntflags) == -1) {
/freebsd-11-stable/contrib/netbsd-tests/fs/union/
H A Dt_pr.c44 unionargs.mntflags = UNMNT_BELOW;
51 unionargs.mntflags = UNMNT_BELOW;
74 unionargs.mntflags = UNMNT_BELOW;
108 unionargs.mntflags = UNMNT_BELOW;
/freebsd-11-stable/lib/libbe/
H A Dbe_access.c47 int mntflags; member in struct:be_mount_info
122 if ((err = zfs_mount_at(zfs_hdl, NULL, info->mntflags, tmp)) != 0) {
171 if (zfs_unmount(zfs_hdl, NULL, info->mntflags) != 0) {
240 int mntflags, mntdeep; local
255 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0;
270 info.mntflags = mntflags;
307 info.mntflags = (flags & BE_MNT_FORCE) ? MS_FORCE : 0;
/freebsd-11-stable/sbin/mount_cd9660/
H A Dmount_cd9660.c86 int ch, mntflags; local
94 mntflags = verbose = 0;
112 getmntopts(optarg, mopts, &mntflags, NULL);
175 mntflags |= MNT_RDONLY;
181 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-11-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs.c108 int pflags, detach, mntflags; local
117 mntflags = 0;
150 mp = getmntopts(optarg, puffsmopts, &mntflags, &pflags);
249 if (puffs_mount(pu, argv[1], mntflags, puffs_getroot(pu)) == -1)
/freebsd-11-stable/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c85 int opt, error, mntflags, caseopt, fd; local
127 mntflags = error = 0;
196 getmntopts(optarg, mopts, &mntflags, 0);
289 error = nmount(iov, iovlen, mntflags);
/freebsd-11-stable/sys/fs/autofs/
H A Dautofs_vfsops.c116 autofs_unmount(struct mount *mp, int mntflags) argument
127 if (mntflags & MNT_FORCE)
/freebsd-11-stable/sys/fs/fdescfs/
H A Dfdesc_vfsops.c125 fdesc_unmount(struct mount *mp, int mntflags) argument
132 if (mntflags & MNT_FORCE) {
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_puffs.c254 int mntflags; local
302 if (xread(sv[1], &mntflags, sizeof(mntflags)) != sizeof(mntflags))
303 err(1, "mntflags");
H A Dfstest_nfs.c189 int mntflags; local
203 &args, &mntflags, canon_dev, canon_dir);
/freebsd-11-stable/sbin/mount_fusefs/
H A Dmount_fusefs.c116 int mntflags, iovlen, verbose = 0; local
152 mntflags = 0;
192 getmntopts(optarg, mopts, &mntflags, &altflags);
429 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-11-stable/sbin/bectl/
H A Dbectl_jail.c241 int i, jid, mntflags, opt, ret; local
247 mntflags = BE_MNT_DEEP;
318 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) {
H A Dbectl.c405 int err, mntflags; local
408 mntflags = BE_MNT_DEEP;
422 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc);
/freebsd-11-stable/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Drumpnfsd.c120 &args, &mntflags, canon_dev, canon_dir);
/freebsd-11-stable/sys/fs/nullfs/
H A Dnull_vfsops.c221 nullfs_unmount(mp, mntflags)
223 int mntflags;
231 if (mntflags & MNT_FORCE)
247 if ((mntflags & MNT_FORCE) == 0)
/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs_vfsops.c174 devfs_unmount(struct mount *mp, int mntflags) argument
185 if (mntflags & MNT_FORCE)
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_vfsops.c259 smbfs_unmount(struct mount *mp, int mntflags) argument
267 SMBVDEBUG("smbfs_unmount: flags=%04x\n", mntflags);
270 if (mntflags & MNT_FORCE)
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c79 unionargs.mntflags = UNMNT_BELOW;
/freebsd-11-stable/sys/fs/pseudofs/
H A Dpseudofs.c346 pfs_unmount(struct mount *mp, int mntflags) argument
350 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0,
H A Dpseudofs.h245 int pfs_unmount (struct mount *mp, int mntflags);
/freebsd-11-stable/sbin/dump/
H A Dmain.c104 int ch, mode, mntflags; local
343 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) {
344 if (mntflags & MNT_RDONLY) {
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c519 tmpfs_unmount(struct mount *mp, int mntflags) argument
525 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0;
549 if ((mntflags & MNT_FORCE) == 0) {
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vfsops.c321 unionfs_unmount(struct mount *mp, int mntflags) argument
334 if (mntflags & MNT_FORCE)
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_vfsops.c376 fuse_vfsop_unmount(struct mount *mp, int mntflags) argument
388 if (mntflags & MNT_FORCE) {

Completed in 153 milliseconds

12