Home
last modified time | relevance | path

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

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp341 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/
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.cpp362 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 …]
Dfs_mgr_fstab.cpp105 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 …]
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_remount.cpp61 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()
Dfs_mgr_format.cpp172 entry.fs_mgr_flags.ext_meta_csum); in fs_mgr_do_format()
Dfs_mgr_overlayfs.cpp178 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()
Dfs_mgr_verity.cpp467 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/
Dfstab.h86 } 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/
Dfirst_stage_mount.cpp153 [](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 …]
Dselinux.cpp632 if (!system_entry->fs_mgr_flags.logical) { in MountMissingSystemPartitions()
/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.cpp92 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()
DIdleMaint.cpp120 if (entry.fs_mgr_flags.vold_managed) { in addFromFstab()
123 if (entry.fs_mgr_flags.no_trim) { in addFromFstab()
Dcryptfs.cpp518 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()
DMetadataCrypt.cpp300 if (!options.set_dun && data_rec->fs_mgr_flags.checkpoint_blk) { in fscrypt_mount_metadata_encrypted()
/system/gsid/tests/
Dboot_tests.cpp39 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.cpp301 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()
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/set-verity-state/
Dset-verity-state.cpp260 if (entry.fs_mgr_flags.verify) { in main()