Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireguard/device.c wg_open() -> wg_socket_init()

Type Parameter Key Value
PARAM_VALUE 0 wg 4096-ptr_max
PARAM_VALUE 0 wg->device_update_lock.dep_map->name 0-255
PARAM_VALUE 0 wg->device_update_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 wg->device_update_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wg->device_update_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 wg->device_update_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 wg->device_update_lock.wait_lock.owner (-1)
PARAM_VALUE 0 wg->device_update_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &wg->device_update_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &wg->device_update_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wg_device)->device_update_lock

drivers/net/wireguard/netlink.c set_port() -> wg_socket_init()

Type Parameter Key Value
PARAM_VALUE 0 wg 4096-ptr_max
PARAM_VALUE 0 wg->creating_net 4096-ptr_max
PARAM_VALUE 0 wg->dev 4096-ptr_max
PARAM_VALUE 0 wg->device_update_lock.dep_map->name 0-255
PARAM_VALUE 0 wg->device_update_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 wg->device_update_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wg->device_update_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 wg->device_update_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 wg->device_update_lock.wait_lock.owner (-1)
PARAM_VALUE 0 wg->device_update_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &wg->peer_list 1
DATA_SOURCE 0 wg $0
DATA_SOURCE 1 port $1
NS_CAPABLE 0 12
PARAM_COMPARE 1 port != $0->incoming_port
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
LOCK2 0 &wg->device_update_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct wg_device)->device_update_lock