Searched refs:HASH_SIZE (Results 1 - 13 of 13) sorted by path
/linux-master/tools/include/linux/ |
H A D | hashtable.h | 24 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro 25 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) 49 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 87 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) 106 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 120 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
|
/linux-master/drivers/net/wireguard/ |
H A D | peerlookup.c | 19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; 80 (HASH_SIZE(table->hashtable) - 1)];
|
/linux-master/drivers/ptp/ |
H A D | ptp_vclock.c | 27 &vclock_hash[vclock->clock->index % HASH_SIZE(vclock_hash)]); 270 unsigned int hash = vclock_index % HASH_SIZE(vclock_hash);
|
/linux-master/fs/afs/ |
H A D | security.c | 484 for (i = 0; i < HASH_SIZE(afs_permits_cache); i++)
|
/linux-master/include/linux/ |
H A D | hashtable.h | 27 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro 28 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) 52 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) 99 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) 127 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 139 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 153 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
|
/linux-master/kernel/ |
H A D | audit_tree.c | 208 enum {HASH_SIZE = 128}; enumerator in enum:__anon2197 209 static struct list_head chunk_hash_heads[HASH_SIZE]; 222 return chunk_hash_heads + n % HASH_SIZE; 1081 for (i = 0; i < HASH_SIZE; i++)
|
/linux-master/kernel/dma/ |
H A D | debug.c | 29 #define HASH_SIZE 16384ULL macro 31 #define HASH_FN_MASK (HASH_SIZE - 1) 94 static struct hash_bucket dma_entry_hash[HASH_SIZE]; 356 int limit = min(HASH_SIZE, (index.dev_addr >> HASH_FN_SHIFT) + 1); 528 for (idx = 0; idx < HASH_SIZE; idx++) { 560 for (idx = 0; idx < HASH_SIZE; idx++) { 836 for (i = 0; i < HASH_SIZE; ++i) { 908 for (i = 0; i < HASH_SIZE; ++i) {
|
/linux-master/net/core/ |
H A D | dev.c | 6160 unsigned int hash = napi_id % HASH_SIZE(napi_hash); 6384 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]);
|
/linux-master/net/rxrpc/ |
H A D | peer_object.c | 448 for (i = 0; i < HASH_SIZE(rxnet->peer_hash); i++) {
|
H A D | proc.c | 331 if (bucket >= HASH_SIZE(rxnet->peer_hash)) { 372 if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
|
/linux-master/scripts/kconfig/ |
H A D | hashtable.h | 8 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro 16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)]) 34 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
|
/linux-master/security/keys/encrypted-keys/ |
H A D | encrypted.c | 52 #define HASH_SIZE SHA256_DIGEST_SIZE macro 363 if (derived_buf_len < HASH_SIZE) 364 derived_buf_len = HASH_SIZE; 497 u8 derived_key[HASH_SIZE]; 509 dump_hmac(NULL, digest, HASH_SIZE); 520 u8 derived_key[HASH_SIZE]; 521 u8 digest[HASH_SIZE]; 546 HASH_SIZE); 547 dump_hmac("calc", digest, HASH_SIZE); 666 + HASH_SIZE [all...] |
/linux-master/tools/mm/ |
H A D | page-types.c | 198 #define HASH_SIZE (1 << HASH_SHIFT) macro 199 #define HASH_MASK (HASH_SIZE - 1) 203 static unsigned long nr_pages[HASH_SIZE]; 204 static uint64_t page_flags[HASH_SIZE]; 619 /* search through the remaining (HASH_SIZE-1) slots */
|
Completed in 372 milliseconds