Home
last modified time | relevance | path

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

/linux/include/linux/
A Dslab.h207 #define KMALLOC_MIN_SIZE ARCH_DMA_MINALIGN macro
288 #ifndef KMALLOC_MIN_SIZE
289 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
300 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
301 (KMALLOC_MIN_SIZE) : 16)
383 if (size <= KMALLOC_MIN_SIZE) in __kmalloc_index()
386 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in __kmalloc_index()
388 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in __kmalloc_index()
/linux/mm/
A Dslab_common.c814 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
815 (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); in setup_kmalloc_cache_index_table()
817 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
825 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
835 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
895 if (KMALLOC_MIN_SIZE <= 32 && i == 6 && in create_kmalloc_caches()
898 if (KMALLOC_MIN_SIZE <= 64 && i == 7 && in create_kmalloc_caches()

Completed in 7 milliseconds