/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 339 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/ |
D | fs_mgr.cpp | 358 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 …]
|
D | fs_mgr_slotselect.cpp | 60 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()
|
D | fs_mgr_fstab.cpp | 117 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 …]
|
D | fs_mgr_remount.cpp | 58 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()
|
D | fs_mgr_roots.cpp | 87 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()
|
D | fs_mgr_overlayfs.cpp | 160 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()
|
D | fs_mgr_verity.cpp | 804 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/ |
D | fstab.h | 87 } 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/ |
D | first_stage_mount.cpp | 141 [](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/ |
D | main.cpp | 230 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()
|
D | Checkpoint.cpp | 82 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()
|
D | IdleMaint.cpp | 120 if (entry.fs_mgr_flags.vold_managed) { in addFromFstab() 123 if (entry.fs_mgr_flags.no_trim) { in addFromFstab()
|
D | cryptfs.cpp | 444 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/ |
D | boot_tests.cpp | 36 EXPECT_TRUE(entry->fs_mgr_flags.first_stage_mount); in TEST()
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb_util.cpp | 51 if (fstab_entry.fs_mgr_flags.logical && in LoadAndVerifyVbmeta()
|
D | avb_util.cpp | 251 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()
|
D | avb_ops.cpp | 159 if (fstab_entry->fs_mgr_flags.logical) { in GetLogicalPath()
|
/system/extras/cppreopts/ |
D | fstab.postinstall | 19 #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 112 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/ |
D | set_verity_enable_state_service.cpp | 234 if (entry.fs_mgr_flags.verify) { in set_verity_enabled_state_service()
|