Home
last modified time | relevance | path

Searched refs:hash_shift (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/arch/sparc/mm/
A Dtsb.c22 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 …]
/linux-6.3-rc2/fs/jbd2/
A Drevoke.c116 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()
/linux-6.3-rc2/net/core/
A Dneighbour.c240 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one()
381 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_flush_dev()
546 ret->hash_shift = shift; in neigh_hash_alloc()
583 for (i = 0; i < (1 << old_nht->hash_shift); i++) { in neigh_hash_grow()
593 hash >>= (32 - new_nht->hash_shift); in neigh_hash_grow()
709 if (atomic_read(&tbl->entries) > (1 << nht->hash_shift)) in ___neigh_create()
710 nht = neigh_hash_grow(tbl, nht->hash_shift + 1); in ___neigh_create()
998 for (i = 0 ; i < (1 << nht->hash_shift); i++) { in neigh_periodic_work()
2221 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2740 for (h = s_h; h < (1 << nht->hash_shift); h++) { in neigh_dump_table()
[all …]
/linux-6.3-rc2/include/net/
A Dneighbour.h194 unsigned int hash_shift; member
306 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
/linux-6.3-rc2/drivers/md/
A Ddm-snap.c45 unsigned int hash_shift; member
658 uint32_t size, unsigned int hash_shift) in dm_exception_table_init() argument
662 et->hash_shift = hash_shift; in dm_exception_table_init()
696 return (chunk >> et->hash_shift) & et->hash_mask; in exception_hash()
770 if (!eh->hash_shift) in dm_insert_exception()
/linux-6.3-rc2/lib/zlib_deflate/
A Ddefutil.h119 uInt hash_shift; member
A Ddeflate.c163 #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()

Completed in 30 milliseconds