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()
181 auto* new_extent = extents->Add(); in AppendExtent() local182 new_extent->set_start_block(start_block); in AppendExtent()183 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()835 auto new_extent = std::make_unique<LinearExtent>(num_sectors, extent->device_index(), in ExtendFinalExtent() local837 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()