Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireguard/noise.c wg_noise_handshake_create_initiation() -> wg_index_hashtable_insert()

Type Parameter Key Value
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 1 entry->peer 4096-ptr_max
LOCK2 &handshake->lock
LOCK2 &handshake->static_identity->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct noise_handshake)->lock
TYPE_LOCK (struct noise_static_identity)->lock

drivers/net/wireguard/noise.c wg_noise_handshake_create_response() -> wg_index_hashtable_insert()

Type Parameter Key Value
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 1 entry->peer 4096-ptr_max
LOCK2 &handshake->lock
LOCK2 &handshake->static_identity->lock
TYPE_LOCK (struct noise_handshake)->lock
TYPE_LOCK (struct noise_static_identity)->lock