Searched refs:bucket_for_size (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_bufmgr.c | 220 bucket_for_size(struct crocus_bufmgr *bufmgr, uint64_t size) in bucket_for_size() function 399 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, size); in bo_alloc_internal() 712 bucket = bucket_for_size(bufmgr, bo->size); in bo_unreference_final() 1485 assert(bucket_for_size(bufmgr, size) == &bufmgr->cache_bucket[i]); in add_bucket() 1486 assert(bucket_for_size(bufmgr, size - 2048) == &bufmgr->cache_bucket[i]); in add_bucket() 1487 assert(bucket_for_size(bufmgr, size + 1) != &bufmgr->cache_bucket[i]); in add_bucket()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 315 bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size, in bucket_for_size() function 1067 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, size, heap); in iris_bo_alloc() 1461 bucket = bucket_for_size(bufmgr, bo->size, bo->real.heap); in bo_unreference_final() 2116 assert(bucket_for_size(bufmgr, size, heap) == &buckets[i]); in add_bucket() 2117 assert(bucket_for_size(bufmgr, size - 2048, heap) == &buckets[i]); in add_bucket() 2118 assert(bucket_for_size(bufmgr, size + 1, heap) != &buckets[i]); in add_bucket()
|