Searched refs:HASH_SIZE (Results 1 – 10 of 10) sorted by relevance
22 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro23 #define HASH_BITS(name) ilog2(HASH_SIZE(name))47 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable))94 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable))122 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\134 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\148 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
53 #define HASH_SIZE SHA256_DIGEST_SIZE macro384 if (derived_buf_len < HASH_SIZE) in get_derived_key()385 derived_buf_len = HASH_SIZE; in get_derived_key()507 u8 derived_key[HASH_SIZE]; in datablob_hmac_append()519 dump_hmac(NULL, digest, HASH_SIZE); in datablob_hmac_append()529 u8 derived_key[HASH_SIZE]; in datablob_hmac_verify()530 u8 digest[HASH_SIZE]; in datablob_hmac_verify()555 HASH_SIZE); in datablob_hmac_verify()556 dump_hmac("calc", digest, HASH_SIZE); in datablob_hmac_verify()636 + HASH_SIZE + 1); in encrypted_key_alloc()[all …]
37 #define HASH_SIZE 1024ULL macro39 #define HASH_FN_MASK (HASH_SIZE - 1)96 static struct hash_bucket dma_entry_hash[HASH_SIZE];410 for (idx = 0; idx < HASH_SIZE; idx++) { in debug_dma_dump_mappings()937 for (i = 0; i < HASH_SIZE; ++i) { in device_dma_allocations()1014 for (i = 0; i < HASH_SIZE; ++i) { in dma_debug_init()
199 #define HASH_SIZE (1 << HASH_SHIFT) macro200 #define HASH_MASK (HASH_SIZE - 1)204 static unsigned long nr_pages[HASH_SIZE];205 static uint64_t page_flags[HASH_SIZE];
162 enum {HASH_SIZE = 128}; enumerator163 static struct list_head chunk_hash_heads[HASH_SIZE];169 return chunk_hash_heads + n % HASH_SIZE; in chunk_hash()983 for (i = 0; i < HASH_SIZE; i++) in audit_tree_init()
65 #define HASH_SIZE 16 macro81 struct ip_tunnel __rcu *tunnels_r_l[HASH_SIZE];82 struct ip_tunnel __rcu *tunnels_r[HASH_SIZE];83 struct ip_tunnel __rcu *tunnels_l[HASH_SIZE];1778 for (h = 0; h < HASH_SIZE; h++) { in sit_destroy_tunnels()
54 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro72 struct ip6_tnl __rcu *tnls_r_l[HASH_SIZE];1043 for (h = 0; h < HASH_SIZE; h++) { in vti6_destroy_tunnels()
65 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro69 struct ip6_tnl __rcu *tunnels[4][HASH_SIZE];99 #define HASH_KEY(key) (((__force u32)key^((__force u32)key>>4))&(HASH_SIZE - 1))1303 for (h = 0; h < HASH_SIZE; h++) { in ip6gre_destroy_tunnels()
68 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro90 struct ip6_tnl __rcu *tnls_r_l[HASH_SIZE];1818 for (h = 0; h < HASH_SIZE; h++) { in ip6_tnl_destroy_tunnels()
4508 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()4536 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]); in napi_hash_add()