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

/linux-4.4.14/mm/
H A Dzsmalloc.c131 /* ZS_MIN_ALLOC_SIZE must be multiple of ZS_ALIGN */
132 #define ZS_MIN_ALLOC_SIZE \ macro
147 * ZS_MIN_ALLOC_SIZE and ZS_SIZE_CLASS_DELTA must be multiple of ZS_ALIGN
450 if (likely(size > ZS_MIN_ALLOC_SIZE)) get_size_class_index()
451 idx = DIV_ROUND_UP(size - ZS_MIN_ALLOC_SIZE, get_size_class_index()
1215 nr = (ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) / ZS_SIZE_CLASS_DELTA + 1; init_zs_size_classes()
1216 if ((ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) % ZS_SIZE_CLASS_DELTA) init_zs_size_classes()
1920 size = ZS_MIN_ALLOC_SIZE + i * ZS_SIZE_CLASS_DELTA; zs_create_pool()

Completed in 56 milliseconds