Searched refs:new_region (Results 1 – 3 of 3) sorted by relevance
59 base::AddressRegion new_region) { in Merge() argument64 auto above = regions_.lower_bound(new_region); in Merge()65 DCHECK(above == regions_.end() || above->begin() >= new_region.end()); in Merge()68 if (above != regions_.end() && new_region.end() == above->begin()) { in Merge()69 base::AddressRegion merged_region{new_region.begin(), in Merge()70 new_region.size() + above->size()}; in Merge()76 if (below->end() == new_region.begin()) { in Merge()88 regions_.insert(above, new_region); in Merge()89 return new_region; in Merge()98 if (below->end() == new_region.begin()) { in Merge()[all …]
97 Region* new_region = in Split() local105 all_regions_.insert(new_region); in Split()109 FreeListAddRegion(new_region); in Split()111 return new_region; in Split()
427 struct nine_memfd_file_region *region, *best_region, *new_region; in insert_new_allocation() local463 … new_region = allocate_region(allocator, best_region->offset + best_region->size, min_blocksize); in insert_new_allocation()464 new_region->zero_filled = best_region->zero_filled; in insert_new_allocation()465 move_region_ordered_merge(allocator, &best_memfd_file->free_regions, new_region); in insert_new_allocation()