Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/zram/zram_drv.c recompress_store() -> select_pp_slot()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->pp_buckets 4096-ptr_max
BUF_SIZE 0 ctl 1040
DATA_SOURCE 0 ctl r init_pp_ctl
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/zram/zram_drv.c recompress_store() -> select_pp_slot()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->pp_buckets 4096-ptr_max
BUF_SIZE 0 ctl 1040
DATA_SOURCE 0 ctl r init_pp_ctl
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/zram/zram_drv.c zram_writeback_slots() -> select_pp_slot()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->pp_buckets 4096-ptr_max
BUF_SIZE 0 ctl 1040
DATA_SOURCE 0 ctl $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/zram/zram_drv.c zram_writeback_slots() -> select_pp_slot()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->pp_buckets 4096-ptr_max
BUF_SIZE 0 ctl 1040
DATA_SOURCE 0 ctl $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex