Searched refs:index_hashtable (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/net/wireguard/ |
A D | peerlookup.h | 33 struct index_hashtable { struct 51 struct index_hashtable *wg_index_hashtable_alloc(void); argument 52 __le32 wg_index_hashtable_insert(struct index_hashtable *table, 54 bool wg_index_hashtable_replace(struct index_hashtable *table, 57 void wg_index_hashtable_remove(struct index_hashtable *table, 60 wg_index_hashtable_lookup(struct index_hashtable *table,
|
A D | peerlookup.c | 73 static struct hlist_head *index_bucket(struct index_hashtable *table, in index_bucket() 83 struct index_hashtable *wg_index_hashtable_alloc(void) in wg_index_hashtable_alloc() 85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_index_hashtable_alloc() 119 __le32 wg_index_hashtable_insert(struct index_hashtable *table, in wg_index_hashtable_insert() 166 bool wg_index_hashtable_replace(struct index_hashtable *table, in wg_index_hashtable_replace() 192 void wg_index_hashtable_remove(struct index_hashtable *table, in wg_index_hashtable_remove() 202 wg_index_hashtable_lookup(struct index_hashtable *table, in wg_index_hashtable_lookup()
|
A D | device.h | 49 struct index_hashtable *index_hashtable; member
|
A D | device.c | 265 kvfree(wg->index_hashtable); in wg_destruct() 329 wg->index_hashtable = wg_index_hashtable_alloc(); in wg_newlink() 330 if (!wg->index_hashtable) in wg_newlink() 402 kvfree(wg->index_hashtable); in wg_newlink()
|
A D | noise.c | 92 handshake->entry.peer->device->index_hashtable, in wg_noise_handshake_clear() 126 wg_index_hashtable_remove(keypair->entry.peer->device->index_hashtable, in keypair_free_kref() 137 keypair->entry.peer->device->index_hashtable, in wg_noise_keypair_put() 570 handshake->entry.peer->device->index_hashtable, in wg_noise_handshake_create_initiation() 714 handshake->entry.peer->device->index_hashtable, in wg_noise_handshake_create_response() 748 wg->index_hashtable, INDEX_HASHTABLE_HANDSHAKE, in wg_noise_handshake_consume_response() 851 handshake->entry.peer->device->index_hashtable, in wg_noise_handshake_begin_session()
|
A D | peer.c | 211 wg_index_hashtable_remove(peer->device->index_hashtable, in kref_release()
|
A D | cookie.c | 205 if (unlikely(!wg_index_hashtable_lookup(wg->index_hashtable, in wg_cookie_message_consume()
|
A D | receive.c | 518 wg->index_hashtable, INDEX_HASHTABLE_KEYPAIR, idx, in wg_packet_consume_data()
|
Completed in 15 milliseconds