Searched refs:hash_shift (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | tsb.c | 22 static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long n… in tsb_hash() argument 24 vaddr >>= hash_shift; in tsb_hash() 70 unsigned long hash_shift, in __flush_tsb_one_entry() argument 76 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry() 83 static void __flush_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, in __flush_tsb_one() argument 89 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one() 94 unsigned long hash_shift, in __flush_huge_tsb_one_entry() argument 101 hpage_entries = 1 << (hugepage_shift - hash_shift); in __flush_huge_tsb_one_entry() 103 __flush_tsb_one_entry(tsb, v + (i << hash_shift), hash_shift, in __flush_huge_tsb_one_entry() 107 static void __flush_huge_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, in __flush_huge_tsb_one() argument [all …]
|
/kernel/linux/linux-5.10/fs/jbd2/ |
D | revoke.c | 116 int hash_shift; member 133 return hash_64(block, journal->j_revoke->hash_shift); in hash() 232 table->hash_shift = shift; in jbd2_journal_init_revoke_table()
|
/kernel/linux/linux-5.10/net/core/ |
D | neighbour.c | 213 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one() 317 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_flush_dev() 480 ret->hash_shift = shift; in neigh_hash_alloc() 491 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu() 517 for (i = 0; i < (1 << old_nht->hash_shift); i++) { in neigh_hash_grow() 527 hash >>= (32 - new_nht->hash_shift); in neigh_hash_grow() 576 hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift); in neigh_lookup_nodev() 643 if (atomic_read(&tbl->entries) > (1 << nht->hash_shift)) in ___neigh_create() 644 nht = neigh_hash_grow(tbl, nht->hash_shift + 1); in ___neigh_create() 646 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_create() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | neighbour.h | 188 unsigned int hash_shift; member 298 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-snap.c | 44 unsigned hash_shift; member 660 uint32_t size, unsigned hash_shift) in dm_exception_table_init() argument 664 et->hash_shift = hash_shift; in dm_exception_table_init() 697 return (chunk >> et->hash_shift) & et->hash_mask; in exception_hash() 771 if (!eh->hash_shift) in dm_insert_exception()
|
/kernel/linux/linux-5.10/lib/zlib_deflate/ |
D | defutil.h | 119 uInt hash_shift; member
|
D | deflate.c | 163 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) 259 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); in zlib_deflateInit2()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 17053 + uint8_t hash_shift; /**< Hash result right shift. 17485 + uint8_t hash_shift; /**< Byte offset from the beginning of…
|