Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/zsmalloc.c SetZsPageMovable() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc->flags.f 0-s64max
PARAM_VALUE 0 zspage->huge 1
PARAM_VALUE 0 zspage->list.next 4096-ptr_max
PARAM_VALUE 0 zspage->list.prev 4096-ptr_max
PARAM_VALUE 0 zspage->magic 88
PARAM_VALUE 0 zspage->pool 4096-ptr_max
PARAM_VALUE 0 zspage->zsl.cnt 0
PARAM_VALUE 0 zspage->zsl.dep_map->name 0-255
DATA_SOURCE 0 zspage $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &class->lock
HALF_LOCKED2 &acomp_ctx->mutex
HALF_LOCKED2 &zstrm->lock
TYPE_LOCK (struct size_class)->lock

mm/zsmalloc.c __free_zspage_lockless() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc 4096-ptr_max
PARAM_VALUE 0 zspage->fullness 0
PARAM_VALUE 0 zspage->inuse 0
DATA_SOURCE 0 zspage $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &class->lock

mm/zsmalloc.c init_zspage() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc->handle 0
PARAM_VALUE 0 zspage->first_zpdesc->next 0
PARAM_VALUE 0 zspage->first_zpdesc->zspage 4096-ptr_max
PARAM_VALUE 0 zspage->huge 1
PARAM_VALUE 0 zspage->magic 88
PARAM_VALUE 0 zspage->pool 4096-ptr_max
PARAM_VALUE 0 zspage->zsl.cnt 0
PARAM_VALUE 0 zspage->zsl.dep_map->name 0-255
DATA_SOURCE 0 zspage $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &acomp_ctx->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &zstrm->lock
HALF_LOCKED2 _T->lock

mm/zsmalloc.c lock_zspage() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
DATA_SOURCE 0 zspage $0
HALF_LOCKED2 &pool->lock

mm/zsmalloc.c migrate_zspage() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
PARAM_VALUE 0 zspage->list.next 4096-ptr_max
PARAM_VALUE 0 zspage->list.next->next 4096-ptr_max
PARAM_VALUE 0 zspage->list.prev 4096-ptr_max
PARAM_VALUE 0 zspage->list.prev->next 4096-ptr_max
PARAM_VALUE 0 zspage->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 zspage->zsl.cnt (-1)
PARAM_VALUE 0 zspage->zsl.dep_map->name 0-255
DATA_SOURCE 0 zspage $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &class->lock
LOCK2 &pool->lock
LOCK2 0 &zspage->zsl.lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct size_class)->lock
TYPE_LOCK (struct zs_pool)->lock
TYPE_LOCK (struct zspage_lock)->lock

mm/zsmalloc.c obj_malloc() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
DATA_SOURCE 0 zspage $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &class->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &src_zspage->zsl.lock
TYPE_LOCK (struct size_class)->lock

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

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

mm/zsmalloc.c trylock_zspage() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
DATA_SOURCE 0 zspage $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &class->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct size_class)->lock

mm/zsmalloc.c trylock_zspage() -> get_first_zpdesc()

Type Parameter Key Value
PARAM_VALUE 0 zspage 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc 4096-ptr_max
PARAM_VALUE 0 zspage->first_zpdesc->flags.f 0-s64max
DATA_SOURCE 0 zspage $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &class->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct size_class)->lock