Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/zsmalloc.c fix_fullness_group() -> insert_zspage()

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->list.next 4096-ptr_max
PARAM_VALUE 1 zspage->list.next->next 4096-ptr_max
PARAM_VALUE 1 zspage->list.next->prev 4096-ptr_max
PARAM_VALUE 1 zspage->list.prev 4096-ptr_max
PARAM_VALUE 1 zspage->list.prev->next 4096-ptr_max
PARAM_VALUE 1 zspage->list.prev->prev 4096-ptr_max
DATA_SOURCE 0 class $0
DATA_SOURCE 1 zspage $1
DATA_SOURCE 2 fullness r get_fullness_group
PARAM_COMPARE 2 fullness != $1->fullness
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &class->lock
TYPE_LOCK (struct size_class)->lock

mm/zsmalloc.c putback_zspage() -> insert_zspage()

Type Parameter Key Value
PARAM_VALUE 0 class 4096-ptr_max
PARAM_VALUE 0 class->index 0-254
PARAM_VALUE 0 class->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 zspage 4096-ptr_max
CAPPED_DATA 0 class->index 1
DATA_SOURCE 0 class $0
DATA_SOURCE 1 zspage $1
DATA_SOURCE 2 fullness r get_fullness_group
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pool->lock
LOCK2 0 &class->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct size_class)->lock
TYPE_LOCK (struct zs_pool)->lock

mm/zsmalloc.c zs_malloc() -> insert_zspage()

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->huge 1
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
CAPPED_DATA 0 class->pages_per_zspage 1
DATA_SOURCE 0 class r lookup_size_class
DATA_SOURCE 1 zspage r alloc_zspage
DATA_SOURCE 2 fullness r get_fullness_group
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &class->lock
HALF_LOCKED2 &acomp_ctx->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct size_class)->lock