Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/wireguard/receive.c wg_receive_handshake_packet() -> wg_packet_send_keepalive()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
PARAM_VALUE 0 peer->device 4096-ptr_max
PARAM_VALUE 0 peer->device->dev 4096-ptr_max
PARAM_VALUE 0 peer->endpoint_lock.dep_map->name 0-255
PARAM_VALUE 0 peer->endpoint_lock.owner (-1)
PARAM_VALUE 0 peer->endpoint_lock.owner_cpu u32max
PARAM_VALUE 0 peer->endpoint_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 peer->endpoint_lock.raw_lock.wlocked 0
PARAM_VALUE 0 peer->handshake.entry.index_hash.next 0
PARAM_VALUE 0 peer->handshake.entry.index_hash.pprev 0
PARAM_VALUE 0 peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 peer->handshake.lock.dep_map->name 0-255
PARAM_VALUE 0 peer->handshake.lock.first_waiter->handoff_set 1
PARAM_VALUE 0 peer->handshake.lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 peer->handshake.lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 peer->handshake.lock.first_waiter->type 0-1
PARAM_VALUE 0 peer->handshake.remote_index 0
PARAM_VALUE 0 peer->handshake.state 0
PARAM_VALUE 0 peer->keypairs.current_keypair 4096-ptr_max
PARAM_VALUE 0 peer->keypairs.current_keypair->entry.index_hash->next->pprev 1-u64max
PARAM_VALUE 0 peer->keypairs.keypair_update_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 peer->keypairs.next_keypair 0,4096-ptr_max
PARAM_VALUE 0 peer->keypairs.next_keypair->entry.index_hash->next->pprev 1-u64max
PARAM_VALUE 0 peer->keypairs.next_keypair->rcu.func 1-u64max
PARAM_VALUE 0 peer->keypairs.next_keypair->rcu.next 0
PARAM_VALUE 0 peer->keypairs.previous_keypair->entry.index_hash->next->pprev 1-u64max
PARAM_VALUE 0 peer->keypairs.previous_keypair->rcu.func 1-u64max
PARAM_VALUE 0 peer->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 peer->sent_lastminute_handshake 0
PARAM_VALUE 0 peer->timer_handshake_attempts 0
PARAM_VALUE 0 peer->timer_retransmit_handshake.flags 0-4194302
PARAM_VALUE 0 peer->timer_zero_key_material.entry->pprev 4096-ptr_max
PARAM_VALUE 0 peer->walltime_last_handshake.tv_nsec 0-999999999
DATA_SOURCE 0 peer r wg_noise_handshake_consume_response
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
PARAM_VALUE 0 peer->persistent_keepalive_interval 1-u16max
PARAM_VALUE 0 peer->staged_packet_queue.next->prev 4096-ptr_max
CAPPED_DATA 0 &peer->peer_list 1
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/netlink.c set_peer() -> wg_packet_send_keepalive()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
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->persistent_keepalive_interval 1-u16max
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/timers.c wg_expired_send_keepalive() -> wg_packet_send_keepalive()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireguard/timers.c wg_expired_send_persistent_keepalive() -> wg_packet_send_keepalive()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
PARAM_VALUE 0 peer->persistent_keepalive_interval 1-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL