Searched refs:new_extent (Results 1 – 3 of 3) sorted by relevance
51 Extent new_extent; in AppendBlockToExtents() local52 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() local77 *new_extent = extent; in StoreExtents()
180 auto* new_extent = extents->Add(); in AppendExtent() local181 new_extent->set_start_block(start_block); in AppendExtent()182 new_extent->set_num_blocks(num_blocks); in AppendExtent()
104 if (LinearExtent* new_extent = extent->AsLinearExtent()) { in AddExtent() local107 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()840 auto new_extent = std::make_unique<LinearExtent>(num_sectors, extent->device_index(), in ExtendFinalExtent() local842 if (IsAnyRegionAllocated(*new_extent.get()) || in ExtendFinalExtent()843 IsAnyRegionCovered(free_list, *new_extent.get())) { in ExtendFinalExtent()844 LERROR << "Misaligned region " << new_extent->physical_sector() << ".." in ExtendFinalExtent()845 << new_extent->end_sector() << " was allocated or marked allocatable."; in ExtendFinalExtent()848 return new_extent; in ExtendFinalExtent()