Lines Matching defs:flags
41 #define umount2(mnt, flags) unmount(mnt, (flags == 2) ? MNT_FORCE : 0)
67 int flags;
169 static void set_mount_flag(const char *s, int *flags)
177 *flags |= mount_flags[i].flag;
179 *flags &= ~mount_flags[i].flag;
198 set_mount_flag(arg, &mo->flags);
508 res = mount(source, mnt, type, mo->flags, mo->kernel_opts);
519 res = mount(source, mnt, type, mo->flags, mo->kernel_opts);
570 static int get_mnt_flag_opts(char **mnt_optsp, int flags)
574 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1)
578 if (mount_flags[i].on && (flags & mount_flags[i].flag) &&
594 mo->flags = MS_NOSUID | MS_NODEV;
625 if (get_mnt_flag_opts(&mnt_opts, mo->flags) == -1)