Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

io_uring/net.c io_recvmsg_copy_hdr() -> io_msg_copy_hdr()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->async_data 1-u64max
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-26,28-64
PARAM_VALUE 1 iomsg 4096-ptr_max
PARAM_VALUE 2 msg 8760747627640086528
PARAM_VALUE 3 ddir 0
BUF_SIZE 0 req->ctx s32min-(-1),1-s32max
BUF_SIZE 1 iomsg 0-s32max
BUF_SIZE 1 iomsg 0-s32max
CAPPED_DATA 0 req->opcode 1
CAPPED_DATA 1 iomsg 1
DATA_SOURCE 0 req $0
DATA_SOURCE 1 iomsg $1
USER_DATA 0 req->ctx->submit_state.need_plug 0-1
USER_DATA 0 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

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

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 0 req->async_data 1-u64max
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-46,48-64
PARAM_VALUE 1 iomsg 1-u64max
PARAM_VALUE 2 msg 4855515149667258368
PARAM_VALUE 3 ddir 1
PARAM_VALUE 4 save_addr 0
BUF_SIZE 0 req->ctx s32min-(-1),1-s32max
BUF_SIZE 1 iomsg 1-s32max
BUF_SIZE 1 iomsg 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]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock