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

/linux-4.1.27/include/linux/
H A Dslab.h154 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
217 #ifndef KMALLOC_MIN_SIZE
218 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
229 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
230 (KMALLOC_MIN_SIZE) : 16)
251 if (size <= KMALLOC_MIN_SIZE) kmalloc_index()
254 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) kmalloc_index()
256 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) kmalloc_index()
449 if (n == 1 && KMALLOC_MIN_SIZE <= 32) kmalloc_size()
452 if (n == 2 && KMALLOC_MIN_SIZE <= 64) kmalloc_size()
/linux-4.1.27/mm/
H A Dslab_common.c806 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || create_kmalloc_caches()
807 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); create_kmalloc_caches()
809 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { create_kmalloc_caches()
817 if (KMALLOC_MIN_SIZE >= 64) { create_kmalloc_caches()
827 if (KMALLOC_MIN_SIZE >= 128) { create_kmalloc_caches()
847 if (KMALLOC_MIN_SIZE <= 32 && !kmalloc_caches[1] && i == 6) create_kmalloc_caches()
850 if (KMALLOC_MIN_SIZE <= 64 && !kmalloc_caches[2] && i == 7) create_kmalloc_caches()
H A Dslub.c4190 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); resiliency_test()

Completed in 122 milliseconds