Home
last modified time | relevance | path

Searched refs:best_region (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_memory_helper.c427 struct nine_memfd_file_region *region, *best_region, *new_region; in insert_new_allocation() local
440 best_region = region; in insert_new_allocation()
454 best_region->size = DIVUP(allocation_size, allocator->page_size) * allocator->page_size; in insert_new_allocation()
455 assert(min_blocksize >= best_region->size); in insert_new_allocation()
456 move_region(&best_memfd_file->unmapped_allocated_regions, best_region); in insert_new_allocation()
457 new_allocation->memory.memfd.region = best_region; in insert_new_allocation()
461 min_blocksize -= best_region->size; in insert_new_allocation()
463 new_region = allocate_region(allocator, best_region->offset + best_region->size, min_blocksize); in insert_new_allocation()
464 new_region->zero_filled = best_region in insert_new_allocation()
[all...]

Completed in 2 milliseconds