Symbol: HASH_SIZE
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
423
for (i = 0; i < HASH_SIZE(src->fences); ++i)
drivers/net/ovpn/peer.c
179
jhash(_key, _key_len, 0) % HASH_SIZE(*__tbl2); \
drivers/net/wireguard/peerlookup.c
19
return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)];
drivers/net/wireguard/peerlookup.c
80
(HASH_SIZE(table->hashtable) - 1)];
drivers/ptp/ptp_vclock.c
27
&vclock_hash[vclock->clock->index % HASH_SIZE(vclock_hash)]);
drivers/ptp/ptp_vclock.c
277
unsigned int hash = vclock_index % HASH_SIZE(vclock_hash);
fs/afs/security.c
517
for (i = 0; i < HASH_SIZE(afs_permits_cache); i++)
include/linux/hashtable.h
127
for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
include/linux/hashtable.h
139
for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
include/linux/hashtable.h
153
for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
include/linux/hashtable.h
28
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
include/linux/hashtable.h
52
#define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable))
include/linux/hashtable.h
99
#define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable))
kernel/audit_tree.c
1088
for (i = 0; i < HASH_SIZE; i++)
kernel/audit_tree.c
211
static struct list_head chunk_hash_heads[HASH_SIZE];
kernel/audit_tree.c
224
return chunk_hash_heads + n % HASH_SIZE;
kernel/dma/debug.c
32
#define HASH_FN_MASK (HASH_SIZE - 1)
kernel/dma/debug.c
359
int limit = min(HASH_SIZE, (index.dev_addr >> HASH_FN_SHIFT) + 1);
kernel/dma/debug.c
537
for (idx = 0; idx < HASH_SIZE; idx++) {
kernel/dma/debug.c
569
for (idx = 0; idx < HASH_SIZE; idx++) {
kernel/dma/debug.c
853
for (i = 0; i < HASH_SIZE; ++i) {
kernel/dma/debug.c
925
for (i = 0; i < HASH_SIZE; ++i) {
kernel/dma/debug.c
96
static struct hash_bucket dma_entry_hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
109
u8 actual_hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
116
test, actual_hash, hash_testvecs[i].digest, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
131
u8 hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
138
HASH_UPDATE(&ctx, hash, HASH_SIZE);
lib/crypto/tests/hash-test-template.h
141
KUNIT_ASSERT_MEMEQ(test, hash, hash_testvec_consolidated, HASH_SIZE);
lib/crypto/tests/hash-test-template.h
153
u8 hash1[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
154
u8 hash2[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
188
test, hash1, hash2, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
209
u8 hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
218
HASH(test_buf, len, buf_end - HASH_SIZE);
lib/crypto/tests/hash-test-template.h
221
HASH_FINAL(&ctx, buf_end - HASH_SIZE);
lib/crypto/tests/hash-test-template.h
236
const size_t max_tested_len = TEST_BUF_LEN - HASH_SIZE;
lib/crypto/tests/hash-test-template.h
238
u8 hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
244
size_t offset = HASH_SIZE + rand_offset(max_tested_len - len);
lib/crypto/tests/hash-test-template.h
247
&test_buf[offset + len - HASH_SIZE];
lib/crypto/tests/hash-test-template.h
252
test, hash, ovl_hash, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
262
test, hash, ovl_hash, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
273
test, hash, ovl_hash, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
285
u8 hash1[128 + HASH_SIZE];
lib/crypto/tests/hash-test-template.h
286
u8 hash2[128 + HASH_SIZE];
lib/crypto/tests/hash-test-template.h
300
test, &hash1[hash_offs1], &hash2[hash_offs2], HASH_SIZE,
lib/crypto/tests/hash-test-template.h
324
u8 expected_hashes[IRQ_TEST_NUM_BUFFERS][HASH_SIZE];
lib/crypto/tests/hash-test-template.h
337
u8 actual_hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
340
return memcmp(actual_hash, state->expected_hashes[i], HASH_SIZE) == 0;
lib/crypto/tests/hash-test-template.h
369
u8 expected_hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
406
u8 actual_hash[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
411
if (memcmp(actual_hash, state->expected_hash, HASH_SIZE) != 0)
lib/crypto/tests/hash-test-template.h
492
u8 mac[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
493
u8 mac2[HASH_SIZE];
lib/crypto/tests/hash-test-template.h
516
HMAC_UPDATE(&ctx, mac, HASH_SIZE);
lib/crypto/tests/hash-test-template.h
522
test, mac, mac2, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
526
KUNIT_EXPECT_MEMEQ_MSG(test, mac, hmac_testvec_consolidated, HASH_SIZE,
lib/crypto/tests/hash-test-template.h
543
u8 hash[HASH_SIZE];
net/core/dev.c
7065
&napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]);
net/core/dev.c
796
unsigned int hash = napi_id % HASH_SIZE(napi_hash);
net/rxrpc/peer_object.c
457
for (i = 0; i < HASH_SIZE(rxnet->peer_hash); i++) {
net/rxrpc/proc.c
328
if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
net/rxrpc/proc.c
369
if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
scripts/genksyms/genksyms.c
842
nsyms, HASH_SIZE(symbol_hashtable),
scripts/genksyms/genksyms.c
843
(double)nsyms / HASH_SIZE(symbol_hashtable));
scripts/include/hashtable.h
16
#define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)])
scripts/include/hashtable.h
33
#define hash_init(table) __hash_init(table, HASH_SIZE(table))
scripts/include/hashtable.h
60
for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
scripts/include/hashtable.h
72
for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
security/keys/encrypted-keys/encrypted.c
338
if (derived_buf_len < HASH_SIZE)
security/keys/encrypted-keys/encrypted.c
339
derived_buf_len = HASH_SIZE;
security/keys/encrypted-keys/encrypted.c
471
u8 derived_key[HASH_SIZE];
security/keys/encrypted-keys/encrypted.c
483
dump_hmac(NULL, digest, HASH_SIZE);
security/keys/encrypted-keys/encrypted.c
494
u8 derived_key[HASH_SIZE];
security/keys/encrypted-keys/encrypted.c
495
u8 digest[HASH_SIZE];
security/keys/encrypted-keys/encrypted.c
519
HASH_SIZE);
security/keys/encrypted-keys/encrypted.c
520
dump_hmac("calc", digest, HASH_SIZE);
security/keys/encrypted-keys/encrypted.c
639
+ HASH_SIZE + 1);
security/keys/encrypted-keys/encrypted.c
644
datablob_len + HASH_SIZE + 1, GFP_KERNEL);
security/keys/encrypted-keys/encrypted.c
658
u8 derived_key[HASH_SIZE];
security/keys/encrypted-keys/encrypted.c
668
asciilen = (ivsize + 1 + encrypted_datalen + HASH_SIZE) * 2;
security/keys/encrypted-keys/encrypted.c
683
HASH_SIZE);
security/keys/encrypted-keys/encrypted.c
913
char derived_key[HASH_SIZE];
security/keys/encrypted-keys/encrypted.c
923
+ (HASH_SIZE * 2);
tools/include/linux/hashtable.h
106
for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
tools/include/linux/hashtable.h
120
for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
tools/include/linux/hashtable.h
25
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
tools/include/linux/hashtable.h
49
#define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable))
tools/include/linux/hashtable.h
87
#define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable))
tools/mm/page-types.c
199
#define HASH_MASK (HASH_SIZE - 1)
tools/mm/page-types.c
203
static unsigned long nr_pages[HASH_SIZE];
tools/mm/page-types.c
204
static uint64_t page_flags[HASH_SIZE];