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

/linux-master/include/linux/
H A Dslab.h305 #define KMALLOC_MIN_SIZE ARCH_KMALLOC_MINALIGN macro
306 #define KMALLOC_SHIFT_LOW ilog2(KMALLOC_MIN_SIZE)
363 #ifndef KMALLOC_MIN_SIZE
364 #define KMALLOC_MIN_SIZE (1 << KMALLOC_SHIFT_LOW) macro
375 #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \
376 (KMALLOC_MIN_SIZE) : 16)
478 if (size <= KMALLOC_MIN_SIZE)
481 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96)
483 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192)
/linux-master/mm/
H A Dslab_common.c817 BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 ||
818 !is_power_of_2(KMALLOC_MIN_SIZE));
820 for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) {
828 if (KMALLOC_MIN_SIZE >= 64) {
838 if (KMALLOC_MIN_SIZE >= 128) {
928 if (KMALLOC_MIN_SIZE <= 32 && i == 6 &&
931 if (KMALLOC_MIN_SIZE <= 64 && i == 7 &&

Completed in 208 milliseconds