Home
last modified time | relevance | path

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

/system/core/fs_mgr/include/
Dfs_mgr.h73 int fs_mgr_do_mount_one(const android::fs_mgr::FstabEntry& entry,
78 bool fs_mgr_is_verity_enabled(const android::fs_mgr::FstabEntry& entry);
80 bool fs_mgr_update_logical_partition(android::fs_mgr::FstabEntry* entry);
84 bool fs_mgr_verity_is_check_at_most_once(const android::fs_mgr::FstabEntry& entry);
86 int fs_mgr_do_format(const android::fs_mgr::FstabEntry& entry, bool reserve_footer);
92 int fs_mgr_setup_verity(android::fs_mgr::FstabEntry* fstab, bool wait_for_verity_dev);
111 android::fs_mgr::FstabEntry* fs_mgr_get_mounted_entry_for_userdata(
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp29 using android::fs_mgr::FstabEntry;
41 FstabEntry* system_entry = GetEntryForMountPoint(&fstab, "/system"); in TEST()
76 FstabEntry* system_other = &fstab[1]; in TEST()
115 FstabEntry* system_other_entry = &fstab[1]; in TEST()
134 FstabEntry* system_entry = GetEntryForMountPoint(&fstab, "/system"); in TEST()
138 FstabEntry* vendor_entry = GetEntryForMountPoint(&fstab, "/vendor"); in TEST()
142 FstabEntry* product_entry = GetEntryForMountPoint(&fstab, "/product"); in TEST()
Davb_util_test.cpp31 using android::fs_mgr::FstabEntry;
103 FstabEntry fstab_entry = { in TEST_F()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb.h94 const FstabEntry& fstab_entry,
114 AvbHashtreeResult SetUpAvbHashtree(FstabEntry* fstab_entry, bool wait_for_verity_dev);
117 static AvbHashtreeResult SetUpStandaloneAvbHashtree(FstabEntry* fstab_entry,
123 static bool TearDownAvbHashtree(FstabEntry* fstab_entry, bool wait);
127 std::string GetSecurityPatchLevel(const FstabEntry& fstab_entry) const;
Dfs_avb_util.h29 std::unique_ptr<VBMetaData> LoadAndVerifyVbmeta(const FstabEntry& fstab_entry,
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h32 struct FstabEntry { struct
96 using Fstab = std::vector<FstabEntry>;
103 FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& path);
105 std::vector<FstabEntry*> GetEntriesForMountPoint(Fstab* fstab, const std::string& path);
122 std::string GetVerityDeviceName(const FstabEntry& entry);
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp283 static bool CompareFlags(FstabEntry::FsMgrFlags& lhs, FstabEntry::FsMgrFlags& rhs) { in CompareFlags()
334 FstabEntry::FsMgrFlags flags = {}; in TEST()
347 FstabEntry::FsMgrFlags flags = {}; in TEST()
360 FstabEntry::FsMgrFlags flags = {}; in TEST()
372 FstabEntry::FsMgrFlags flags = {}; in TEST()
380 FstabEntry::FsMgrFlags flags = {}; in TEST()
388 FstabEntry::FsMgrFlags flags = {}; in TEST()
413 FstabEntry::FsMgrFlags flags = {}; in TEST()
434 FstabEntry::FsMgrFlags flags = {}; in TEST()
460 FstabEntry::FsMgrFlags flags = {}; in TEST()
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp104 void ParseFileEncryption(const std::string& arg, FstabEntry* entry) { in ParseFileEncryption()
109 bool SetMountFlag(const std::string& flag, FstabEntry* entry) { in SetMountFlag()
119 void ParseMountFlags(const std::string& flags, FstabEntry* entry) { in ParseMountFlags()
145 void ParseFsMgrFlags(const std::string& flags, FstabEntry* entry) { in ParseFsMgrFlags()
448 FstabEntry entry; in ReadFstabFile()
554 FstabEntry BuildDsuUserdataFstabEntry() { in BuildDsuUserdataFstabEntry()
557 FstabEntry userdata = { in BuildDsuUserdataFstabEntry()
589 FstabEntry userdata; in TransformFstabForDsu()
590 if (FstabEntry* entry = GetEntryForMountPoint(fstab, "/data")) { in TransformFstabForDsu()
622 std::vector<FstabEntry*> entries = GetEntriesForMountPoint(fstab, mount_point); in TransformFstabForDsu()
[all …]
Dfs_mgr.cpp359 static void tune_quota(const std::string& blk_device, const FstabEntry& entry, in tune_quota()
400 static void tune_reserved_size(const std::string& blk_device, const FstabEntry& entry, in tune_reserved_size()
442 static void tune_encrypt(const std::string& blk_device, const FstabEntry& entry, in tune_encrypt()
487 static void tune_verity(const std::string& blk_device, const FstabEntry& entry, in tune_verity()
564 static void tune_metadata_csum(const std::string& blk_device, const FstabEntry& entry, in tune_metadata_csum()
660 static int prepare_fs_for_mount(const std::string& blk_device, const FstabEntry& entry) { in prepare_fs_for_mount()
732 static int __mount(const std::string& source, const std::string& target, const FstabEntry& entry) { in __mount()
896 static bool TranslateExtLabels(FstabEntry* entry) { in TranslateExtLabels()
951 static bool needs_block_encryption(const FstabEntry& entry) { in needs_block_encryption()
968 static bool should_use_metadata_encryption(const FstabEntry& entry) { in should_use_metadata_encryption()
[all …]
Dfs_mgr_remount.cpp60 bool remountable_partition(const android::fs_mgr::FstabEntry& entry) { in remountable_partition()
69 const std::string system_mount_point(const android::fs_mgr::FstabEntry& entry) { in system_mount_point()
74 const android::fs_mgr::FstabEntry* is_wrapped(const android::fs_mgr::Fstab& overlayfs_candidates, in is_wrapped()
75 const android::fs_mgr::FstabEntry& entry) { in is_wrapped()
Dfs_mgr_priv.h100 bool fs_mgr_teardown_verity(android::fs_mgr::FstabEntry* fstab);
Dfs_mgr_format.cpp156 int fs_mgr_do_format(const FstabEntry& entry, bool crypt_footer) { in fs_mgr_do_format()
Dfs_mgr_roots.cpp36 FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path) { in GetEntryForPath()
Dfs_mgr_verity.cpp380 int fs_mgr_setup_verity(FstabEntry* entry, bool wait_for_verity_dev) { in fs_mgr_setup_verity()
550 bool fs_mgr_teardown_verity(FstabEntry* entry) { in fs_mgr_teardown_verity()
Dfs_mgr_overlayfs.cpp177 bool fs_mgr_update_blk_device(FstabEntry* entry) { in fs_mgr_update_blk_device()
200 bool fs_mgr_overlayfs_enabled(FstabEntry* entry) { in fs_mgr_overlayfs_enabled()
339 bool fs_mgr_wants_overlayfs(FstabEntry* entry) { in fs_mgr_wants_overlayfs()
806 FstabEntry entry; in fs_mgr_overlayfs_mount_scratch()
1171 FstabEntry new_entry = entry; in fs_mgr_overlayfs_candidate_list()
/system/core/fs_mgr/libfs_avb/
Davb_util.h53 bool HashtreeDmVeritySetup(FstabEntry* fstab_entry, const FsAvbHashtreeDescriptor& hashtree_desc,
57 bool LoadAvbHashtreeToEnableVerity(FstabEntry* fstab_entry, bool wait_for_verity_dev,
67 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix,
Dfs_avb.cpp282 AvbUniquePtr AvbHandle::LoadAndVerifyVbmeta(const FstabEntry& fstab_entry, in LoadAndVerifyVbmeta()
472 AvbHashtreeResult AvbHandle::SetUpStandaloneAvbHashtree(FstabEntry* fstab_entry, in SetUpStandaloneAvbHashtree()
482 AvbHashtreeResult AvbHandle::SetUpAvbHashtree(FstabEntry* fstab_entry, bool wait_for_verity_dev) { in SetUpAvbHashtree()
501 bool AvbHandle::TearDownAvbHashtree(FstabEntry* fstab_entry, bool wait) { in TearDownAvbHashtree()
524 std::string AvbHandle::GetSecurityPatchLevel(const FstabEntry& fstab_entry) const { in GetSecurityPatchLevel()
Dfs_avb_util.cpp35 std::unique_ptr<VBMetaData> LoadAndVerifyVbmeta(const FstabEntry& fstab_entry, in LoadAndVerifyVbmeta()
Davb_util.cpp98 bool HashtreeDmVeritySetup(FstabEntry* fstab_entry, const FsAvbHashtreeDescriptor& hashtree_desc, in HashtreeDmVeritySetup()
244 bool LoadAvbHashtreeToEnableVerity(FstabEntry* fstab_entry, bool wait_for_verity_dev, in LoadAvbHashtreeToEnableVerity()
298 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix, in DeriveAvbPartitionName()
/system/core/init/
Dfirst_stage_mount.cpp62 using android::fs_mgr::FstabEntry;
108 virtual bool SetUpDmVerity(FstabEntry* fstab_entry) = 0;
130 bool SetUpDmVerity(FstabEntry* fstab_entry) override;
142 bool SetUpDmVerity(FstabEntry* fstab_entry) override;
175 static bool GetRootEntry(FstabEntry* root_entry) { in GetRootEntry()
208 const FstabEntry& fstab_entry) { in IsStandaloneImageRollback()
529 FstabEntry root_entry; in MountPartitions()
645 bool FirstStageMountVBootV1::SetUpDmVerity(FstabEntry* fstab_entry) { in SetUpDmVerity()
730 bool FirstStageMountVBootV2::SetUpDmVerity(FstabEntry* fstab_entry) { in SetUpDmVerity()
/system/core/fs_mgr/include/fs_mgr/
Droots.h30 FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path);
/system/vold/
DMetadataCrypt.cpp53 using android::fs_mgr::FstabEntry;
/system/extras/partition_tools/
Dlpdump.cc190 static std::optional<std::string> GetReadonlyPartitionName(const android::fs_mgr::FstabEntry& entry… in GetReadonlyPartitionName()
/system/gsid/
Dgsi_service.cpp809 FstabEntry* system = GetEntryForMountPoint(&fstab, "/system"); in ValidateInstallParams()