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

12

/freebsd-10-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-10-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-10-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-10-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-10-stable/sys/fs/fdescfs/
H A Dfdesc_vfsops.c122 fdesc_unmount(mp, mntflags)
124 int mntflags;
132 if (mntflags & MNT_FORCE) {
/freebsd-10-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-10-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-10-stable/sys/fs/autofs/
H A Dautofs_vfsops.c112 autofs_unmount(struct mount *mp, int mntflags) argument
123 if (mntflags & MNT_FORCE)
/freebsd-10-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-10-stable/sbin/mount_fusefs/
H A Dmount_fusefs.c114 int mntflags, iovlen, verbose = 0; local
150 mntflags = 0;
190 getmntopts(optarg, mopts, &mntflags, &altflags);
427 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-10-stable/sys/fs/nullfs/
H A Dnull_vfsops.c225 nullfs_unmount(mp, mntflags)
227 int mntflags;
235 if (mntflags & MNT_FORCE)
/freebsd-10-stable/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Drumpnfsd.c120 &args, &mntflags, canon_dev, canon_dir);
/freebsd-10-stable/sys/fs/devfs/
H A Ddevfs_vfsops.c174 devfs_unmount(struct mount *mp, int mntflags) argument
185 if (mntflags & MNT_FORCE)
/freebsd-10-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-10-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c271 tmpfs_unmount(struct mount *mp, int mntflags) argument
277 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0;
301 if ((mntflags & MNT_FORCE) == 0) {
/freebsd-10-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c79 unionargs.mntflags = UNMNT_BELOW;
/freebsd-10-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.h248 int pfs_unmount (struct mount *mp, int mntflags);
/freebsd-10-stable/sbin/dump/
H A Dmain.c104 int ch, mode, mntflags; local
343 if ((mntpt = getmntpt(disk, &mntflags)) != 0) {
344 if (mntflags & MNT_RDONLY) {
/freebsd-10-stable/sys/fs/unionfs/
H A Dunion_vfsops.c322 unionfs_unmount(struct mount *mp, int mntflags) argument
335 if (mntflags & MNT_FORCE)
/freebsd-10-stable/sys/fs/fuse/
H A Dfuse_vfsops.c376 fuse_vfsop_unmount(struct mount *mp, int mntflags) argument
388 if (mntflags & MNT_FORCE) {
/freebsd-10-stable/sys/fs/cd9660/
H A Dcd9660_vfsops.c502 cd9660_unmount(mp, mntflags)
504 int mntflags;
509 if (mntflags & MNT_FORCE)
/freebsd-10-stable/sys/fs/nfsclient/
H A Dnfs_clvfsops.c1545 nfs_unmount(struct mount *mp, int mntflags) argument
1554 if (mntflags & MNT_FORCE)
1564 if (mntflags & MNT_FORCE) {
1574 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30)
1576 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30);
1583 if ((mntflags & MNT_FORCE) == 0)
/freebsd-10-stable/sys/fs/udf/
H A Dudf_vfsops.c514 udf_unmount(struct mount *mp, int mntflags) argument
521 if (mntflags & MNT_FORCE)

Completed in 269 milliseconds

12