Searched refs:HASH_SIZE (Results 1 - 10 of 10) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | hashtable.h | 22 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro 23 #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);\
|
/linux-4.1.27/security/keys/encrypted-keys/ |
H A D | encrypted.c | 53 #define HASH_SIZE SHA256_DIGEST_SIZE macro 384 if (derived_buf_len < HASH_SIZE) get_derived_key() 385 derived_buf_len = HASH_SIZE; get_derived_key() 507 u8 derived_key[HASH_SIZE]; datablob_hmac_append() 519 dump_hmac(NULL, digest, HASH_SIZE); datablob_hmac_append() 529 u8 derived_key[HASH_SIZE]; datablob_hmac_verify() 530 u8 digest[HASH_SIZE]; datablob_hmac_verify() 555 HASH_SIZE); datablob_hmac_verify() 556 dump_hmac("calc", digest, HASH_SIZE); datablob_hmac_verify() 636 + HASH_SIZE + 1); encrypted_key_alloc() 641 datablob_len + HASH_SIZE + 1, GFP_KERNEL); encrypted_key_alloc() 655 u8 derived_key[HASH_SIZE]; encrypted_key_decrypt() 665 asciilen = (ivsize + 1 + encrypted_datalen + HASH_SIZE) * 2; encrypted_key_decrypt() 680 HASH_SIZE); encrypted_key_decrypt() 903 char derived_key[HASH_SIZE]; encrypted_read() 913 + (HASH_SIZE * 2); encrypted_read()
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 199 #define HASH_SIZE (1 << HASH_SHIFT) macro 200 #define HASH_MASK (HASH_SIZE - 1) 204 static unsigned long nr_pages[HASH_SIZE]; 205 static uint64_t page_flags[HASH_SIZE]; 551 /* search through the remaining (HASH_SIZE-1) slots */ hash_slot()
|
/linux-4.1.27/kernel/ |
H A D | audit_tree.c | 162 enum {HASH_SIZE = 128}; enumerator in enum:__anon13961 163 static struct list_head chunk_hash_heads[HASH_SIZE]; 169 return chunk_hash_heads + n % HASH_SIZE; chunk_hash() 983 for (i = 0; i < HASH_SIZE; i++) audit_tree_init()
|
/linux-4.1.27/lib/ |
H A D | dma-debug.c | 37 #define HASH_SIZE 1024ULL macro 39 #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++) { debug_dma_dump_mappings() 937 for (i = 0; i < HASH_SIZE; ++i) { device_dma_allocations() 1014 for (i = 0; i < HASH_SIZE; ++i) { dma_debug_init()
|
/linux-4.1.27/net/ipv6/ |
H A D | sit.c | 65 #define HASH_SIZE 16 macro 81 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++) { for_each_netdev_safe()
|
H A D | ip6_gre.c | 65 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro 69 struct ip6_tnl __rcu *tunnels[4][HASH_SIZE]; 99 #define HASH_KEY(key) (((__force u32)key^((__force u32)key>>4))&(HASH_SIZE - 1)) HASH_ADDR() 1303 for (h = 0; h < HASH_SIZE; h++) { for_each_netdev_safe()
|
H A D | ip6_vti.c | 54 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro 72 struct ip6_tnl __rcu *tnls_r_l[HASH_SIZE]; 1043 for (h = 0; h < HASH_SIZE; h++) { vti6_destroy_tunnels()
|
H A D | ip6_tunnel.c | 68 #define HASH_SIZE (1 << HASH_SIZE_SHIFT) macro 90 struct ip6_tnl __rcu *tnls_r_l[HASH_SIZE]; 1818 for (h = 0; h < HASH_SIZE; h++) { for_each_netdev_safe()
|
/linux-4.1.27/net/core/ |
H A D | dev.c | 4508 unsigned int hash = napi_id % HASH_SIZE(napi_hash); napi_by_id() 4536 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]); napi_hash_add()
|
Completed in 313 milliseconds