Searched refs:KMALLOC_MIN_SIZE (Results 1 – 2 of 2) sorted by relevance
624 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN macro625 #define KMALLOC_SHIFT_LOW ilog2(KMALLOC_MIN_SIZE)682 #ifndef KMALLOC_MIN_SIZE683 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro694 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \695 (KMALLOC_MIN_SIZE) : 16)804 if (size <= KMALLOC_MIN_SIZE) in __kmalloc_index()807 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in __kmalloc_index()809 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in __kmalloc_index()
919 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()920 !is_power_of_2(KMALLOC_MIN_SIZE)); in setup_kmalloc_cache_index_table()922 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()930 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()940 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()1037 if (KMALLOC_MIN_SIZE <= 32) in create_kmalloc_caches()1039 if (KMALLOC_MIN_SIZE <= 64) in create_kmalloc_caches()