Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/core/skmsg.c sk_psock_msg_verdict() -> sk_msg_compute_data_pointers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sg.curr | 0-17,19-u32max |
| PARAM_VALUE | 0 | msg->sg.data | 0 |
| PARAM_VALUE | 0 | msg->sg.data->dma_address | 0 |
| PARAM_VALUE | 0 | msg->sg.data->dma_flags | 0 |
| PARAM_VALUE | 0 | msg->sg.data->dma_length | 0 |
| PARAM_VALUE | 0 | msg->sg.data->length | 0 |
| PARAM_VALUE | 0 | msg->sg.data->offset | 0 |
| PARAM_VALUE | 0 | msg->sg.data->page_link | 0 |
| BUF_SIZE | 0 | msg | (-1),712 |
| BUF_SIZE | 0 | msg | (-1),712 |
| CAPPED_DATA | 0 | msg | 1 |
| DATA_SOURCE | 0 | msg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->sk->sk_backlog.len | |
| LOCK2 | rcu_read | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex |
net/core/filter.c ____bpf_msg_pop_data() -> sk_msg_compute_data_pointers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sg.size | 1-2147483646 |
| PARAM_VALUE | 0 | msg->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sk->__sk_common.skc_prot | 4096-ptr_max |
| CAPPED_DATA | 0 | msg->sg.start | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| NOCHECK_CALL |
net/core/filter.c ____bpf_msg_push_data() -> sk_msg_compute_data_pointers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sg.copy | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sg.data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sk->__sk_common.skc_prot | 4096-ptr_max |
| CAPPED_DATA | 0 | msg->sg.start | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->sg.size |