/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 341 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 354 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 366 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 374 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 382 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 389 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 414 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 439 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 462 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() 485 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST() [all …]
|
/system/core/fs_mgr/ |
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.cpp | 362 bool want_quota = entry.fs_mgr_flags.quota; in tune_quota() 444 if (!entry.fs_mgr_flags.file_encryption) { in tune_encrypt() 490 bool want_verity = entry.fs_mgr_flags.fs_verity; in tune_verity() 568 bool want_meta_csum = entry.fs_mgr_flags.ext_meta_csum; in tune_metadata_csum() 686 if (entry.fs_mgr_flags.check || in prepare_fs_for_mount() 692 (entry.reserved_size != 0 || entry.fs_mgr_flags.file_encryption || in prepare_fs_for_mount() 693 entry.fs_mgr_flags.fs_verity || entry.fs_mgr_flags.ext_meta_csum)) { in prepare_fs_for_mount() 954 if (entry.fs_mgr_flags.force_crypt) return true; in needs_block_encryption() 955 if (entry.fs_mgr_flags.crypt) { in needs_block_encryption() 960 if (entry.fs_mgr_flags.force_fde_or_fbe) { in needs_block_encryption() [all …]
|
D | fs_mgr_fstab.cpp | 105 entry->fs_mgr_flags.file_encryption = true; in ParseFileEncryption() 156 entry->fs_mgr_flags.value = true; \ in ParseFsMgrFlags() 187 entry->fs_mgr_flags.crypt = true; in ParseFsMgrFlags() 192 entry->fs_mgr_flags.vold_managed = true; in ParseFsMgrFlags() 234 entry->fs_mgr_flags.force_crypt = true; in ParseFsMgrFlags() 241 entry->fs_mgr_flags.force_fde_or_fbe = true; in ParseFsMgrFlags() 277 entry->fs_mgr_flags.avb = true; in ParseFsMgrFlags() 485 if (entry.fs_mgr_flags.logical) { in ReadFstabFile() 564 userdata.fs_mgr_flags.wait = true; in BuildDsuUserdataFstabEntry() 565 userdata.fs_mgr_flags.check = true; in BuildDsuUserdataFstabEntry() [all …]
|
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_remount.cpp | 61 if (entry.fs_mgr_flags.vold_managed) return false; in remountable_partition() 62 if (entry.fs_mgr_flags.recovery_only) return false; in remountable_partition() 63 if (entry.fs_mgr_flags.slot_select_other) return false; in remountable_partition() 368 if (entry.fs_mgr_flags.logical) { in do_remount()
|
D | fs_mgr_format.cpp | 172 entry.fs_mgr_flags.ext_meta_csum); in fs_mgr_do_format()
|
D | fs_mgr_overlayfs.cpp | 178 if (entry->fs_mgr_flags.logical) { in fs_mgr_update_blk_device() 341 if (entry->fs_mgr_flags.vold_managed || entry->fs_mgr_flags.recovery_only) return false; in fs_mgr_wants_overlayfs() 344 if (entry->fs_mgr_flags.slot_select_other) return false; in fs_mgr_wants_overlayfs() 444 if (entry.fs_mgr_flags.logical) { in fs_mgr_overlayfs_has_logical() 818 entry.fs_mgr_flags.check = true; in fs_mgr_overlayfs_mount_scratch()
|
D | fs_mgr_verity.cpp | 467 entry->fs_mgr_flags.slot_select); in fs_mgr_setup_verity() 515 if (entry->fs_mgr_flags.verify_at_boot) { in fs_mgr_setup_verity()
|
/system/core/fs_mgr/include_fstab/fstab/ |
D | fstab.h | 86 } fs_mgr_flags = {}; member 89 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 | 153 [](const auto& entry) { return entry.fs_mgr_flags.avb; })) { in IsDtVbmetaCompatible() 165 return !entry.fs_mgr_flags.first_stage_mount; in ReadFirstStageFstab() 199 root_entry->fs_mgr_flags.avb = true; in GetRootEntry() 201 root_entry->fs_mgr_flags.verify = true; in GetRootEntry() 281 if (entry.fs_mgr_flags.logical) return true; in IsDmLinearEnabled() 368 if (begin->fs_mgr_flags.logical) { in MountPartition() 512 if (current->fs_mgr_flags.no_fail) { in MountPartitions() 515 } else if (current->fs_mgr_flags.formattable) { in MountPartitions() 624 if (fstab_entry.fs_mgr_flags.verify_at_boot) { in GetDmVerityDevices() 629 if (fstab_entry.fs_mgr_flags.verify) { in GetDmVerityDevices() [all …]
|
D | selinux.cpp | 632 if (!system_entry->fs_mgr_flags.logical) { in MountMissingSystemPartitions()
|
/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 | 92 if (entry.fs_mgr_flags.checkpoint_blk || entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsCheckpoint() 104 if (entry.fs_mgr_flags.checkpoint_blk) { in cp_supportsBlockCheckpoint() 116 if (entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsFileCheckpoint() 194 if (fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_commitChanges() 202 } else if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_commitChanges() 371 if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_prepareCheckpoint() 392 if (fstab_rec->fs_mgr_flags.checkpoint_blk || fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_prepareCheckpoint() 395 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 | 518 if (!entry.fs_mgr_flags.vold_managed && in get_crypt_info() 519 (entry.fs_mgr_flags.crypt || entry.fs_mgr_flags.force_crypt || in get_crypt_info() 520 entry.fs_mgr_flags.force_fde_or_fbe || entry.fs_mgr_flags.file_encryption)) { in get_crypt_info() 2898 return entry && entry->fs_mgr_flags.force_fde_or_fbe; in cryptfs_isConvertibleToFBE()
|
D | MetadataCrypt.cpp | 300 if (!options.set_dun && data_rec->fs_mgr_flags.checkpoint_blk) { in fscrypt_mount_metadata_encrypted()
|
/system/gsid/tests/ |
D | boot_tests.cpp | 39 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 | 301 if (fstab_entry.fs_mgr_flags.logical) { in DeriveAvbPartitionName() 307 if (fstab_entry.fs_mgr_flags.slot_select) { in DeriveAvbPartitionName() 312 } 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/set-verity-state/ |
D | set-verity-state.cpp | 260 if (entry.fs_mgr_flags.verify) { in main()
|