Defined in 2 files as a function:
- drivers/net/wireguard/socket.c, line 20 (as a function)
- drivers/spi/spi-realtek-rtl.c, line 64 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wireguard/socket.c wg_socket_send_buffer_as_reply_to_skb() -> send4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wg | 4096-ptr_max |
| PARAM_VALUE | 0 | wg->cookie_checker->secret | 0-255 |
| PARAM_VALUE | 0 | wg->cookie_checker.secret_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | wg->cookie_checker.secret_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | wg->static_identity.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | wg->static_identity.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | endpoint | 8816560693925875712 |
| PARAM_VALUE | 2 | endpoint->addr4.sin_family | 0,2 |
| PARAM_VALUE | 2 | endpoint->addr6.sin6_family | 0,10 |
| PARAM_VALUE | 3 | ds | 0 |
| PARAM_VALUE | 4 | cache | 0 |
| BUF_SIZE | 1 | skb | 176 |
| BUF_SIZE | 1 | skb | 176 |
| DATA_SOURCE | 0 | wg | $0 |
| DATA_SOURCE | 1 | skb | r alloc_skb |
| MEM_ZERO | 2 | endpoint |
drivers/net/wireguard/socket.c wg_socket_send_skb_to_peer() -> send4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | endpoint | 4096-ptr_max |
| PARAM_VALUE | 2 | endpoint->addr.sa_family | 2 |
| PARAM_VALUE | 4 | cache | 4096-ptr_max |
| BUF_SIZE | 1 | skb | (-1),204,260 |
| BUF_SIZE | 1 | skb | (-1),204,260 |
| DATA_SOURCE | 1 | skb | $1 |
| DATA_SOURCE | 3 | ds | $2 |
| UNITS | 1 | skb | unit_byte |
| LOCK2 | &peer->endpoint_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct wg_peer)->endpoint_lock |