Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/net/tap.c tap_get_user() -> zerocopy_sg_from_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0-2000000000,3294967297-u32max |
| PARAM_VALUE | 0 | skb->destructor | 0,5871617288306880512,7346051344949997568 |
| PARAM_VALUE | 0 | skb->sk | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| BUF_SIZE | 0 | skb | 0-s32max |
| BUF_SIZE | 0 | skb | 0-s32max |
| CAPPED_DATA | 0 | skb->data_len | 1 |
| DATA_SOURCE | 0 | skb | r tap_alloc_skb |
| DATA_SOURCE | 1 | from | $2 |
| 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] |
| HALF_LOCKED2 | &vq->mutex |
drivers/net/tun.c tun_get_user() -> zerocopy_sg_from_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->destructor | 0,5871617288306880512,7346051344949997568 |
| PARAM_VALUE | 0 | skb->sk | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| BUF_SIZE | 0 | skb | 0-s32max |
| BUF_SIZE | 0 | skb | 0-s32max |
| CAPPED_DATA | 0 | skb | 1 |
| CAPPED_DATA | 0 | skb->data_len | 1 |
| DATA_SOURCE | 0 | skb | r tun_alloc_skb |
| DATA_SOURCE | 1 | from | $3 |
| 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] |
| HALF_LOCKED2 | &vq->mutex |