Home
last modified time | relevance | path

Searched refs:fs_mgr_flags (Results 1 – 21 of 21) sorted by relevance

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp339 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
352 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
364 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
372 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
380 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
387 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
412 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
442 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
469 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
493 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
[all …]
/system/core/fs_mgr/
Dfs_mgr.cpp358 bool want_quota = entry.fs_mgr_flags.quota; in tune_quota()
436 bool want_encrypt = entry.fs_mgr_flags.file_encryption; in tune_encrypt()
462 bool want_verity = entry.fs_mgr_flags.fs_verity; in tune_verity()
578 if (entry.fs_mgr_flags.check || in prepare_fs_for_mount()
584 (entry.reserved_size != 0 || entry.fs_mgr_flags.file_encryption || in prepare_fs_for_mount()
585 entry.fs_mgr_flags.fs_verity)) { in prepare_fs_for_mount()
824 if (entry.fs_mgr_flags.force_crypt) return true; in needs_block_encryption()
825 if (entry.fs_mgr_flags.crypt) { in needs_block_encryption()
830 if (entry.fs_mgr_flags.force_fde_or_fbe) { in needs_block_encryption()
840 (entry.fs_mgr_flags.file_encryption || entry.fs_mgr_flags.force_fde_or_fbe); in should_use_metadata_encryption()
[all …]
Dfs_mgr_slotselect.cpp60 if (!entry.fs_mgr_flags.slot_select && !entry.fs_mgr_flags.slot_select_other) { in fs_mgr_update_for_slotselect()
71 entry.fs_mgr_flags.slot_select ? ab_suffix : other_suffix(ab_suffix); in fs_mgr_update_for_slotselect()
Dfs_mgr_fstab.cpp117 entry->fs_mgr_flags.file_encryption = true; in ParseFileEncryption()
190 entry->fs_mgr_flags.value = true; \ in ParseFsMgrFlags()
220 entry->fs_mgr_flags.crypt = true; in ParseFsMgrFlags()
225 entry->fs_mgr_flags.vold_managed = true; in ParseFsMgrFlags()
267 entry->fs_mgr_flags.verify = true; in ParseFsMgrFlags()
271 entry->fs_mgr_flags.force_crypt = true; in ParseFsMgrFlags()
278 entry->fs_mgr_flags.force_fde_or_fbe = true; in ParseFsMgrFlags()
315 entry->fs_mgr_flags.avb = true; in ParseFsMgrFlags()
524 if (entry.fs_mgr_flags.logical) { in ReadFstabFile()
603 userdata.fs_mgr_flags.wait = true; in BuildGsiUserdataFstabEntry()
[all …]
Dfs_mgr_remount.cpp58 if (entry.fs_mgr_flags.vold_managed) return false; in remountable_partition()
59 if (entry.fs_mgr_flags.recovery_only) return false; in remountable_partition()
60 if (entry.fs_mgr_flags.slot_select_other) return false; in remountable_partition()
334 if (entry.fs_mgr_flags.logical) { in main()
Dfs_mgr_roots.cpp87 if (rec->fs_mgr_flags.logical && !fs_mgr_update_logical_partition(rec)) { in EnsurePathMounted()
121 if (result == -1 && rec->fs_mgr_flags.formattable) { in EnsurePathMounted()
Dfs_mgr_overlayfs.cpp160 if (entry->fs_mgr_flags.logical) { in fs_mgr_overlayfs_enabled()
294 if (entry->fs_mgr_flags.vold_managed || entry->fs_mgr_flags.recovery_only) return false; in fs_mgr_wants_overlayfs()
297 if (entry->fs_mgr_flags.slot_select_other) return false; in fs_mgr_wants_overlayfs()
399 if (entry.fs_mgr_flags.logical) { in fs_mgr_overlayfs_has_logical()
Dfs_mgr_verity.cpp804 entry->fs_mgr_flags.slot_select); in fs_mgr_setup_verity()
852 if (entry->fs_mgr_flags.verify_at_boot) { in fs_mgr_setup_verity()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h87 } fs_mgr_flags = {}; member
90 return fs_mgr_flags.crypt || fs_mgr_flags.force_crypt || fs_mgr_flags.force_fde_or_fbe; in is_encryptable()
/system/core/init/
Dfirst_stage_mount.cpp141 [](const auto& entry) { return entry.fs_mgr_flags.avb; })) { in IsDtVbmetaCompatible()
153 return !entry.fs_mgr_flags.first_stage_mount; in ReadFirstStageFstab()
187 root_entry->fs_mgr_flags.avb = true; in GetRootEntry()
189 root_entry->fs_mgr_flags.verify = true; in GetRootEntry()
260 if (entry.fs_mgr_flags.logical) return true; in IsDmLinearEnabled()
460 if (begin->fs_mgr_flags.logical) { in MountPartition()
541 if (current->fs_mgr_flags.no_fail) { in MountPartitions()
544 } else if (current->fs_mgr_flags.formattable) { in MountPartitions()
652 if (fstab_entry.fs_mgr_flags.verify_at_boot) { in GetDmVerityDevices()
657 if (fstab_entry.fs_mgr_flags.verify) { in GetDmVerityDevices()
[all …]
/system/vold/
Dmain.cpp230 if (entry.fs_mgr_flags.quota) { in process_config()
238 if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry)) { in process_config()
242 if (entry.fs_mgr_flags.vold_managed) { in process_config()
243 if (entry.fs_mgr_flags.nonremovable) { in process_config()
256 if (entry.fs_mgr_flags.no_emulated_sd || in process_config()
DCheckpoint.cpp82 if (entry.fs_mgr_flags.checkpoint_blk || entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsCheckpoint()
94 if (entry.fs_mgr_flags.checkpoint_blk) { in cp_supportsBlockCheckpoint()
106 if (entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsFileCheckpoint()
170 if (fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_commitChanges()
178 } else if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_commitChanges()
333 if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_prepareCheckpoint()
354 if (fstab_rec->fs_mgr_flags.checkpoint_blk || fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_prepareCheckpoint()
357 fstab_rec->fs_mgr_flags.checkpoint_fs == 1) in cp_prepareCheckpoint()
DIdleMaint.cpp120 if (entry.fs_mgr_flags.vold_managed) { in addFromFstab()
123 if (entry.fs_mgr_flags.no_trim) { in addFromFstab()
Dcryptfs.cpp444 if (!entry.fs_mgr_flags.vold_managed && in get_crypt_info()
445 (entry.fs_mgr_flags.crypt || entry.fs_mgr_flags.force_crypt || in get_crypt_info()
446 entry.fs_mgr_flags.force_fde_or_fbe || entry.fs_mgr_flags.file_encryption)) { in get_crypt_info()
2926 return entry && entry->fs_mgr_flags.force_fde_or_fbe; in cryptfs_isConvertibleToFBE()
/system/gsid/tests/
Dboot_tests.cpp36 EXPECT_TRUE(entry->fs_mgr_flags.first_stage_mount); in TEST()
/system/core/fs_mgr/libfs_avb/
Dfs_avb_util.cpp51 if (fstab_entry.fs_mgr_flags.logical && in LoadAndVerifyVbmeta()
Davb_util.cpp251 if (fstab_entry.fs_mgr_flags.logical) { in DeriveAvbPartitionName()
257 if (fstab_entry.fs_mgr_flags.slot_select) { in DeriveAvbPartitionName()
262 } else if (fstab_entry.fs_mgr_flags.slot_select_other) { in DeriveAvbPartitionName()
Davb_ops.cpp159 if (fstab_entry->fs_mgr_flags.logical) { in GetLogicalPath()
/system/extras/cppreopts/
Dfstab.postinstall19 #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp112 fstab_entry.fs_mgr_flags.logical = true; in TEST_F()
117 fstab_entry.fs_mgr_flags.slot_select = true; in TEST_F()
124 fstab_entry.fs_mgr_flags.slot_select = false; in TEST_F()
125 fstab_entry.fs_mgr_flags.slot_select_other = true; in TEST_F()
134 fstab_entry.fs_mgr_flags.logical = false; in TEST_F()
135 fstab_entry.fs_mgr_flags.slot_select = false; in TEST_F()
136 fstab_entry.fs_mgr_flags.slot_select_other = false; in TEST_F()
142 fstab_entry.fs_mgr_flags.slot_select = true; in TEST_F()
149 fstab_entry.fs_mgr_flags.slot_select = false; in TEST_F()
150 fstab_entry.fs_mgr_flags.slot_select_other = true; in TEST_F()
/system/core/adb/daemon/
Dset_verity_enable_state_service.cpp234 if (entry.fs_mgr_flags.verify) { in set_verity_enabled_state_service()