Searched refs:mount_flags (Results 1 – 5 of 5) sorted by relevance
/third_party/libfuse/lib/ |
D | mount.c | 137 struct mount_flags { struct 143 static const struct mount_flags mount_flags[] = { argument 173 for (i = 0; mount_flags[i].opt != NULL; i++) { in set_mount_flag() 174 const char *opt = mount_flags[i].opt; in set_mount_flag() 176 if (mount_flags[i].on) in set_mount_flag() 177 *flags |= mount_flags[i].flag; in set_mount_flag() 179 *flags &= ~mount_flags[i].flag; in set_mount_flag() 577 for (i = 0; mount_flags[i].opt != NULL; i++) { in get_mnt_flag_opts() 578 if (mount_flags[i].on && (flags & mount_flags[i].flag) && in get_mnt_flag_opts() 579 fuse_opt_add_opt(mnt_optsp, mount_flags[i].opt) == -1) in get_mnt_flag_opts()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fusermount.c | 215 struct mount_flags { struct 222 static struct mount_flags mount_flags[] = { argument 243 for (i = 0; mount_flags[i].opt != NULL; i++) { in find_mount_flag() 244 const char *opt = mount_flags[i].opt; in find_mount_flag() 246 *on = mount_flags[i].on; in find_mount_flag() 247 *flag = mount_flags[i].flag; in find_mount_flag() 248 if (!mount_flags[i].safe && getuid() != 0) { in find_mount_flag() 287 for (i = 0; mount_flags[i].opt != NULL; i++) { in get_mnt_opts() 288 if (mount_flags[i].on && (flags & mount_flags[i].flag) && in get_mnt_opts() 289 add_option(mnt_optsp, mount_flags[i].opt, 0) == -1) in get_mnt_opts()
|
D | mount.c | 190 struct mount_flags { struct 196 static struct mount_flags mount_flags[] = { argument 251 for (i = 0; mount_flags[i].opt != NULL; i++) { in set_mount_flag() 252 const char *opt = mount_flags[i].opt; in set_mount_flag() 254 if (mount_flags[i].on) in set_mount_flag() 255 *flags |= mount_flags[i].flag; in set_mount_flag() 257 *flags &= ~mount_flags[i].flag; in set_mount_flag() 602 for (i = 0; mount_flags[i].opt != NULL; i++) { in get_mnt_flag_opts() 603 if (mount_flags[i].on && (flags & mount_flags[i].flag) && 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/ |
D | fusermount.c | 612 struct mount_flags { struct 619 static struct mount_flags mount_flags[] = { argument 648 for (i = 0; mount_flags[i].opt != NULL; i++) { in find_mount_flag() 649 const char *opt = mount_flags[i].opt; in find_mount_flag() 651 *on = mount_flags[i].on; in find_mount_flag() 652 *flag = mount_flags[i].flag; in find_mount_flag() 653 if (!mount_flags[i].safe && getuid() != 0) { in find_mount_flag() 693 for (i = 0; mount_flags[i].opt != NULL; i++) { in get_mnt_opts() 694 if (mount_flags[i].on && (flags & mount_flags[i].flag) && in get_mnt_opts() 695 add_option(mnt_optsp, mount_flags[i].opt, 0) == -1) in get_mnt_opts()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 80 const char *mount_flags[] = {"noatime", "relatime", NULL}; in setup() local 90 if (tst_path_has_mnt_flags(cleanup, NULL, mount_flags)) { in setup()
|