Searched refs:hash_shift (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/arch/sparc/mm/ |
D | tsb.c | 19 static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long n… in tsb_hash() argument 21 vaddr >>= hash_shift; in tsb_hash() 50 unsigned long hash_shift, in __flush_tsb_one_entry() argument 56 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry() 63 static void __flush_tsb_one(struct tlb_batch *tb, unsigned long hash_shift, in __flush_tsb_one() argument 69 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one()
|
/linux-4.4.14/include/net/ |
D | flowcache.h | 18 u32 hash_shift; member
|
D | neighbour.h | 184 unsigned int hash_shift; member 283 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
|
/linux-4.4.14/fs/jbd2/ |
D | revoke.c | 119 int hash_shift; member 136 return hash_64(block, journal->j_revoke->hash_shift); in hash() 231 table->hash_shift = shift; in jbd2_journal_init_revoke_table()
|
/linux-4.4.14/net/core/ |
D | neighbour.c | 130 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_forced_gc() 203 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_flush_dev() 338 ret->hash_shift = shift; in neigh_hash_alloc() 349 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu() 373 for (i = 0; i < (1 << old_nht->hash_shift); i++) { in neigh_hash_grow() 383 hash >>= (32 - new_nht->hash_shift); in neigh_hash_grow() 432 hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift); in neigh_lookup_nodev() 496 if (atomic_read(&tbl->entries) > (1 << nht->hash_shift)) in __neigh_create() 497 nht = neigh_hash_grow(tbl, nht->hash_shift + 1); in __neigh_create() 499 hash_val = tbl->hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in __neigh_create() [all …]
|
D | flow.c | 50 #define flow_cache_hash_size(cache) (1 << (cache)->hash_shift) 450 fc->hash_shift = 10; in flow_cache_init()
|
/linux-4.4.14/lib/zlib_deflate/ |
D | defutil.h | 117 uInt hash_shift; member
|
D | deflate.c | 142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) 230 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); in zlib_deflateInit2()
|
/linux-4.4.14/drivers/md/ |
D | dm-snap.c | 45 unsigned hash_shift; member 605 uint32_t size, unsigned hash_shift) in dm_exception_table_init() argument 609 et->hash_shift = hash_shift; in dm_exception_table_init() 641 return (chunk >> et->hash_shift) & et->hash_mask; in exception_hash() 713 if (!eh->hash_shift) in dm_insert_exception()
|