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.cpp437 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
449 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
460 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
468 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
476 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
483 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
508 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
533 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
556 EXPECT_TRUE(CompareFlags(flags, entry->fs_mgr_flags)); in TEST()
579 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()
740 if (entry.fs_mgr_flags.check || in prepare_fs_for_mount()
746 (entry.reserved_size != 0 || entry.fs_mgr_flags.file_encryption || in prepare_fs_for_mount()
747 entry.fs_mgr_flags.fs_verity || entry.fs_mgr_flags.ext_meta_csum)) { in prepare_fs_for_mount()
1001 if (entry.fs_mgr_flags.force_crypt) return true; in needs_block_encryption()
1002 if (entry.fs_mgr_flags.crypt) { in needs_block_encryption()
1007 if (entry.fs_mgr_flags.force_fde_or_fbe) { in needs_block_encryption()
[all …]
Dfs_mgr_fstab.cpp106 entry->fs_mgr_flags.file_encryption = true; in ParseFileEncryption()
158 entry->fs_mgr_flags.value = true; \ in ParseFsMgrFlags()
190 entry->fs_mgr_flags.crypt = true; in ParseFsMgrFlags()
195 entry->fs_mgr_flags.vold_managed = true; in ParseFsMgrFlags()
237 entry->fs_mgr_flags.force_crypt = true; in ParseFsMgrFlags()
244 entry->fs_mgr_flags.force_fde_or_fbe = true; in ParseFsMgrFlags()
287 entry->fs_mgr_flags.avb = true; in ParseFsMgrFlags()
497 if (entry.fs_mgr_flags.logical) { in ReadFstabFile()
576 userdata.fs_mgr_flags.wait = true; in BuildDsuUserdataFstabEntry()
577 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()
122 if (result == -1 && rec->fs_mgr_flags.formattable) { in EnsurePathMounted()
Dfs_mgr_format.cpp175 needs_casefold, entry.fs_mgr_flags.fs_compress); in fs_mgr_do_format()
178 entry.fs_mgr_flags.ext_meta_csum); in fs_mgr_do_format()
Dfs_mgr_remount.cpp64 if (entry.fs_mgr_flags.vold_managed) return false; in remountable_partition()
65 if (entry.fs_mgr_flags.recovery_only) return false; in remountable_partition()
66 if (entry.fs_mgr_flags.slot_select_other) return false; in remountable_partition()
408 if (entry.fs_mgr_flags.logical) { in do_remount()
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()
Dfs_mgr_overlayfs.cpp211 if (entry->fs_mgr_flags.logical) { in fs_mgr_update_blk_device()
374 if (entry->fs_mgr_flags.vold_managed || entry->fs_mgr_flags.recovery_only) return false; in fs_mgr_wants_overlayfs()
377 if (entry->fs_mgr_flags.slot_select_other) return false; in fs_mgr_wants_overlayfs()
477 if (entry.fs_mgr_flags.logical) { in fs_mgr_overlayfs_has_logical()
871 entry.fs_mgr_flags.check = true; in fs_mgr_overlayfs_mount_scratch()
/system/vold/
Dmain.cpp234 if (entry.fs_mgr_flags.quota) { in process_config()
240 if (entry.fs_mgr_flags.fs_compress) { in process_config()
245 if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry) && in process_config()
246 !entry.fs_mgr_flags.no_fail) { in process_config()
250 if (entry.fs_mgr_flags.vold_managed) { in process_config()
251 if (entry.fs_mgr_flags.nonremovable) { in process_config()
264 if (entry.fs_mgr_flags.no_emulated_sd || in process_config()
DCheckpoint.cpp91 if (entry.fs_mgr_flags.checkpoint_blk || entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsCheckpoint()
103 if (entry.fs_mgr_flags.checkpoint_blk) { in cp_supportsBlockCheckpoint()
115 if (entry.fs_mgr_flags.checkpoint_fs) { in cp_supportsFileCheckpoint()
193 if (fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_commitChanges()
201 } else if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_commitChanges()
370 if (fstab_rec->fs_mgr_flags.checkpoint_blk) { in cp_prepareCheckpoint()
391 if (fstab_rec->fs_mgr_flags.checkpoint_blk || fstab_rec->fs_mgr_flags.checkpoint_fs) { in cp_prepareCheckpoint()
394 fstab_rec->fs_mgr_flags.checkpoint_fs == 1) in cp_prepareCheckpoint()
DIdleMaint.cpp129 if (entry.fs_mgr_flags.vold_managed) { in addFromFstab()
132 if (entry.fs_mgr_flags.no_trim) { in addFromFstab()
Dcryptfs.cpp598 if (!entry.fs_mgr_flags.vold_managed && in get_crypt_info()
599 (entry.fs_mgr_flags.crypt || entry.fs_mgr_flags.force_crypt || in get_crypt_info()
600 entry.fs_mgr_flags.force_fde_or_fbe || entry.fs_mgr_flags.file_encryption)) { in get_crypt_info()
2864 return entry && entry->fs_mgr_flags.force_fde_or_fbe; in cryptfs_isConvertibleToFBE()
DMetadataCrypt.cpp245 if (!options.set_dun && data_rec->fs_mgr_flags.checkpoint_blk) { in fscrypt_mount_metadata_encrypted()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h89 } fs_mgr_flags = {}; member
92 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.cpp158 [](const auto& entry) { return entry.fs_mgr_flags.avb; })) { in IsDtVbmetaCompatible()
170 return !entry.fs_mgr_flags.first_stage_mount; in ReadFirstStageFstab()
204 root_entry->fs_mgr_flags.avb = true; in GetRootEntry()
206 root_entry->fs_mgr_flags.verify = true; in GetRootEntry()
310 if (entry.fs_mgr_flags.logical) return true; in IsDmLinearEnabled()
427 if (begin->fs_mgr_flags.logical) { in MountPartition()
565 if (current->fs_mgr_flags.no_fail) { in MountPartitions()
568 } else if (current->fs_mgr_flags.formattable) { in MountPartitions()
683 if (fstab_entry.fs_mgr_flags.verify_at_boot) { in GetDmVerityDevices()
688 if (fstab_entry.fs_mgr_flags.verify) { in GetDmVerityDevices()
[all …]
Dselinux.cpp650 if (!system_entry->fs_mgr_flags.logical) { in MountMissingSystemPartitions()
/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.cpp303 if (fstab_entry.fs_mgr_flags.logical) { in DeriveAvbPartitionName()
309 if (fstab_entry.fs_mgr_flags.slot_select) { in DeriveAvbPartitionName()
314 } 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()