Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/ublk_drv.c ublk_apply_io_buf() -> ublk_clear_auto_buf_reg()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->flags 1-u32max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 buf_idx 0,8447954209776881664
PARAM_VALUE 2 *buf_idx u16max
DATA_SOURCE 0 io $1
DATA_SOURCE 1 cmd $2
DATA_SOURCE 2 buf_idx $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->uring_lock
HALF_LOCKED2 &ub->mutex

drivers/block/ublk_drv.c ublk_batch_commit_io() -> ublk_clear_auto_buf_reg()

Type Parameter Key Value
PARAM_VALUE 0 io 4096-ptr_max
PARAM_VALUE 0 io->flags 1-u32max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 buf_idx 6979529353739612160
PARAM_VALUE 2 *buf_idx u16max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 io->res s32min-s32max[u]
LOCK2 0 &io->lock
HALF_LOCKED2 &ctx->uring_lock
HALF_LOCKED2 &data->ub->mutex
TYPE_LOCK (struct ublk_io)->lock