Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dslab.h205 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
298 #ifndef KMALLOC_MIN_SIZE
299 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
310 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
311 (KMALLOC_MIN_SIZE) : 16)
363 if (size <= KMALLOC_MIN_SIZE) in kmalloc_index()
366 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in kmalloc_index()
368 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in kmalloc_index()
/OK3568_Linux_fs/kernel/mm/
H A Dslab_common.c739 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
740 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()
742 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
750 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
760 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
803 if (KMALLOC_MIN_SIZE <= 32 && i == 6 && in create_kmalloc_caches()
806 if (KMALLOC_MIN_SIZE <= 64 && i == 7 && in create_kmalloc_caches()
H A Dslub.c4822 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); in resiliency_test()