Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
H A Dzsmalloc.c134 #define ZS_MAX_ALLOC_SIZE PAGE_SIZE macro
150 #define ZS_SIZE_CLASSES (DIV_ROUND_UP(ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE, \
1123 area->vm_buf = kmalloc(ZS_MAX_ALLOC_SIZE, GFP_KERNEL); in __zs_cpu_up()
1414 * Allocation requests with size > ZS_MAX_ALLOC_SIZE will fail.
1423 if (unlikely(!size || size > ZS_MAX_ALLOC_SIZE)) in zs_malloc()
2428 if (size > ZS_MAX_ALLOC_SIZE) in zs_create_pool()
2429 size = ZS_MAX_ALLOC_SIZE; in zs_create_pool()
/kernel/linux/linux-6.6/mm/
H A Dzsmalloc.c130 #define ZS_MAX_ALLOC_SIZE PAGE_SIZE macro
146 #define ZS_SIZE_CLASSES (DIV_ROUND_UP(ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE, \
1041 area->vm_buf = kmalloc(ZS_MAX_ALLOC_SIZE, GFP_KERNEL); in __zs_cpu_up()
1358 * Allocation requests with size > ZS_MAX_ALLOC_SIZE will fail.
1367 if (unlikely(!size || size > ZS_MAX_ALLOC_SIZE)) in zs_malloc()
2202 if (size > ZS_MAX_ALLOC_SIZE) in zs_create_pool()
2203 size = ZS_MAX_ALLOC_SIZE; in zs_create_pool()

Completed in 7 milliseconds