Searched refs:hash_bits (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/fs/
H A Ddcookies.c220 unsigned int i, hash_bits; dcookie_init() local
242 hash_bits = 0; dcookie_init()
244 hash_bits++; dcookie_init()
245 } while ((hash_size >> hash_bits) != 0); dcookie_init()
246 hash_bits--; dcookie_init()
252 hash_size = 1UL << hash_bits; dcookie_init()
/linux-4.4.14/drivers/md/
H A Ddm-cache-policy-cleaner.c34 dm_block_t hash_bits; member in struct:hash
86 hash->hash_bits = __ffs(hash->nr_buckets); alloc_hash()
143 unsigned h = hash_64(from_oblock(oblock), hash->hash_bits); lookup_cache_entry()
161 unsigned h = hash_64(from_oblock(e->oblock), p->chash.hash_bits); insert_cache_hash_entry()
H A Ddm-cache-policy-smq.c555 unsigned long long hash_bits; member in struct:hash_table
569 ht->hash_bits = __ffs(nr_buckets); h_init()
604 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); h_insert()
639 unsigned h = hash_64(from_oblock(oblock), ht->hash_bits); h_lookup()
656 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); h_remove()
H A Ddm-cache-policy-mq.c480 dm_block_t hash_bits; member in struct:mq_policy
497 unsigned h = hash_64(from_oblock(e->oblock), mq->hash_bits); hash_insert()
504 unsigned h = hash_64(from_oblock(oblock), mq->hash_bits); hash_lookup()
1413 mq->hash_bits = __ffs(mq->nr_buckets); mq_create()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dnic.h159 u8 hash_bits; member in struct:nicvf_rss_info
419 u8 hash_bits; member in struct:rss_cfg_msg
H A Dnicvf_main.c311 mbx.rss_cfg.hash_bits = rss->hash_bits; nicvf_config_rss()
349 rss->hash_bits = 0; nicvf_rss_init()
367 rss->hash_bits = ilog2(rounddown_pow_of_two(rss->rss_size)); nicvf_rss_init()
H A Dnic_main.c476 cpi_cfg |= (cfg->hash_bits << 20); nic_config_rss()
/linux-4.4.14/lib/zlib_deflate/
H A Ddefutil.h114 uInt hash_bits; /* log2(hash_size) */ member in struct:deflate_state
121 * hash_shift * MIN_MATCH >= hash_bits
H A Ddeflate.c227 s->hash_bits = memLevel + 7; zlib_deflateInit2()
228 s->hash_size = 1 << s->hash_bits; zlib_deflateInit2()
230 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); zlib_deflateInit2()
589 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); longest_match()

Completed in 269 milliseconds