Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/core/datagram.c __zerocopy_sg_from_iter() -> zerocopy_fill_skb_from_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0-s32max,u32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 0 | skb | 1 |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | skb | $2 |
| DATA_SOURCE | 1 | from | $3 |
| DATA_SOURCE | 2 | length | $4 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from->count | 1-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| USER_DATA | 2 | length | 1-65536[c] |
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| UNITS | 2 | length | unit_byte |
io_uring/net.c io_sg_from_iter() -> zerocopy_fill_skb_from_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| DATA_SOURCE | 2 | length | $2 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from->count | 0-u64max |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| USER_DATA | 2 | length | 1-65536[c] |
io_uring/net.c io_sg_from_iter_iovec() -> zerocopy_fill_skb_from_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| DATA_SOURCE | 2 | length | $2 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from->count | 0-u64max |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| USER_DATA | 2 | length | 1-65536[c] |