Home
last modified time | relevance | path

Searched refs:num_extents (Results 1 – 15 of 15) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp501 static bool CountFiemapExtents(int file_fd, const std::string& file_path, uint32_t* num_extents) { in CountFiemapExtents() argument
513 if (num_extents) { in CountFiemapExtents()
514 *num_extents = fiemap.fm_mapped_extents; in CountFiemapExtents()
533 uint32_t num_extents, std::string_view file_path) { in FiemapToExtents() argument
534 if (num_extents == 0) return false; in FiemapToExtents()
536 const struct fiemap_extent* last_extent = &fiemap->fm_extents[num_extents - 1]; in FiemapToExtents()
547 for (uint32_t i = 1; i < num_extents; i++) { in FiemapToExtents()
580 uint32_t num_extents; in ReadFiemap() local
581 if (!CountFiemapExtents(file_fd, file_path, &num_extents)) { in ReadFiemap()
584 if (num_extents == 0) { in ReadFiemap()
[all …]
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp96 for (size_t i = 0; i < params.partition->num_extents; i++) { in CreateDmTableInternal()
160 if (!partition.num_extents) { in CreateLogicalPartitions()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h266 uint32_t num_extents; member
/system/extras/partition_tools/
Dlpunpack.cc217 for (uint32_t i = 0; i < partition->num_extents; i++) { in ExtractPartition()
243 for (uint32_t i = 0; i < partition->num_extents; i++) { in ExtractPartition()
Dlpadd.cc304 for (uint32_t i = 0; i < partition->num_extents; i++) { in WritePartition()
Dlpdump.cc326 for (size_t i = 0; i < partition.num_extents; i++) { in PrintMetadata()
/system/core/fs_mgr/liblp/
Dimages.cpp368 if (extent_index >= partition.first_extent_index + partition.num_extents) { in AddPartitionImage()
411 for (size_t i = 0; i < partition.num_extents; i++) { in ComputePartitionSize()
Dreader.cpp300 if (partition.first_extent_index + partition.num_extents < partition.first_extent_index) { in ParseMetadata()
304 if (partition.first_extent_index + partition.num_extents > header.extents.num_entries) { in ParseMetadata()
Dutility.cpp155 for (uint32_t i = 0; i < partition.num_extents; i++) { in GetPartitionSize()
Dio_test.cpp194 EXPECT_EQ(exported->partitions[0].num_extents, imported->partitions[0].num_extents); in TEST_F()
Dwriter.cpp151 if (partition.first_extent_index + partition.num_extents > metadata.extents.size()) { in ValidateAndSerializeMetadata()
Dbuilder.cpp347 for (size_t i = 0; i < source.num_extents; i++) { in ImportExtents()
937 part.num_extents = static_cast<uint32_t>(partition->extents().size()); in Export()
Dbuilder_test.cpp364 for (size_t i = 0; i < partition.num_extents; i++) { in TEST_F()
/system/core/fastboot/device/
Dutility.cpp140 *is_zero_length = (partition->num_extents == 0); in LogicalPartitionExists()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1614 if (!params.partition->num_extents) { in MapPartitionWithSnapshot()