Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/zsmalloc.c alloc_zspage() -> create_page_chain()

Type Parameter Key Value
PARAM_VALUE 0 class 4096-ptr_max
PARAM_VALUE 0 class->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 zspage 4096-ptr_max
PARAM_VALUE 1 zspage->magic 88
PARAM_VALUE 1 zspage->pool 4096-ptr_max
PARAM_VALUE 1 zspage->zsl.cnt 0
PARAM_VALUE 1 zspage->zsl.dep_map->name 0-255
PARAM_VALUE 2 zpdescs 4096-ptr_max
BUF_SIZE 2 zpdescs 64
CAPPED_DATA 0 class->pages_per_zspage 1
DATA_SOURCE 0 class $1
DATA_SOURCE 1 zspage r cache_alloc_zspage
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &acomp_ctx->mutex
HALF_LOCKED2 &zstrm->lock

mm/zsmalloc.c replace_sub_page() -> create_page_chain()

Type Parameter Key Value
PARAM_VALUE 0 class 4096-ptr_max
PARAM_VALUE 0 class->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 zspage 4096-ptr_max
PARAM_VALUE 1 zspage->first_zpdesc 4096-ptr_max
PARAM_VALUE 1 zspage->first_zpdesc->flags.f 0-s64max
PARAM_VALUE 1 zspage->magic 88
PARAM_VALUE 1 zspage->pool 4096-ptr_max
PARAM_VALUE 1 zspage->pool->lock.dep_map->name 0-255
PARAM_VALUE 1 zspage->pool->lock.owner_cpu 0
PARAM_VALUE 1 zspage->pool->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 zspage->zsl.cnt (-1)
PARAM_VALUE 1 zspage->zsl.dep_map->name 0-255
PARAM_VALUE 2 zpdescs 4096-ptr_max
BUF_SIZE 2 zpdescs 64
DATA_SOURCE 0 class $0
DATA_SOURCE 1 zspage $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pool->lock
LOCK2 0 &class->lock
LOCK2 1 &zspage->zsl.lock
TYPE_LOCK (struct size_class)->lock
TYPE_LOCK (struct zs_pool)->lock
TYPE_LOCK (struct zspage_lock)->lock