Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/zram/zram_drv.c comp_algorithm_store() -> __comp_algorithm_store()

Type Parameter Key Value
PARAM_VALUE 1 prio 0
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 zram s32min-(-2),1-s32max
BUF_SIZE 0 zram s32min-(-2),1-s32max
DATA_SOURCE 0 zram r dev_to_zram
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/zram/zram_drv.c recomp_algorithm_store() -> __comp_algorithm_store()

Type Parameter Key Value
PARAM_VALUE 1 prio 1-3
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 2 *buf 1-255
BUF_SIZE 0 zram s32min-(-2),1-s32max
BUF_SIZE 0 zram s32min-(-2),1-s32max
DATA_SOURCE 0 zram r dev_to_zram
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 prio 1-3
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex