Home
last modified time | relevance | path

Searched refs:mount_flags (Results 1 – 6 of 6) sorted by relevance

/aosp12/bootable/recovery/updater/
H A Dupdater_runtime.cpp47 static bool setMountFlag(const std::string& flag, unsigned* mount_flags) { in setMountFlag() argument
68 *mount_flags |= value; in setMountFlag()
75 static bool parseMountFlags(const std::string& flags, unsigned* mount_flags, in parseMountFlags() argument
80 if (!setMountFlag(flag, mount_flags)) { in parseMountFlags()
96 unsigned mount_flags = 0; in Mount() local
111 if (!parseMountFlags(mount_options_string, &mount_flags, &fs_options)) { in Mount()
113 mount_flags = MS_NOATIME | MS_NODEV | MS_NODIRATIME; in Mount()
117 std::string(fs_type).c_str(), mount_flags, fs_options.c_str()); in Mount()
/aosp12/build/make/tools/releasetools/
H A Dedify_generator.py237 mount_flags = mount_dict.get(p.fs_type, "")
239 mount_flags = p.context + ("," + mount_flags if mount_flags else "")
243 p.mount_point, mount_flags))
H A Dcommon.py1087 mount_flags = pieces[3]
1090 for i in mount_flags.split(","):
/aosp12/system/core/init/
H A Dbuiltins.cpp465 } mount_flags[] = { variable
494 for (i = 0; mount_flags[i].name; i++) { in do_mount()
495 if (!args[na].compare(mount_flags[i].name)) { in do_mount()
496 flags |= mount_flags[i].flag; in do_mount()
501 if (!mount_flags[i].name) { in do_mount()
/aosp12/system/core/fs_mgr/tests/
H A Dfs_mgr_test.cpp291 } mount_flags[] = { in TEST() local
310 for (auto f = 0; mount_flags[f].name; ++f) { in TEST()
311 if (mount_flags[f].flag & entry.flags) { in TEST()
312 fs_options.emplace(mount_flags[f].name); in TEST()
/aosp12/system/apex/apexd/
H A Dapexd.cpp584 uint32_t mount_flags = MS_NOATIME | MS_NODEV | MS_DIRSYNC | MS_RDONLY; in MountPackageImpl() local
586 mount_flags |= MS_NOEXEC; in MountPackageImpl()
593 apex.GetFsType().value().c_str(), mount_flags, nullptr) == 0) { in MountPackageImpl()