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/
H A 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()
265 * @param num_heaps Number of separate caches/buckets indexed by bucket_index
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()
[all...]
H A Dpb_slab.c138 assert(heap < slabs->num_heaps); in pb_slab_alloc_reclaimed()
236 unsigned num_heaps, bool allow_three_fourth_allocations, in pb_slabs_init()
250 slabs->num_heaps = num_heaps; in pb_slabs_init()
260 num_groups = slabs->num_orders * slabs->num_heaps * in pb_slabs_init()
234 pb_slabs_init(struct pb_slabs *slabs, unsigned min_order, unsigned max_order, unsigned num_heaps, bool allow_three_fourth_allocations, void *priv, slab_can_reclaim_fn *can_reclaim, slab_alloc_fn *slab_alloc, slab_free_fn *slab_free) pb_slabs_init() argument
H A Dpb_cache.h60 unsigned num_heaps; member
77 void pb_cache_init(struct pb_cache *mgr, uint num_heaps,
H A Dpb_slab.h119 unsigned num_heaps; member
152 unsigned num_heaps, bool allow_three_fourth_allocations,

Completed in 3 milliseconds