Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireguard/send.c wg_packet_create_data() -> wg_queue_enqueue_per_peer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-8628176513917739007,8628176513917739009-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->prev | 0 |
| PARAM_VALUE | 1 | state | 2 |
| DATA_SOURCE | 0 | skb | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | skb | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/send.c wg_packet_encrypt_worker() -> wg_queue_enqueue_per_peer_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-2 |
| BUF_SIZE | 0 | skb | 1-s32max |
| BUF_SIZE | 0 | skb | 1-s32max |
| DATA_SOURCE | 0 | skb | r ptr_ring_consume_bh |
| FUZZY_MAX | 1 | state | 2 |
| HARD_MAX | 1 | state | 2 |
| NOCHECK_CALL |