Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
io_uring/net.c io_recvmsg_copy_hdr() -> io_net_import_vec()
| 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->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-26,28-64 |
| PARAM_VALUE | 1 | iomsg | 4096-ptr_max |
| PARAM_VALUE | 1 | iomsg->msg.msg_control_is_user | 1 |
| PARAM_VALUE | 1 | iomsg->msg.msg_get_inq | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.folioq_slot | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.nr_segs | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.xarray_start | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_namelen | 0-128 |
| PARAM_VALUE | 1 | iomsg->msg.msg_ubuf | 0 |
| PARAM_VALUE | 4 | 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 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffffdf |
| 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 | 1 | iomsg->msg.msg_controllen | 0-u32max |
| USER_DATA | 1 | iomsg->msg.msg_flags | 0-u32max |
| USER_DATA | 1 | iomsg->msg.msg_name->ss_family | 0-u16max |
| USER_DATA | 1 | *iomsg->msg.msg_name | s64min-s64max |
| USER_DATA | 3 | uvec_seg | 0-u32max |
| USER_PTR | 1 | iomsg->msg.msg_name | |
| LOCK2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/net.c io_send_setup() -> io_net_import_vec()
| 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 | iomsg | 4096-ptr_max |
| PARAM_VALUE | 1 | iomsg->msg.msg_control | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_control_user | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_controllen | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_namelen | 0-128 |
| PARAM_VALUE | 1 | iomsg->msg.msg_ubuf | 0 |
| PARAM_VALUE | 4 | ddir | 1 |
| BUF_SIZE | 0 | req->ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | iomsg | 1-s32max |
| BUF_SIZE | 1 | iomsg | 1-s32max |
| BUF_SIZE | 1 | iomsg->msg.msg_name | 0,128 |
| CAPPED_DATA | 0 | req->opcode | 1 |
| CAPPED_DATA | 1 | iomsg->msg.msg_namelen | 1 |
| DATA_SOURCE | 0 | req | $0 |
| FUZZY_MAX | 1 | iomsg->msg.msg_namelen | 0 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffffdf |
| 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 | 1 | iomsg->addr.ss_family | 0-u16max |
| UNITS | 2 | uiov | unit_byte |
| UNITS | 3 | uvec_seg | 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_net_import_vec()
| 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 | iomsg | 4096-ptr_max |
| PARAM_VALUE | 1 | iomsg->msg.msg_control_is_user | 1 |
| PARAM_VALUE | 1 | iomsg->msg.msg_get_inq | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.folioq_slot | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.nr_segs | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_iter.xarray_start | 0 |
| PARAM_VALUE | 1 | iomsg->msg.msg_namelen | 0-128 |
| PARAM_VALUE | 1 | iomsg->msg.msg_ubuf | 0 |
| PARAM_VALUE | 4 | ddir | 1 |
| 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 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffffdf |
| 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 | 1 | iomsg->msg.msg_controllen | 0-u32max |
| USER_DATA | 1 | iomsg->msg.msg_flags | 0-u32max |
| USER_DATA | 1 | iomsg->msg.msg_name->ss_family | 0-u16max |
| USER_DATA | 1 | *iomsg->msg.msg_name | s64min-s64max |
| USER_DATA | 3 | uvec_seg | 0-u32max |
| USER_PTR | 1 | iomsg->msg.msg_name | |
| LOCK2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |