Home
last modified time | relevance | path

Searched refs:fstab_ (Results 1 – 8 of 8) sorted by relevance

/system/core/init/
Dfirst_stage_mount.cpp113 Fstab fstab_; member in android::init::FirstStageMount
231 FirstStageMount::FirstStageMount(Fstab fstab) : need_dm_verity_(false), fstab_(std::move(fstab)) { in FirstStageMount()
245 if (!IsDmLinearEnabled() && fstab_.empty()) { in DoFirstStageMount()
280 for (const auto& entry : fstab_) { in IsDmLinearEnabled()
385 for (; current != fstab_.end() && current->mount_point == begin->mount_point; current++) { in MountPartition()
394 current = fstab_.erase(begin, current); in MountPartition()
403 for (const auto& entry : fstab_) { in PreloadAvbKeys()
454 auto system_partition = std::find_if(fstab_.begin(), fstab_.end(), [](const auto& entry) { in TrySwitchSystemAsRoot()
458 if (system_partition == fstab_.end()) return true; in TrySwitchSystemAsRoot()
477 auto metadata_partition = std::find_if(fstab_.begin(), fstab_.end(), [](const auto& entry) { in MountPartitions()
[all …]
/system/core/fs_mgr/libfs_avb/
Davb_ops.cpp148 if (fstab_.empty() && !ReadDefaultFstab(&fstab_)) { in GetLogicalPath()
155 auto fstab_entry = GetEntryForMountPoint(&fstab_, mount_point); in GetLogicalPath()
Davb_ops.h66 Fstab fstab_; variable
/system/core/fs_mgr/libsnapshot/
Dutility.h106 : AutoDevice(path), fstab_(std::move(fstab)) {} in AutoUnmountDevice()
107 android::fs_mgr::Fstab fstab_; member
Dutility.cpp146 if (!EnsurePathUnmounted(&fstab_, name_)) { in ~AutoUnmountDevice()
Dsnapshot_test.cpp1372 ASSERT_TRUE(ReadDefaultFstab(&fstab_)); in SetUp()
1378 EXPECT_TRUE(android::fs_mgr::EnsurePathMounted(&fstab_, metadata_dir_)); in TearDown()
1387 auto entry = GetEntryForPath(&fstab_, metadata_dir_); in IsMetadataMounted()
1399 Fstab fstab_; member in android::snapshot::MetadataMountedTest
1419 EXPECT_TRUE(android::fs_mgr::EnsurePathUnmounted(&fstab_, metadata_dir_)); in TEST_F()
/system/core/fastboot/device/
Dutility.cpp257 if (!ReadDefaultFstab(&fstab_)) { in AutoMountMetadata()
261 mounted_ = EnsurePathMounted(&fstab_, "/metadata"); in AutoMountMetadata()
267 EnsurePathUnmounted(&fstab_, "/metadata"); in ~AutoMountMetadata()
Dutility.h62 android::fs_mgr::Fstab fstab_;