/kernel/linux/linux-5.10/include/linux/ |
H A D | hashtable.h | 44 * @hashtable: hashtable to be initialized 46 * Calculates the size of the hashtable from the given parameter, otherwise 52 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 55 * hash_add - add an object to a hashtable 56 * @hashtable: hashtable to add to 60 #define hash_add(hashtable, nod [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | hashtable.h | 44 * @hashtable: hashtable to be initialized 46 * Calculates the size of the hashtable from the given parameter, otherwise 52 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 55 * hash_add - add an object to a hashtable 56 * @hashtable: hashtable to add to 60 #define hash_add(hashtable, nod [all...] |
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | hashtable.h | 41 * @hashtable: hashtable to be initialized 43 * Calculates the size of the hashtable from the given parameter, otherwise 49 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 52 * hash_add - add an object to a hashtable 53 * @hashtable: hashtable to add to 57 #define hash_add(hashtable, nod [all...] |
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | hashtable.h | 41 * @hashtable: hashtable to be initialized 43 * Calculates the size of the hashtable from the given parameter, otherwise 49 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 52 * hash_add - add an object to a hashtable 53 * @hashtable: hashtable to add to 57 #define hash_add(hashtable, nod [all...] |
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | peerlookup.c | 19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket() 30 hash_init(table->hashtable); in wg_pubkey_hashtable_alloc() 79 return &table->hashtable[(__force u32)index & in index_bucket() 80 (HASH_SIZE(table->hashtable) - 1)]; in index_bucket() 90 hash_init(table->hashtable); in wg_index_hashtable_alloc() 96 * amount to 2^20*3 items in this hashtable. The algorithm below works by
|
H A D | peerlookup.h | 11 #include <linux/hashtable.h> 19 DECLARE_HASHTABLE(hashtable, 11); 35 DECLARE_HASHTABLE(hashtable, 13);
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | peerlookup.c | 19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket() 30 hash_init(table->hashtable); in wg_pubkey_hashtable_alloc() 79 return &table->hashtable[(__force u32)index & in index_bucket() 80 (HASH_SIZE(table->hashtable) - 1)]; in index_bucket() 90 hash_init(table->hashtable); in wg_index_hashtable_alloc() 96 * amount to 2^20*3 items in this hashtable. The algorithm below works by
|
H A D | peerlookup.h | 11 #include <linux/hashtable.h> 19 DECLARE_HASHTABLE(hashtable, 11); 35 DECLARE_HASHTABLE(hashtable, 13);
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_internal.h | 56 #include <linux/hashtable.h> 274 #define vnic_hash_init(hashtable) __hash_init(hashtable, OPA_VNIC_MAC_TBL_SIZE) 276 #define vnic_hash_add(hashtable, node, key) \ 278 &hashtable[hash_min(key, ilog2(OPA_VNIC_MAC_TBL_SIZE))])
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_internal.h | 56 #include <linux/hashtable.h> 274 #define vnic_hash_init(hashtable) __hash_init(hashtable, OPA_VNIC_MAC_TBL_SIZE) 276 #define vnic_hash_add(hashtable, node, key) \ 278 &hashtable[hash_min(key, ilog2(OPA_VNIC_MAC_TBL_SIZE))])
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | auth.c | 25 struct hlist_head *hashtable; member 95 MODULE_PARM_DESC(auth_hashtable_size, "RPC credential cache hashtable size"); 261 * held by the hashtable 301 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL); in rpcauth_init_credcache() 302 if (!new->hashtable) in rpcauth_init_credcache() 392 head = &cache->hashtable[i]; in rpcauth_clear_credcache() 417 kfree(cache->hashtable); in rpcauth_destroy_credcache() 529 hlist_for_each_entry_rcu(entry, &cache->hashtable[nr], cr_hash) { in rpcauth_lookup_credcache() 548 hlist_for_each_entry(entry, &cache->hashtable[n in rpcauth_lookup_credcache() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | auth.c | 25 struct hlist_head *hashtable; member 92 MODULE_PARM_DESC(auth_hashtable_size, "RPC credential cache hashtable size"); 258 * held by the hashtable 298 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL); in rpcauth_init_credcache() 299 if (!new->hashtable) in rpcauth_init_credcache() 389 head = &cache->hashtable[i]; in rpcauth_clear_credcache() 414 kfree(cache->hashtable); in rpcauth_destroy_credcache() 526 hlist_for_each_entry_rcu(entry, &cache->hashtable[nr], cr_hash) { in rpcauth_lookup_credcache() 545 hlist_for_each_entry(entry, &cache->hashtable[n in rpcauth_lookup_credcache() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.h | 7 #include <linux/hashtable.h>
|
/kernel/linux/linux-5.10/security/safesetid/ |
H A D | lsm.h | 19 #include <linux/hashtable.h>
|
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | objtool.h | 11 #include <linux/hashtable.h>
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.h | 27 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/fs/smb/server/mgmt/ |
H A D | tree_connect.h | 9 #include <linux/hashtable.h>
|
H A D | share_config.h | 10 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.h | 28 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/security/safesetid/ |
H A D | lsm.h | 19 #include <linux/hashtable.h>
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sync.h | 27 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sync.h | 27 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/tools/objtool/include/objtool/ |
H A D | objtool.h | 11 #include <linux/hashtable.h>
|
/kernel/linux/linux-6.6/mm/ |
H A D | mm_slot.h | 6 #include <linux/hashtable.h>
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | xdr_fs.h | 86 __be16 hashtable[AFS_DIR_HASHTBL_SIZE]; member
|