Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireguard/socket.c wg_socket_init() -> set_sock_opts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->sk_allocation | 0,131072-u32max |
| PARAM_VALUE | 0 | sock->sk->sk_sndbuf | s32max |
| PARAM_VALUE | 0 | sock->sk->sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->sk_user_data | 0 |
| PARAM_VALUE | 0 | sock->type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
drivers/net/wireguard/socket.c wg_socket_init() -> set_sock_opts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |