Home
last modified time | relevance | path

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

/linux/include/linux/
A Dslab.h486 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN macro
487 #define KMALLOC_SHIFT_LOW ilog2(KMALLOC_MIN_SIZE)
544 #ifndef KMALLOC_MIN_SIZE
545 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
556 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
557 (KMALLOC_MIN_SIZE) : 16)
660 if (size <= KMALLOC_MIN_SIZE) in __kmalloc_index()
663 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in __kmalloc_index()
665 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in __kmalloc_index()
/linux/mm/
A Dslab_common.c851 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || in setup_kmalloc_cache_index_table()
852 !is_power_of_2(KMALLOC_MIN_SIZE)); in setup_kmalloc_cache_index_table()
854 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) { in setup_kmalloc_cache_index_table()
862 if (KMALLOC_MIN_SIZE >= 64) { in setup_kmalloc_cache_index_table()
872 if (KMALLOC_MIN_SIZE >= 128) { in setup_kmalloc_cache_index_table()
954 if (KMALLOC_MIN_SIZE <= 32) in create_kmalloc_caches()
956 if (KMALLOC_MIN_SIZE <= 64) in create_kmalloc_caches()

Completed in 40 milliseconds