Home
last modified time | relevance | path

Searched refs:new_extent (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Dextent_utils.cc51 Extent new_extent; in AppendBlockToExtents() local
52 new_extent.set_start_block(block); in AppendBlockToExtents()
53 new_extent.set_num_blocks(1); in AppendBlockToExtents()
54 extents->push_back(new_extent); in AppendBlockToExtents()
76 Extent* new_extent = out->Add(); in StoreExtents() local
77 *new_extent = extent; in StoreExtents()
/system/core/fs_mgr/libsnapshot/
Dutility.cpp181 auto* new_extent = extents->Add(); in AppendExtent() local
182 new_extent->set_start_block(start_block); in AppendExtent()
183 new_extent->set_num_blocks(num_blocks); in AppendExtent()
/system/core/fs_mgr/liblp/
Dbuilder.cpp104 if (LinearExtent* new_extent = extent->AsLinearExtent()) { in AddExtent() local
107 if (prev_extent->end_sector() == new_extent->physical_sector() && in AddExtent()
108 prev_extent->device_index() == new_extent->device_index()) { in AddExtent()
112 prev_extent->num_sectors() + new_extent->num_sectors(), in AddExtent()
835 auto new_extent = std::make_unique<LinearExtent>(num_sectors, extent->device_index(), in ExtendFinalExtent() local
837 if (IsAnyRegionAllocated(*new_extent.get()) || in ExtendFinalExtent()
838 IsAnyRegionCovered(free_list, *new_extent.get())) { in ExtendFinalExtent()
839 LERROR << "Misaligned region " << new_extent->physical_sector() << ".." in ExtendFinalExtent()
840 << new_extent->end_sector() << " was allocated or marked allocatable."; in ExtendFinalExtent()
843 return new_extent; in ExtendFinalExtent()