| /linux-6.15/fs/bcachefs/ |
| H A D | btree_cache.c | 139 return b->hash_val == *v ? 0 : 1; in bch2_btree_cache_cmp_fn() 144 .key_offset = offsetof(struct btree, hash_val), 266 b->hash_val = 0; in __bch2_btree_node_hash_remove() 283 BUG_ON(b->hash_val); in __bch2_btree_node_hash_insert() 285 b->hash_val = btree_ptr_hash_val(&b->key); in __bch2_btree_node_hash_insert() 443 if (b->hash_val && !ret) in __btree_node_reclaim() 961 b->hash_val = 0; in bch2_btree_node_fill() 1079 if (unlikely(b->hash_val != btree_ptr_hash_val(k) || in __bch2_btree_node_get() 1183 b->hash_val != btree_ptr_hash_val(k))) in bch2_btree_node_get() 1195 if (unlikely(b->hash_val != btree_ptr_hash_val(k) || in bch2_btree_node_get() [all …]
|
| H A D | btree_cache.h | 78 return b->hash_val != 0; in btree_node_hashed()
|
| H A D | btree_types.h | 76 u64 hash_val; member
|
| H A D | btree_update_interior.c | 2534 if (btree_ptr_hash_val(new_key) != b->hash_val) { in bch2_btree_node_update_key()
|
| /linux-6.15/net/core/ |
| H A D | neighbour.c | 602 u32 hash_val, key_len = tbl->key_len; in ___neigh_create() local 702 hash_val ^= (hash_val >> 16); in pneigh_hash() 703 hash_val ^= hash_val >> 8; in pneigh_hash() 704 hash_val ^= hash_val >> 4; in pneigh_hash() 705 hash_val &= PNEIGH_HASHMASK; in pneigh_hash() 706 return hash_val; in pneigh_hash() 729 u32 hash_val = pneigh_hash(pkey, key_len); in __pneigh_lookup() local 742 u32 hash_val = pneigh_hash(pkey, key_len); in pneigh_lookup() local 771 n->next = tbl->phash_buckets[hash_val]; in pneigh_lookup() 772 tbl->phash_buckets[hash_val] = n; in pneigh_lookup() [all …]
|
| /linux-6.15/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_main.c | 1303 u32 hash_val; in ipoib_neigh_get() local 1312 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_get() 1313 for (neigh = rcu_dereference_bh(htbl->buckets[hash_val]); in ipoib_neigh_get() 1425 u32 hash_val; in ipoib_neigh_alloc() local 1437 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_alloc() 1438 for (neigh = rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1464 rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1466 rcu_assign_pointer(htbl->buckets[hash_val], neigh); in ipoib_neigh_alloc() 1515 u32 hash_val; in ipoib_neigh_free() local 1522 hash_val = ipoib_addr_hash(htbl, neigh->daddr); in ipoib_neigh_free() [all …]
|
| /linux-6.15/include/net/ |
| H A D | neighbour.h | 304 u32 hash_val; in ___neigh_lookup_noref() local 306 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref() 307 neigh_for_each_in_bucket_rcu(n, &nht->hash_heads[hash_val]) in ___neigh_lookup_noref()
|
| /linux-6.15/drivers/net/ethernet/davicom/ |
| H A D | dm9051.c | 1037 u32 hash_val; in dm9051_set_rx_mode() local 1062 hash_val = ether_crc_le(ETH_ALEN, ha->addr) & GENMASK(5, 0); in dm9051_set_rx_mode() 1063 rxctrl.hash_table[hash_val / 16] |= BIT(0) << (hash_val % 16); in dm9051_set_rx_mode()
|
| H A D | dm9000.c | 841 u32 hash_val; in dm9000_hash_table_unlocked() local 858 hash_val = ether_crc_le(6, ha->addr) & 0x3f; in dm9000_hash_table_unlocked() 859 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked()
|
| /linux-6.15/drivers/net/ethernet/nxp/ |
| H A D | lpc_eth.c | 1112 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local 1140 hash_val = (ether_crc(6, ha->addr) >> 23) & 0x3F; in lpc_eth_set_multicast_list() 1142 if (hash_val >= 32) in lpc_eth_set_multicast_list() 1143 hashhi |= 1 << (hash_val - 32); in lpc_eth_set_multicast_list() 1145 hashlo |= 1 << hash_val; in lpc_eth_set_multicast_list()
|
| /linux-6.15/drivers/net/ethernet/emulex/benet/ |
| H A D | be_hw.h | 283 u8 hash_val[4]; /* dword 3 */ member
|
| /linux-6.15/drivers/net/ethernet/dec/tulip/ |
| H A D | dmfe.c | 1458 u32 hash_val = cal_CRC((char *)ha->addr, 6, 0) & 0x3f; in dm9132_id_table() local 1460 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table()
|
| /linux-6.15/net/openvswitch/ |
| H A D | flow_netlink.c | 1177 u32 hash_val = nla_get_u32(a[OVS_KEY_ATTR_DP_HASH]); in metadata_from_nlattrs() local 1179 SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); in metadata_from_nlattrs()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_msg.h | 237 __be32 hash_val; member
|
| H A D | sge.c | 3458 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro() 3744 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
|
| /linux-6.15/drivers/crypto/chelsio/ |
| H A D | chcr_algo.c | 401 phys_cpl->rss_hdr_int.hash_val = 0; in dsgl_walk_end()
|
| /linux-6.15/drivers/infiniband/hw/cxgb4/ |
| H A D | cm.c | 4095 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()
|