Home
last modified time | relevance | path

Searched refs:KMALLOC_MIN_SIZE (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dslab.h205 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
286 #ifndef KMALLOC_MIN_SIZE
287 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
298 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
299 (KMALLOC_MIN_SIZE) : 16)
351 if (size <= KMALLOC_MIN_SIZE) in kmalloc_index()
354 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in kmalloc_index()
356 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in kmalloc_index()
/kernel/linux/linux-5.10/mm/
Dslab_common.c717 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
718 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()
720 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
728 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
738 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
781 if (KMALLOC_MIN_SIZE <= 32 && i == 6 && in create_kmalloc_caches()
784 if (KMALLOC_MIN_SIZE <= 64 && i == 7 && in create_kmalloc_caches()
Dslub.c4820 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); in resiliency_test()