Searched refs:KMALLOC_MIN_SIZE (Results 1 – 4 of 4) sorted by relevance
154 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro235 #ifndef KMALLOC_MIN_SIZE236 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro247 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \248 (KMALLOC_MIN_SIZE) : 16)269 if (size <= KMALLOC_MIN_SIZE) in kmalloc_index()272 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in kmalloc_index()274 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in kmalloc_index()477 if (n == 1 && KMALLOC_MIN_SIZE <= 32) in kmalloc_size()480 if (n == 2 && KMALLOC_MIN_SIZE <= 64) in kmalloc_size()
913 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()914 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()916 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()924 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()934 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()969 if (KMALLOC_MIN_SIZE <= 32 && !kmalloc_caches[1] && i == 6) in create_kmalloc_caches()971 if (KMALLOC_MIN_SIZE <= 64 && !kmalloc_caches[2] && i == 7) in create_kmalloc_caches()
285 #define OFF_SLAB_MIN_SIZE (max_t(size_t, PAGE_SIZE >> 5, KMALLOC_MIN_SIZE + 1))
4405 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); in resiliency_test()