/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | mount.h | 22 #define MS_RDONLY 1 macro 54 #define MS_RMT_MASK (MS_RDONLY | MS_SYNCHRONOUS | MS_MANDLOCK | MS_I_VERSION | MS_LAZYTIME)
|
/aosp12/system/vold/fs/ |
H A D | Vfat.cpp | 124 flags |= (ro ? MS_RDONLY : 0); in Mount() 135 flags |= MS_RDONLY; in Mount()
|
H A D | Ext4.cpp | 137 flags |= (ro ? MS_RDONLY : 0); in Mount() 144 flags |= MS_RDONLY; in Mount()
|
H A D | Exfat.cpp | 69 mountFlags |= MS_RDONLY; in Mount()
|
H A D | F2fs.cpp | 64 res = mount(c_source, c_target, "f2fs", flags | MS_RDONLY, NULL); in Mount()
|
/aosp12/frameworks/native/cmds/installd/ |
H A D | otapreopt_chroot.cpp | 97 MS_RDONLY, in TryExtraMount() 111 MS_RDONLY, in TryExtraMount()
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr_vendor_overlay.cpp | 95 auto ret = mount("overlay", vendor_mount_point.c_str(), "overlay", MS_RDONLY | MS_NOATIME, in fs_mgr_vendor_overlay_mount()
|
H A D | fs_mgr_overlayfs.cpp | 380 if (!(entry->flags & MS_RDONLY)) return false; in fs_mgr_wants_overlayfs() 791 auto ret = mount("overlay", mount_point.c_str(), "overlay", MS_RDONLY | MS_NOATIME, in fs_mgr_overlayfs_mount() 854 entry.flags = MS_NOATIME | MS_RDONLY; in fs_mgr_overlayfs_mount_scratch() 859 entry.flags |= MS_RDONLY; in fs_mgr_overlayfs_mount_scratch() 868 entry.flags &= ~MS_RDONLY; in fs_mgr_overlayfs_mount_scratch()
|
H A D | fs_mgr_fstab.cpp | 66 {"ro", MS_RDONLY}, 654 .flags = MS_RDONLY, in TransformFstabForDsu()
|
H A D | fs_mgr_remount.cpp | 67 if (!(entry.flags & MS_RDONLY)) return false; in remountable_partition()
|
H A D | fs_mgr.cpp | 831 if ((ret == 0) && (mountflags & MS_RDONLY) != 0) { in __mount() 1410 if ((current_entry.flags & MS_RDONLY) != 0) { in fs_mgr_mount_all() 2340 auto ret = mount(source.c_str(), entry.mount_point.c_str(), "overlay", MS_RDONLY | MS_NOATIME, in fs_mgr_mount_overlayfs_fstab_entry()
|
/aosp12/bootable/recovery/updater/ |
H A D | updater_runtime.cpp | 54 { "ro", MS_RDONLY }, in setMountFlag()
|
/aosp12/system/core/fs_mgr/tests/ |
H A D | fs_mgr_test.cpp | 297 {"ro", MS_RDONLY}, in TEST() 315 if (!(entry.flags & MS_RDONLY)) { in TEST() 352 EXPECT_EQ(static_cast<unsigned long>(MS_RDONLY), entry->flags); in TEST() 372 EXPECT_EQ(static_cast<unsigned long>(MS_RDONLY), entry->flags); in TEST()
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | postinstall_runner_action.cc | 197 MS_RDONLY, in PerformPartitionPostinstall()
|
/aosp12/bootable/recovery/fuse_sideload/ |
H A D | fuse_sideload.cpp | 406 result = mount("/dev/fuse", mount_point, "fuse", MS_NOSUID | MS_NODEV | MS_RDONLY | MS_NOEXEC, in run_fuse_sideload()
|
/aosp12/system/vold/ |
H A D | IdleMaint.cpp | 122 if (entry.flags & (MS_RDONLY | MS_BIND)) { in addFromFstab()
|
H A D | cryptfs.cpp | 1694 entry->flags |= MS_RDONLY; in cryptfs_restart_internal()
|
/aosp12/system/core/init/ |
H A D | builtins.cpp | 471 { "ro", MS_RDONLY }, 516 int mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR; in do_mount()
|
/aosp12/system/update_engine/common/ |
H A D | utils_unittest.cc | 398 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST()
|
/aosp12/system/extras/partition_tools/ |
H A D | lpdump.cc | 192 if ((entry.flags & MS_RDONLY) == 0) return std::nullopt; in GetReadonlyPartitionName()
|
/aosp12/packages/modules/Virtualization/zipfuse/src/ |
H A D | main.rs | 62 libc::MS_NOSUID | libc::MS_NODEV | libc::MS_RDONLY, in run_fuse()
|
/aosp12/system/apex/apexd/ |
H A D | apexd.cpp | 584 uint32_t mount_flags = MS_NOATIME | MS_NODEV | MS_DIRSYNC | MS_RDONLY; in MountPackageImpl()
|