Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/fs/bcachefs/
H A Dbuckets_waiting_for_journal.c9 bucket_hash(struct buckets_waiting_for_journal_table *t, in bucket_hash() function
36 struct bucket_hashed *h = bucket_hash(t, i, dev_bucket); in bch2_bucket_journal_seq_ready()
60 old = bucket_hash(t, i, new->dev_bucket); in bucket_table_insert()
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82599.c1277 bucket_hash ^= lo_hash_dword >> n; \
1283 bucket_hash ^= hi_hash_dword >> n; \
1303 u32 sig_hash = 0, bucket_hash = 0, common_hash = 0; in ixgbe_atr_compute_sig_hash_82599() local
1345 bucket_hash ^= common_hash; in ixgbe_atr_compute_sig_hash_82599()
1346 bucket_hash &= IXGBE_ATR_HASH_MASK; in ixgbe_atr_compute_sig_hash_82599()
1352 return sig_hash ^ bucket_hash; in ixgbe_atr_compute_sig_hash_82599()
1420 bucket_hash ^= lo_hash_dword >> n; \
1422 bucket_hash ^= hi_hash_dword >> n; \
1441 u32 bucket_hash = 0; in ixgbe_atr_compute_perfect_hash_82599() local
1481 input->formatted.bkt_hash = (__force __be16)(bucket_hash & 0x1FFF); in ixgbe_atr_compute_perfect_hash_82599()
/linux-6.15/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.c704 for (h = c->bucket_hash; in bch_cache_max_chain()
705 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.c852 return &c->bucket_hash[hash_32(PTR_HASH(c, k), BUCKET_HASH_BITS)]; in mca_hash()