Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dslab.h202 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
283 #ifndef KMALLOC_MIN_SIZE
284 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
295 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
296 (KMALLOC_MIN_SIZE) : 16)
317 if (size <= KMALLOC_MIN_SIZE) in kmalloc_index()
320 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in kmalloc_index()
322 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in kmalloc_index()
532 if (n == 1 && KMALLOC_MIN_SIZE <= 32) in kmalloc_size()
535 if (n == 2 && KMALLOC_MIN_SIZE <= 64) in kmalloc_size()
/Linux-v4.19/mm/
Dslab_common.c1088 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
1089 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()
1091 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
1099 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
1109 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
1145 if (KMALLOC_MIN_SIZE <= 32 && !kmalloc_caches[1] && i == 6) in create_kmalloc_caches()
1147 if (KMALLOC_MIN_SIZE <= 64 && !kmalloc_caches[2] && i == 7) in create_kmalloc_caches()
Dslub.c4661 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); in resiliency_test()