Searched refs:MM_MIN_ORDER (Results 1 – 1 of 1) sorted by relevance
19 #define MM_MIN_ORDER 7 /* >= 6 to not violate ARB_map_buffer_alignment */ macro22 #define MM_NUM_BUCKETS (MM_MAX_ORDER - MM_MIN_ORDER + 1)24 #define MM_MIN_SIZE (1 << MM_MIN_ORDER)97 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER]; in mm_bucket_by_order()110 static const int8_t slab_order[MM_MAX_ORDER - MM_MIN_ORDER + 1] = in mm_default_slab_size()115 assert(chunk_order <= MM_MAX_ORDER && chunk_order >= MM_MIN_ORDER); in mm_default_slab_size()117 return 1 << slab_order[chunk_order - MM_MIN_ORDER]; in mm_default_slab_size()188 mm_slab_new(cache, MAX2(mm_get_order(size), MM_MIN_ORDER)); in nouveau_mm_allocate()