Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/block/zram/zram_drv.c read_compressed_page() -> zs_obj_read_end()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->lock.dep_map->name 0-255
PARAM_VALUE 2 mem_len 0-8191
BUF_SIZE 3 handle_mem (-1),4096
BUF_SIZE 3 handle_mem (-1),4096
CAPPED_DATA 2 mem_len 1
DATA_SOURCE 1 handle r get_slot_handle
DATA_SOURCE 2 mem_len r get_slot_size
DATA_SOURCE 3 handle_mem r zs_obj_read_begin
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/block/zram/zram_drv.c read_from_zspool_raw() -> zs_obj_read_end()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->lock.dep_map->name 0-255
PARAM_VALUE 2 mem_len 0-8191
BUF_SIZE 3 handle_mem (-1),4096
BUF_SIZE 3 handle_mem (-1),4096
DATA_SOURCE 1 handle r get_slot_handle
DATA_SOURCE 2 mem_len r get_slot_size
DATA_SOURCE 3 handle_mem r zs_obj_read_begin
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 read_incompressible_page() -> zs_obj_read_end()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->lock.dep_map->name 0-255
PARAM_VALUE 2 mem_len 4096
BUF_SIZE 3 handle_mem (-1),4096
BUF_SIZE 3 handle_mem (-1),4096
DATA_SOURCE 1 handle r get_slot_handle
DATA_SOURCE 3 handle_mem r zs_obj_read_begin
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 mem_len unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock