Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/wireguard/allowedips.c lookup() -> wg_peer_get_maybe_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mutex |
drivers/net/wireguard/peerlookup.c wg_index_hashtable_lookup() -> wg_peer_get_maybe_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &wg->static_identity.lock |
drivers/net/wireguard/peerlookup.c wg_pubkey_hashtable_lookup() -> wg_peer_get_maybe_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |