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

/openbsd-current/sbin/mount_ffs/
H A Dmount_ffs.c65 int ch, mntflags; local
68 mntflags = 0;
73 getmntopts(optarg, mopts, &mntflags);
90 if (mntflags & MNT_RDONLY)
95 if (mntflags & MNT_NOPERM)
96 mntflags |= MNT_NODEV | MNT_NOEXEC;
98 if (mount(MOUNT_FFS, fs_name, mntflags, &args) == -1) {
/openbsd-current/sbin/mount_ext2fs/
H A Dmount_ext2fs.c58 int ch, mntflags; local
61 mntflags = 0;
66 getmntopts(optarg, mopts, &mntflags);
83 if (mntflags & MNT_RDONLY)
88 if (mount(MOUNT_EXT2FS, fs_name, mntflags, &args) == -1) {
/openbsd-current/sbin/mount_cd9660/
H A Dmount_cd9660.c65 int ch, mntflags, opts, sess = 0; local
69 mntflags = opts = 0;
82 getmntopts(optarg, mopts, &mntflags);
111 mntflags |= MNT_RDONLY;
112 if (mntflags & MNT_RDONLY)
119 if (mount(MOUNT_CD9660, dir, mntflags, &args) == -1) {
/openbsd-current/sbin/mount_ntfs/
H A Dmount_ntfs.c67 int c, mntflags, set_gid, set_uid, set_mask; local
70 mntflags = set_gid = set_uid = set_mask = 0;
94 getmntopts(optarg, mopts, &mntflags);
112 mntflags |= MNT_RDONLY;
113 if (mntflags & MNT_RDONLY)
128 if (mount(MOUNT_NTFS, dir, mntflags, &args) == -1)
/openbsd-current/sbin/mount_tmpfs/
H A Dmount_tmpfs.c76 struct tmpfs_args *args, int *mntflags,
92 *mntflags = 0;
120 getmntopts(optarg, mopts, mntflags);
175 int mntflags; local
177 mount_tmpfs_parseargs(argc, argv, &args, &mntflags,
180 if (mount(MOUNT_TMPFS, canon_dir, mntflags, &args) == -1)
75 mount_tmpfs_parseargs(int argc, char *argv[], struct tmpfs_args *args, int *mntflags, char *canon_dev, char *canon_dir) argument
/openbsd-current/sbin/mount_msdos/
H A Dmount_msdos.c67 int c, mntflags, set_gid, set_uid, set_mask; local
71 mntflags = set_gid = set_uid = set_mask = 0;
98 getmntopts(optarg, mopts, &mntflags);
115 if (mntflags & MNT_RDONLY)
131 if (mount(MOUNT_MSDOS, dir, mntflags, &args) == -1) {
/openbsd-current/sbin/newfs/
H A Dnewfs.c137 int mntflags = MNT_ASYNC; /* flags to be passed to mount */ variable
277 getmntopts(optarg, mopts, &mntflags);
531 if (mntflags & MNT_RDONLY)
533 if (mntflags & MNT_NOPERM)
534 mntflags |= MNT_NODEV | MNT_NOEXEC;
563 int tmpflags = mntflags & ~MNT_RDONLY;
567 if (mount(MOUNT_MFS, node, mntflags, &args) == -1)
/openbsd-current/sbin/mount_nfs/
H A Dmount_nfs.c166 int mntflags, num; local
173 mntflags = 0;
237 &mntflags)) {
373 if (mount(MOUNT_NFS, name, mntflags, nfsargsp)) {
/openbsd-current/sys/tmpfs/
H A Dtmpfs_vfsops.c210 tmpfs_unmount(struct mount *mp, int mntflags, struct proc *p) argument
217 if (mntflags & MNT_FORCE)
/openbsd-current/sys/miscfs/fuse/
H A Dfuse_vfsops.c144 fusefs_unmount(struct mount *mp, int mntflags, struct proc *p) argument
153 if (mntflags & MNT_FORCE)
/openbsd-current/sys/ntfs/
H A Dntfs_vfsops.c460 ntfs_unmount(struct mount *mp, int mntflags, struct proc *p) argument
469 if(mntflags & MNT_FORCE)
481 if(((mntflags & MNT_FORCE) == 0) && (ntmp->ntm_sysvn[i] &&
/openbsd-current/sys/nfs/
H A Dnfs_vfsops.c713 nfs_unmount(struct mount *mp, int mntflags, struct proc *p) argument
724 if ((mntflags & MNT_FORCE) == 0 && vp->v_usecount > 2) {
729 if (mntflags & MNT_FORCE)
/openbsd-current/sys/sys/
H A Dmount.h514 int (*vfs_unmount)(struct mount *mp, int mntflags,
/openbsd-current/sys/isofs/udf/
H A Dudf_vfsops.c451 udf_unmount(struct mount *mp, int mntflags, struct proc *p) argument
460 if (mntflags & MNT_FORCE)
/openbsd-current/sys/isofs/cd9660/
H A Dcd9660_vfsops.c535 cd9660_unmount(struct mount *mp, int mntflags, struct proc *p) argument
540 if (mntflags & MNT_FORCE)
/openbsd-current/sys/msdosfs/
H A Dmsdosfs_vfsops.c566 msdosfs_unmount(struct mount *mp, int mntflags,struct proc *p) argument
573 if (mntflags & MNT_FORCE)
/openbsd-current/sys/ufs/ffs/
H A Dffs_vfsops.c916 ffs_unmount(struct mount *mp, int mntflags, struct proc *p) argument
923 if (mntflags & MNT_FORCE)
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_vfsops.c588 ext2fs_unmount(struct mount *mp, int mntflags, struct proc *p)
596 if (mntflags & MNT_FORCE)
591 ext2fs_unmount(struct mount *mp, int mntflags, struct proc *p) argument

Completed in 231 milliseconds