Home
last modified time | relevance | path

Searched refs:index_hashtable (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/wireguard/ !
Dpeerlookup.h33 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,
Dpeerlookup.c73 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()
Ddevice.h49 struct index_hashtable *index_hashtable; member
Ddevice.c266 kvfree(wg->index_hashtable); in wg_destruct()
330 wg->index_hashtable = wg_index_hashtable_alloc(); in wg_newlink()
331 if (!wg->index_hashtable) in wg_newlink()
403 kvfree(wg->index_hashtable); in wg_newlink()
Dnoise.c92 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()
Dpeer.c211 wg_index_hashtable_remove(peer->device->index_hashtable, in kref_release()
Dcookie.c205 if (unlikely(!wg_index_hashtable_lookup(wg->index_hashtable, in wg_cookie_message_consume()
Dreceive.c518 wg->index_hashtable, INDEX_HASHTABLE_KEYPAIR, idx, in wg_packet_consume_data()