Lines Matching refs:mnt_opts
482 const char *mnt_opts) in fuse_mount_sys() argument
614 char *mnt_opts = NULL; in fuse_kern_mount() local
677 if (get_mnt_flag_opts(&mnt_opts, mo.flags) == -1) in fuse_kern_mount()
680 if (!(mo.flags & MS_NODEV) && fuse_opt_add_opt(&mnt_opts, "dev") == -1) in fuse_kern_mount()
682 if (!(mo.flags & MS_NOSUID) && fuse_opt_add_opt(&mnt_opts, "suid") == -1) in fuse_kern_mount()
684 if (mo.kernel_opts && fuse_opt_add_opt(&mnt_opts, mo.kernel_opts) == -1) in fuse_kern_mount()
686 if (mo.mtab_opts && fuse_opt_add_opt(&mnt_opts, mo.mtab_opts) == -1) in fuse_kern_mount()
688 if (mo.fusermount_opts && fuse_opt_add_opt(&mnt_opts, mo.fusermount_opts) < 0) in fuse_kern_mount()
690 res = fusermount(0, 0, 0, mnt_opts ? mnt_opts : "", mountpoint); in fuse_kern_mount()
692 if (mo.kernel_opts && fuse_opt_add_opt(&mnt_opts, mo.kernel_opts) == -1) in fuse_kern_mount()
694 if (mo.mtab_opts && fuse_opt_add_opt(&mnt_opts, mo.mtab_opts) == -1) in fuse_kern_mount()
696 res = fuse_mount_sys(mountpoint, &mo, mnt_opts); in fuse_kern_mount()
699 fuse_opt_add_opt(&mnt_opts, mo.fusermount_opts) == -1) in fuse_kern_mount()
706 if (fuse_opt_add_opt(&tmp_opts, mnt_opts) == -1 || in fuse_kern_mount()
715 res = fuse_mount_fusermount(mountpoint, mnt_opts, 0); in fuse_kern_mount()
717 res = fuse_mount_fusermount(mountpoint, mnt_opts, 0); in fuse_kern_mount()
723 free(mnt_opts); in fuse_kern_mount()