Searched refs:mnt_optsp (Results 1 - 4 of 4) sorted by relevance
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fusermount.c | 279 static int get_mnt_opts(int flags, char *opts, char **mnt_optsp) in get_mnt_opts() argument 284 if (!(flags & MS_RDONLY) && add_option(mnt_optsp, "rw", 0) == -1) in get_mnt_opts() 289 add_option(mnt_optsp, mount_flags[i].opt, 0) == -1) in get_mnt_opts() 293 if (add_option(mnt_optsp, opts, 0) == -1) in get_mnt_opts() 296 l = strlen(*mnt_optsp); in get_mnt_opts() 297 if ((*mnt_optsp)[l-1] == ',') in get_mnt_opts() 298 (*mnt_optsp)[l-1] = '\0'; in get_mnt_opts() 304 if (add_option(mnt_optsp, "user=", strlen(user)) == -1) in get_mnt_opts() 306 strcat(*mnt_optsp, user); in get_mnt_opts() 339 char **mnt_optsp) in do_mount() 337 do_mount(const char *mnt, char **typep, mode_t rootmode, int fd, const char *opts, const char *dev, char **sourcep, char **mnt_optsp) do_mount() argument [all...] |
H A D | mount.c | 595 static int get_mnt_flag_opts(char **mnt_optsp, int flags) in get_mnt_flag_opts() argument 599 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1) in get_mnt_flag_opts() 604 fuse_opt_add_opt(mnt_optsp, mount_flags[i].opt) == -1) in get_mnt_flag_opts()
|
/third_party/libfuse/util/ |
H A D | fusermount.c | 685 static int get_mnt_opts(int flags, char *opts, char **mnt_optsp) in get_mnt_opts() argument 690 if (!(flags & MS_RDONLY) && add_option(mnt_optsp, "rw", 0) == -1) in get_mnt_opts() 695 add_option(mnt_optsp, mount_flags[i].opt, 0) == -1) in get_mnt_opts() 699 if (add_option(mnt_optsp, opts, 0) == -1) in get_mnt_opts() 702 l = strlen(*mnt_optsp); in get_mnt_opts() 703 if ((*mnt_optsp)[l-1] == ',') in get_mnt_opts() 704 (*mnt_optsp)[l-1] = '\0'; in get_mnt_opts() 710 if (add_option(mnt_optsp, "user=", strlen(user)) == -1) in get_mnt_opts() 712 strcat(*mnt_optsp, user); in get_mnt_opts() 771 char **mnt_optsp) in do_mount() 769 do_mount(const char *mnt, const char **typep, mode_t rootmode, int fd, const char *opts, const char *dev, char **sourcep, char **mnt_optsp) do_mount() argument [all...] |
/third_party/libfuse/lib/ |
H A D | mount.c | 570 static int get_mnt_flag_opts(char **mnt_optsp, int flags) in get_mnt_flag_opts() argument 574 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1) in get_mnt_flag_opts() 579 fuse_opt_add_opt(mnt_optsp, mount_flags[i].opt) == -1) in get_mnt_flag_opts()
|
Completed in 4 milliseconds