Home
last modified time | relevance | path

Searched refs:MS_RDONLY (Results 1 – 22 of 22) sorted by relevance

/aosp12/bionic/libc/kernel/uapi/linux/
H A Dmount.h22 #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 DVfat.cpp124 flags |= (ro ? MS_RDONLY : 0); in Mount()
135 flags |= MS_RDONLY; in Mount()
H A DExt4.cpp137 flags |= (ro ? MS_RDONLY : 0); in Mount()
144 flags |= MS_RDONLY; in Mount()
H A DExfat.cpp69 mountFlags |= MS_RDONLY; in Mount()
H A DF2fs.cpp64 res = mount(c_source, c_target, "f2fs", flags | MS_RDONLY, NULL); in Mount()
/aosp12/frameworks/native/cmds/installd/
H A Dotapreopt_chroot.cpp97 MS_RDONLY, in TryExtraMount()
111 MS_RDONLY, in TryExtraMount()
/aosp12/system/core/fs_mgr/
H A Dfs_mgr_vendor_overlay.cpp95 auto ret = mount("overlay", vendor_mount_point.c_str(), "overlay", MS_RDONLY | MS_NOATIME, in fs_mgr_vendor_overlay_mount()
H A Dfs_mgr_overlayfs.cpp380 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 Dfs_mgr_fstab.cpp66 {"ro", MS_RDONLY},
654 .flags = MS_RDONLY, in TransformFstabForDsu()
H A Dfs_mgr_remount.cpp67 if (!(entry.flags & MS_RDONLY)) return false; in remountable_partition()
H A Dfs_mgr.cpp831 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 Dupdater_runtime.cpp54 { "ro", MS_RDONLY }, in setMountFlag()
/aosp12/system/core/fs_mgr/tests/
H A Dfs_mgr_test.cpp297 {"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 Dpostinstall_runner_action.cc197 MS_RDONLY, in PerformPartitionPostinstall()
/aosp12/bootable/recovery/fuse_sideload/
H A Dfuse_sideload.cpp406 result = mount("/dev/fuse", mount_point, "fuse", MS_NOSUID | MS_NODEV | MS_RDONLY | MS_NOEXEC, in run_fuse_sideload()
/aosp12/system/vold/
H A DIdleMaint.cpp122 if (entry.flags & (MS_RDONLY | MS_BIND)) { in addFromFstab()
H A Dcryptfs.cpp1694 entry->flags |= MS_RDONLY; in cryptfs_restart_internal()
/aosp12/system/core/init/
H A Dbuiltins.cpp471 { "ro", MS_RDONLY },
516 int mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR; in do_mount()
/aosp12/system/update_engine/common/
H A Dutils_unittest.cc398 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST()
/aosp12/system/extras/partition_tools/
H A Dlpdump.cc192 if ((entry.flags & MS_RDONLY) == 0) return std::nullopt; in GetReadonlyPartitionName()
/aosp12/packages/modules/Virtualization/zipfuse/src/
H A Dmain.rs62 libc::MS_NOSUID | libc::MS_NODEV | libc::MS_RDONLY, in run_fuse()
/aosp12/system/apex/apexd/
H A Dapexd.cpp584 uint32_t mount_flags = MS_NOATIME | MS_NODEV | MS_DIRSYNC | MS_RDONLY; in MountPackageImpl()