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 print_node() -> wg_allowedips_read_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 2 | cidr | 2823418329909415936 |
| BUF_SIZE | 1 | ip | 16 |
| DATA_SOURCE | 0 | node | $0 |
| NOCHECK_CALL |
drivers/net/wireguard/allowedips.c print_node() -> wg_allowedips_read_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| PARAM_VALUE | 2 | cidr | 7395107467956088832 |
| BUF_SIZE | 1 | ip | 16 |
| NOCHECK_CALL |
drivers/net/wireguard/allowedips.c print_node() -> wg_allowedips_read_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| PARAM_VALUE | 2 | cidr | 7395107467956088832 |
| BUF_SIZE | 1 | ip | 16 |
| NOCHECK_CALL |
drivers/net/wireguard/allowedips.c wg_allowedips_selftest() -> wg_allowedips_read_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 2 | cidr | 7997510158657089536 |
| BUF_SIZE | 1 | ip | 16 |
| CAPPED_DATA | 0 | &node->peer_list | 1 |
| LOCK2 | &mutex |
drivers/net/wireguard/netlink.c get_peer() -> wg_allowedips_read_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| PARAM_VALUE | 2 | cidr | 2875476623861182464 |
| BUF_SIZE | 1 | ip | 16 |
| CAPPED_DATA | 0 | &node->peer_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |