Home
last modified time | relevance | path

Searched refs:hole_start (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c262 int64_t hole_start = 0, hole_size = 0; in compute_memory_finalize_pending() local
266 if (alloc_item->start_in_dw == hole_start) { in compute_memory_finalize_pending()
267 hole_start += align(alloc_item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending()
269 } else if (alloc_item->start_in_dw > hole_start) { in compute_memory_finalize_pending()
270 hole_size = alloc_item->start_in_dw - hole_start; in compute_memory_finalize_pending()
275 if (hole_size == 0 && hole_start < pool->size_in_dw) in compute_memory_finalize_pending()
276 hole_size = pool->size_in_dw - hole_start; in compute_memory_finalize_pending()
279 if (compute_memory_promote_item(pool, item, pipe, hole_start) != -1) { in compute_memory_finalize_pending()
/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress03.c71 char *brk_max_addr, *hole_addr, *brk_start, *hole_start; in main() local
88 if ((hole_addr = hole_start = sbrk(NUM_SEGS * 2 * pagesize)) == NEG1) { in main()
124 hole_addr = hole_start + pagesize; /* munmap the other pages */ in main()