Home
last modified time | relevance | path

Searched refs:num_heaps (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.c95 for (i = 0; i < mgr->num_heaps; i++) in pb_cache_add_buffer()
157 assert(bucket_index < mgr->num_heaps); in pb_cache_reclaim_buffer()
234 for (i = 0; i < mgr->num_heaps; i++) { in pb_cache_release_all_buffers()
253 assert(bucket_index < mgr->num_heaps); in pb_cache_init_entry()
280 pb_cache_init(struct pb_cache *mgr, uint num_heaps, in pb_cache_init() argument
289 mgr->buckets = CALLOC(num_heaps, sizeof(struct list_head)); in pb_cache_init()
293 for (i = 0; i < num_heaps; i++) in pb_cache_init()
300 mgr->num_heaps = num_heaps; in pb_cache_init()
Dpb_slab.c127 assert(heap < slabs->num_heaps); in pb_slab_alloc()
215 unsigned num_heaps, bool allow_three_fourth_allocations, in pb_slabs_init() argument
229 slabs->num_heaps = num_heaps; in pb_slabs_init()
239 num_groups = slabs->num_orders * slabs->num_heaps * in pb_slabs_init()
Dpb_slab.h119 unsigned num_heaps; member
149 unsigned num_heaps, bool allow_three_fourth_allocations,
Dpb_cache.h60 unsigned num_heaps; member
77 void pb_cache_init(struct pb_cache *mgr, uint num_heaps,