Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireguard/peer.c wg_peer_remove() -> peer_remove_after_dead()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
PARAM_VALUE 0 peer->device 4096-ptr_max
PARAM_VALUE 0 peer->device->peer_hashtable 4096-ptr_max
PARAM_VALUE 0 peer->device->peer_hashtable->lock.dep_map->name 0-255
PARAM_VALUE 0 peer->device->peer_hashtable->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 peer->device->peer_hashtable->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 peer->device->peer_hashtable->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 peer->device->peer_hashtable->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 peer->device->peer_hashtable->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 peer->device->peer_hashtable->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 peer->handshake.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 peer->handshake.lock.first_waiter->type 0-1
PARAM_VALUE 0 peer->is_dead 1
PARAM_VALUE 0 peer->peer_list.next 4096-ptr_max
PARAM_VALUE 0 peer->peer_list.next->next 4096-ptr_max
PARAM_VALUE 0 peer->peer_list.next->prev 4096-ptr_max
PARAM_VALUE 0 peer->peer_list.prev 4096-ptr_max
PARAM_VALUE 0 peer->peer_list.prev->next 4096-ptr_max
PARAM_VALUE 0 peer->peer_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 peer->pubkey_hash->next->pprev 1-u64max
PARAM_VALUE 0 peer->pubkey_hash.pprev 0
DATA_SOURCE 0 peer $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 peer->handshake->preshared_key 0-255
USER_DATA 0 peer->handshake->remote_static 0-255
LOCK2 &wg->device_update_lock
LOCK2 global &rtnl_mutex
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

drivers/net/wireguard/peer.c wg_peer_remove_all() -> peer_remove_after_dead()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
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