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

12

/freebsd-9.3-release/sbin/mount_reiserfs/
H A Dmount_reiserfs.c53 int ch, mntflags, iovlen; local
57 mntflags = 0;
61 getmntopts(optarg, mopts, &mntflags, 0);
85 mntflags |= MNT_RDONLY;
95 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-9.3-release/sbin/mount_std/
H A Dmount_std.c77 int ch, mntflags; local
98 mntflags = 0;
102 getmntopts(optarg, mopts, &mntflags, 0);
136 error = nmount(iov, 4, mntflags);
145 error = mount(fsname, mntpath, mntflags, NULL);
/freebsd-9.3-release/sbin/mount/
H A Dmount_fs.c79 int mntflags = 0; local
97 getmntopts(optarg, mopts, &mntflags, 0);
128 if (nmount(iov, iovlen, mntflags) == -1) {
/freebsd-9.3-release/sbin/mount_nullfs/
H A Dmount_nullfs.c71 int ch, mntflags, iovlen; local
76 mntflags = 0;
112 if (nmount(iov, iovlen, mntflags) < 0) {
/freebsd-9.3-release/sbin/mount_cd9660/
H A Dmount_cd9660.c86 int ch, mntflags, opts; local
94 mntflags = opts = verbose = 0;
112 getmntopts(optarg, mopts, &mntflags, &opts);
174 mntflags |= MNT_RDONLY;
180 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-9.3-release/sbin/mount_udf/
H A Dmount_udf.c77 int ch, i, mntflags, opts, udf_flags; local
82 i = mntflags = opts = udf_flags = verbose = 0;
87 getmntopts(optarg, mopts, &mntflags, &opts);
120 mntflags |= MNT_RDONLY;
149 if (nmount(iov, i, mntflags) < 0)
/freebsd-9.3-release/sbin/mount_hpfs/
H A Dmount_hpfs.c67 int c, mntflags, set_gid, set_uid, set_mask; local
71 mntflags = set_gid = set_uid = set_mask = 0;
92 getmntopts(optarg, mopts, &mntflags, 0);
108 if (!(mntflags & MNT_RDONLY) && !forcerw) {
127 if (mntflags & MNT_RDONLY)
144 if (mount("hpfs", dir, mntflags, &args) < 0)
/freebsd-9.3-release/sbin/mount_ntfs/
H A Dmount_ntfs.c76 int c, mntflags, set_gid, set_uid, set_mask; local
79 mntflags = set_gid = set_uid = set_mask = 0;
109 getmntopts(optarg, mopts, &mntflags, 0);
159 mntflags |= MNT_RDONLY;
171 if (mntflags & MNT_RDONLY)
187 if (mount("ntfs", mntpath, mntflags, &args) < 0)
/freebsd-9.3-release/sbin/mount_unionfs/
H A Dmount_unionfs.c132 int ch, mntflags, iovlen; local
140 mntflags = 0;
191 if (nmount(iov, iovlen, mntflags))
/freebsd-9.3-release/sys/fs/fdescfs/
H A Dfdesc_vfsops.c120 fdesc_unmount(mp, mntflags)
122 int mntflags;
130 if (mntflags & MNT_FORCE) {
/freebsd-9.3-release/usr.sbin/mount_portalfs/
H A Dmount_portalfs.c100 int mntflags = 0; local
117 getmntopts(optarg, mopts, &mntflags, 0);
174 rc = mount("portalfs", mountpt, mntflags, &args);
/freebsd-9.3-release/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c85 int opt, error, mntflags, caseopt, dev; local
127 mntflags = error = 0;
196 getmntopts(optarg, mopts, &mntflags, 0);
282 error = nmount(iov, iovlen, mntflags);
/freebsd-9.3-release/usr.sbin/mount_nwfs/
H A Dmount_nwfs.c85 int opt, error, mntflags, nlsopt, wall_clock; local
105 mntflags = error = 0;
239 getmntopts(optarg, mopts, &mntflags, 0);
344 error = mount(NWFS_VFSNAME, mdata.mount_point, mntflags, (void*)&mdata);
/freebsd-9.3-release/sbin/mount_msdosfs/
H A Dmount_msdosfs.c72 int c, mntflags, set_gid, set_uid, set_mask, set_dirmask; local
83 mntflags = set_gid = set_uid = set_mask = set_dirmask = 0;
221 if (nmount(iov, iovlen, mntflags) < 0) {
/freebsd-9.3-release/sys/fs/portalfs/
H A Dportal_vfsops.c176 portal_unmount(mp, mntflags)
178 int mntflags;
183 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sys/fs/nullfs/
H A Dnull_vfsops.c222 nullfs_unmount(mp, mntflags)
224 int mntflags;
232 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sbin/mount_nfs/
H A Dmount_nfs.c133 static int fallback_mount(struct iovec *iov, int iovlen, int mntflags);
152 int mntflags, num, iovlen; local
158 mntflags = 0;
429 if (nmount(iov, iovlen, mntflags))
432 if (fallback_mount(iov, iovlen, mntflags))
475 fallback_mount(struct iovec *iov, int iovlen, int mntflags) argument
665 return nmount(newiov, newiovlen, mntflags);
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_vfsops.c240 nwfs_unmount(struct mount *mp, int mntflags) argument
247 NCPVODEBUG("nwfs_unmount: flags=%04x\n",mntflags);
250 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_vfsops.c277 smbfs_unmount(struct mount *mp, int mntflags) argument
284 SMBVDEBUG("smbfs_unmount: flags=%04x\n", mntflags);
287 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sys/fs/pseudofs/
H A Dpseudofs.c345 pfs_unmount(struct mount *mp, int mntflags) argument
349 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0,
/freebsd-9.3-release/sbin/dump/
H A Dmain.c104 int ch, mode, mntflags; local
343 if ((mntpt = getmntpt(disk, &mntflags)) != 0) {
344 if (mntflags & MNT_RDONLY) {
/freebsd-9.3-release/sys/fs/hpfs/
H A Dhpfs_vfsops.c335 int mntflags)
343 if(mntflags & MNT_FORCE)
333 hpfs_unmount( struct mount *mp, int mntflags) argument
/freebsd-9.3-release/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c315 tmpfs_unmount(struct mount *mp, int mntflags) argument
323 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sys/fs/unionfs/
H A Dunion_vfsops.c327 unionfs_unmount(struct mount *mp, int mntflags) argument
340 if (mntflags & MNT_FORCE)
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_mountops.c267 _xfs_unmount(mp, mntflags)
269 int mntflags;

Completed in 125 milliseconds

12