Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

io_uring/uring_cmd.c io_uring_cmd_import_fixed_vec() -> io_prep_reg_iovec()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
DATA_SOURCE 0 req $0
DATA_SOURCE 2 uvec $1
DATA_SOURCE 3 uvec_segs $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

io_uring/net.c io_send_setup() -> io_prep_reg_iovec()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->async_data 4096-ptr_max
PARAM_VALUE 0 req->cancel_seq_set 0
PARAM_VALUE 0 req->ctx 4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 0 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 req->file 0
PARAM_VALUE 0 req->flags 4194304-2152220832
PARAM_VALUE 0 req->opcode 0-8,10-64
PARAM_VALUE 1 iv 4096-ptr_max
PARAM_VALUE 3 uvec_segs 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 0 req->opcode 1
DATA_SOURCE 0 req $0
USER_DATA 0 req->ctx->submit_state.need_plug 0-1
USER_DATA 0 req->ctx->submit_state.submit_nr 1-u16max[c]
UNITS 2 uvec unit_byte
UNITS 3 uvec_segs unit_byte
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/net.c io_sendmsg_setup() -> io_prep_reg_iovec()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->async_data 4096-ptr_max
PARAM_VALUE 0 req->cancel_seq_set 0
PARAM_VALUE 0 req->cmd.len s32min-s32max
PARAM_VALUE 0 req->ctx 4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 0 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 req->file 0
PARAM_VALUE 0 req->flags 4194304-2152220832
PARAM_VALUE 0 req->opcode 0-46,48-64
PARAM_VALUE 1 iv 4096-ptr_max
BUF_SIZE 0 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 0 req->opcode 1
DATA_SOURCE 0 req $0
USER_DATA 0 req->cmd.len s32min-s32max
USER_DATA 0 req->ctx->submit_state.need_plug 0-1
USER_DATA 0 req->ctx->submit_state.submit_nr 1-u16max[c]
USER_DATA 3 uvec_segs 0-u32max
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/rw.c io_rw_prep_reg_vec() -> io_prep_reg_iovec()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->async_data 4096-ptr_max
PARAM_VALUE 0 req->cancel_seq_set 0
PARAM_VALUE 0 req->cmd.flags s32min-s32max
PARAM_VALUE 0 req->cmd.kiocb.ki_complete 1762706134690463744,4094793246615478272
PARAM_VALUE 0 req->cmd.kiocb.ki_flags 0
PARAM_VALUE 0 req->cmd.kiocb.ki_ioprio 0-u16max
PARAM_VALUE 0 req->cmd.kiocb.ki_write_stream 0-255
PARAM_VALUE 0 req->cmd.len 0-4294967295
PARAM_VALUE 0 req->ctx 4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 0 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 req->file 0
PARAM_VALUE 0 req->flags 4194304-4194464,4202496-4202656,4718592-4718752,4726784-4726944,274882101248-274882101408,274882109440-274882109600,274882625536-274882625696,274882633728-274882633888
PARAM_VALUE 0 req->opcode 0-64
PARAM_VALUE 1 iv 4096-ptr_max
BUF_SIZE 0 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 0 req->opcode 1
DATA_SOURCE 0 req $0
USER_DATA 0 req->ctx->submit_state.need_plug 0-1
USER_DATA 0 req->ctx->submit_state.submit_nr 1-u16max[c]
UNITS 2 uvec unit_byte
UNITS 3 uvec_segs unit_byte
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock