Searched refs:KMALLOC_MIN_SIZE (Results 1 – 2 of 2) sorted by relevance
549 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN macro550 #define KMALLOC_SHIFT_LOW ilog2(KMALLOC_MIN_SIZE)607 #ifndef KMALLOC_MIN_SIZE608 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro619 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \620 (KMALLOC_MIN_SIZE) : 16)723 if (size <= KMALLOC_MIN_SIZE) in __kmalloc_index()726 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in __kmalloc_index()728 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in __kmalloc_index()
861 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()862 !is_power_of_2(KMALLOC_MIN_SIZE)); in setup_kmalloc_cache_index_table()864 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()872 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()882 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()964 if (KMALLOC_MIN_SIZE <= 32) in create_kmalloc_caches()966 if (KMALLOC_MIN_SIZE <= 64) in create_kmalloc_caches()