Home
last modified time | relevance | path

Searched refs:bucket_hash (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_fdir.c26 bucket_hash ^= lo_hash_dword >> n; \
32 bucket_hash ^= hi_hash_dword >> n; \
53 u32 sig_hash = 0, bucket_hash = 0, common_hash = 0; in txgbe_atr_compute_sig_hash() local
83 bucket_hash ^= common_hash; in txgbe_atr_compute_sig_hash()
84 bucket_hash &= TXGBE_ATR_HASH_MASK; in txgbe_atr_compute_sig_hash()
90 *hash = sig_hash ^ bucket_hash; in txgbe_atr_compute_sig_hash()
97 bucket_hash ^= lo_hash_dword >> n; \
99 bucket_hash ^= hi_hash_dword >> n; \
117 u32 bucket_hash = 0; in txgbe_atr_compute_perfect_hash() local
155 input->formatted.bkt_hash = (__force __be16)(bucket_hash & 0x1FFF); in txgbe_atr_compute_perfect_hash()
/linux/drivers/md/bcache/
H A Dbtree.h206 iter < ARRAY_SIZE((c)->bucket_hash); \
208 hlist_for_each_entry_rcu((b), (c)->bucket_hash + iter, hash)
H A Dsysfs.c701 for (h = c->bucket_hash; in bch_cache_max_chain()
702 h < c->bucket_hash + (1 << BUCKET_HASH_BITS); in bch_cache_max_chain()
H A Dbcache.h742 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS]; member
H A Dbtree.c850 return &c->bucket_hash[hash_32(PTR_HASH(c, k), BUCKET_HASH_BITS)]; in mca_hash()