Home
last modified time | relevance | path

Searched refs:mnt_opts (Results 1 – 17 of 17) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dhasmntopt.c29 char *mnt_opts = "test_hasmntopt"; in hasmntopt_0100() local
32 ent.mnt_opts = mnt_opts; in hasmntopt_0100()
44 char *mnt_opts = "test_hasmntopt"; in hasmntopt_0200() local
47 ent.mnt_opts = mnt_opts; in hasmntopt_0200()
/third_party/ntfs-3g/libfuse-lite/
Dmount.c482 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()
[all …]
Dfusermount.c344 char *mnt_opts = NULL; in do_mount() local
404 res = get_mnt_opts(flags, optbuf, &mnt_opts); in do_mount()
454 *mnt_optsp = mnt_opts; in do_mount()
463 free(mnt_opts); in do_mount()
601 char *mnt_opts = NULL; in mount_fuse() local
621 &source, &mnt_opts); in mount_fuse()
644 res = add_mount(source, mnt, type, mnt_opts); in mount_fuse()
657 free(mnt_opts); in mount_fuse()
/third_party/libfuse/lib/
Dmount.c449 const char *mnt_opts) in fuse_mount_sys() argument
550 mnt_opts); in fuse_mount_sys()
622 char *mnt_opts = NULL; in fuse_kern_mount() local
625 if (get_mnt_flag_opts(&mnt_opts, mo->flags) == -1) in fuse_kern_mount()
627 if (mo->kernel_opts && fuse_opt_add_opt(&mnt_opts, mo->kernel_opts) == -1) in fuse_kern_mount()
629 if (mo->mtab_opts && fuse_opt_add_opt(&mnt_opts, mo->mtab_opts) == -1) in fuse_kern_mount()
632 res = fuse_mount_sys(mountpoint, mo, mnt_opts); in fuse_kern_mount()
641 fuse_opt_add_opt(&mnt_opts, mo->fusermount_opts) == -1) in fuse_kern_mount()
648 if (fuse_opt_add_opt(&tmp_opts, mnt_opts) == -1 || in fuse_kern_mount()
658 mnt_opts, 0); in fuse_kern_mount()
[all …]
/third_party/musl/src/misc/
Dmntent.c55 mnt->mnt_opts = linebuf+n[6]; in getmntent_r()
70 mnt->mnt_fsname, mnt->mnt_dir, mnt->mnt_type, mnt->mnt_opts, in addmntent()
76 return strstr(mnt->mnt_opts, opt); in hasmntopt()
/third_party/libfuse/util/
Dfusermount.c92 unescape(entp->mnt_opts); in GETMNTENT()
213 char *p = strstr(entp->mnt_opts, "user="); in may_unmount()
215 (p == entp->mnt_opts || *(p-1) == ',') && in may_unmount()
223 strstr(entp->mnt_opts, "user_id=")) && in may_unmount()
224 (p == entp->mnt_opts || in may_unmount()
776 char *mnt_opts = NULL; in do_mount() local
869 res = get_mnt_opts(flags, optbuf, &mnt_opts); in do_mount()
926 *mnt_optsp = mnt_opts; in do_mount()
937 free(mnt_opts); in do_mount()
1134 char *mnt_opts = NULL; in mount_fuse() local
[all …]
/third_party/musl/ndk_musl_include/
Dmntent.h27 char *mnt_opts; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dmntent.h26 char *mnt_opts; member
/third_party/musl/porting/liteos_m/kernel/include/
Dmntent.h27 char *mnt_opts; member
/third_party/musl/porting/uniproton/kernel/include/
Dmntent.h27 char *mnt_opts; member
/third_party/musl/include/
Dmntent.h27 char *mnt_opts; member
/third_party/toybox/toys/pending/
Dfsck.c100 temp->opts = xstrdup(f_info->mnt_opts); in create_db()
404 mt.mnt_opts = ""; in fsck_main()
/third_party/ltp/lib/
Dtst_cgroup.c358 char *const mnt_opts) in cgroup_root_scan() argument
391 for (tok = strtok(mnt_opts, ","); tok; tok = strtok(NULL, ",")) { in cgroup_root_scan()
461 cgroup_root_scan(mnt->mnt_type, mnt->mnt_dir, mnt->mnt_opts); in tst_cgroup_scan()
/third_party/toybox/lib/
Dportability.c164 strlen(me->mnt_dir) + strlen(me->mnt_type) + strlen(me->mnt_opts) + 4); in xgetmountlist()
178 strcpy(mt->opts, me->mnt_opts); in xgetmountlist()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs454 pub mnt_opts: *mut ::c_char,
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi22875 <!-- char* __sanitizer::__sanitizer_mntent::mnt_opts -->
22876 …<var-decl name='mnt_opts' type-id='type-id-28' visibility='default' filepath='../../.././libsaniti…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi12932 …<var-decl name='mnt_opts' type-id='type-id-28' visibility='default' filepath='../../.././libsaniti…