/openbsd-current/sbin/mount_ffs/ |
H A D | mount_ffs.c | 65 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 D | mount_ext2fs.c | 58 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 D | mount_cd9660.c | 65 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 D | mount_ntfs.c | 67 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 D | mount_tmpfs.c | 76 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 D | mount_msdos.c | 67 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 D | newfs.c | 137 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 D | mount_nfs.c | 166 int mntflags, num; local 173 mntflags = 0; 237 &mntflags)) { 373 if (mount(MOUNT_NFS, name, mntflags, nfsargsp)) {
|
/openbsd-current/sys/tmpfs/ |
H A D | tmpfs_vfsops.c | 210 tmpfs_unmount(struct mount *mp, int mntflags, struct proc *p) argument 217 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/miscfs/fuse/ |
H A D | fuse_vfsops.c | 144 fusefs_unmount(struct mount *mp, int mntflags, struct proc *p) argument 153 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/ntfs/ |
H A D | ntfs_vfsops.c | 460 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 D | nfs_vfsops.c | 713 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 D | mount.h | 514 int (*vfs_unmount)(struct mount *mp, int mntflags,
|
/openbsd-current/sys/isofs/udf/ |
H A D | udf_vfsops.c | 451 udf_unmount(struct mount *mp, int mntflags, struct proc *p) argument 460 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 535 cd9660_unmount(struct mount *mp, int mntflags, struct proc *p) argument 540 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/msdosfs/ |
H A D | msdosfs_vfsops.c | 566 msdosfs_unmount(struct mount *mp, int mntflags,struct proc *p) argument 573 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 916 ffs_unmount(struct mount *mp, int mntflags, struct proc *p) argument 923 if (mntflags & MNT_FORCE)
|
/openbsd-current/sys/ufs/ext2fs/ |
H A D | ext2fs_vfsops.c | 588 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
|