Searched refs:min_objects (Results 1 – 1 of 1) sorted by relevance
1813 static inline int slab_order(int size, int min_objects, in slab_order() argument1824 fls(min_objects * size - 1) - PAGE_SHIFT); in slab_order()1829 if (slab_size < min_objects * size) in slab_order()1845 int min_objects; in calculate_order() local1856 min_objects = slub_min_objects; in calculate_order()1857 if (!min_objects) in calculate_order()1858 min_objects = 4 * (fls(nr_cpu_ids) + 1); in calculate_order()1859 while (min_objects > 1) { in calculate_order()1862 order = slab_order(size, min_objects, in calculate_order()1868 min_objects /= 2; in calculate_order()