Searched refs:num_heaps (Results 1 – 4 of 4) sorted by relevance
95 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() argument289 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()
127 assert(heap < slabs->num_heaps); in pb_slab_alloc()215 unsigned num_heaps, bool allow_three_fourth_allocations, in pb_slabs_init() argument229 slabs->num_heaps = num_heaps; in pb_slabs_init()239 num_groups = slabs->num_orders * slabs->num_heaps * in pb_slabs_init()
119 unsigned num_heaps; member149 unsigned num_heaps, bool allow_three_fourth_allocations,
60 unsigned num_heaps; member77 void pb_cache_init(struct pb_cache *mgr, uint num_heaps,