Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/null_blk/main.c nullb_device_zone_offline_store() -> zone_cond_store()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 1 page 1-u64max
PARAM_VALUE 1 *page 0
PARAM_VALUE 2 count 1-s32max
PARAM_VALUE 3 cond 15
BUF_SIZE 1 page 4096
BUF_SIZE 1 page 4096
DATA_SOURCE 0 dev r to_nullb_device
DATA_SOURCE 1 page $1
DATA_SOURCE 2 count $2
TERMINATED 1 page 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 count 1-s32max
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/block/null_blk/main.c nullb_device_zone_readonly_store() -> zone_cond_store()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 1 page 1-u64max
PARAM_VALUE 1 *page 0
PARAM_VALUE 2 count 1-s32max
PARAM_VALUE 3 cond 13
BUF_SIZE 1 page 4096
BUF_SIZE 1 page 4096
DATA_SOURCE 0 dev r to_nullb_device
DATA_SOURCE 1 page $1
DATA_SOURCE 2 count $2
TERMINATED 1 page 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 count 1-s32max
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem