Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireguard/allowedips.c find_node() -> prefix_matches()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| PARAM_VALUE | 1 | key | 2751206485399166976 |
| PARAM_VALUE | 2 | bits | 32,128 |
| BUF_SIZE | 1 | key | 16 |
| BUF_SIZE | 1 | key | 16 |
| CAPPED_DATA | 2 | bits | 1 |
| DATA_SOURCE | 1 | key | $2 |
| DATA_SOURCE | 2 | bits | $1 |
| HARD_MAX | 2 | bits | 128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mutex |
drivers/net/wireguard/allowedips.c find_node() -> prefix_matches()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| PARAM_VALUE | 0 | node->bit | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 2751206485399166976 |
| PARAM_VALUE | 2 | bits | 32,128 |
| BUF_SIZE | 1 | key | 16 |
| BUF_SIZE | 1 | key | 16 |
| CAPPED_DATA | 2 | bits | 1 |
| DATA_SOURCE | 1 | key | $2 |
| DATA_SOURCE | 2 | bits | $1 |
| HARD_MAX | 2 | bits | 128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mutex |
drivers/net/wireguard/allowedips.c node_placement() -> prefix_matches()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->cidr | 0-128 |
| PARAM_VALUE | 1 | key | 3367473427944906752,6437657845644713984,7564473093462155264,9043421990695841792 |
| PARAM_VALUE | 2 | bits | 32,128 |
| BUF_SIZE | 1 | key | 4,16 |
| BUF_SIZE | 1 | key | 4,16 |
| CAPPED_DATA | 0 | node->cidr | 1 |
| DATA_SOURCE | 1 | key | $1 |
| DATA_SOURCE | 2 | bits | $3 |
| HARD_MAX | 2 | bits | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *key | 0-255 |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | &mutex | ||
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/allowedips.c node_placement() -> prefix_matches()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->cidr | 0-128 |
| PARAM_VALUE | 1 | key | 3367473427944906752,6437657845644713984,7564473093462155264,9043421990695841792 |
| PARAM_VALUE | 2 | bits | 32,128 |
| BUF_SIZE | 1 | key | 4,16 |
| BUF_SIZE | 1 | key | 4,16 |
| CAPPED_DATA | 0 | node->cidr | 1 |
| DATA_SOURCE | 1 | key | $1 |
| DATA_SOURCE | 2 | bits | $3 |
| HARD_MAX | 2 | bits | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *key | 0-255 |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | &mutex | ||
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |