Searched refs:chunk_order (Results 1 – 1 of 1) sorted by relevance
108 mm_default_slab_size(unsigned chunk_order) in mm_default_slab_size() argument115 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()121 mm_slab_new(struct nouveau_mman *cache, int chunk_order) in mm_slab_new() argument125 const uint32_t size = mm_default_slab_size(chunk_order); in mm_slab_new()127 words = ((size >> chunk_order) + 31) / 32; in mm_slab_new()148 slab->order = chunk_order; in mm_slab_new()149 slab->count = slab->free = size >> chunk_order; in mm_slab_new()151 LIST_ADD(&slab->head, &mm_bucket_by_order(cache, chunk_order)->free); in mm_slab_new()