Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dslab.h209 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
290 #ifndef KMALLOC_MIN_SIZE
291 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
302 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
303 (KMALLOC_MIN_SIZE) : 16)
355 if (size <= KMALLOC_MIN_SIZE) in kmalloc_index()
358 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in kmalloc_index()
360 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in kmalloc_index()
575 if (n == 1 && KMALLOC_MIN_SIZE <= 32) in kmalloc_size()
578 if (n == 2 && KMALLOC_MIN_SIZE <= 64) in kmalloc_size()
/Linux-v5.4/mm/
Dslab_common.c1179 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
1180 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()
1182 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
1190 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
1200 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
1264 if (KMALLOC_MIN_SIZE <= 32 && i == 6 && in create_kmalloc_caches()
1267 if (KMALLOC_MIN_SIZE <= 64 && i == 7 && in create_kmalloc_caches()
Dslub.c4702 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); in resiliency_test()