Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_mm.c12 #define MM_MIN_ORDER 7 macro
15 #define MM_NUM_BUCKETS (MM_MAX_ORDER - MM_MIN_ORDER + 1)
17 #define MM_MIN_SIZE (1 << MM_MIN_ORDER)
90 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER]; in mm_bucket_by_order()
103 static const int8_t slab_order[MM_MAX_ORDER - MM_MIN_ORDER + 1] = in mm_default_slab_size()
108 assert(chunk_order <= MM_MAX_ORDER && chunk_order >= MM_MIN_ORDER); in mm_default_slab_size()
110 return 1 << slab_order[chunk_order - MM_MIN_ORDER]; in mm_default_slab_size()
181 mm_slab_new(cache, MAX2(mm_get_order(size), MM_MIN_ORDER)); in nouveau_mm_allocate()