/linux-6.6.21/fs/jbd2/ |
D | revoke.c | 117 struct list_head *hash_table; member 151 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 166 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 233 table->hash_table = in jbd2_journal_init_revoke_table() 235 if (!table->hash_table) { in jbd2_journal_init_revoke_table() 242 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table() 254 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table() 258 kfree(table->hash_table); in jbd2_journal_destroy_revoke_table() 492 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags() 523 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in jbd2_journal_switch_revoke_table() [all …]
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_vmid.c | 52 hash_for_each_possible(vport->hash_table, vmp, hnode, hash) { in lpfc_get_vmid_from_hashtable() 72 hash_add(vport->hash_table, &vmp->hnode, hash); in lpfc_put_vmid_in_hashtable() 321 if (!hash_empty(vport->hash_table)) in lpfc_reinit_vmid() 322 hash_for_each_safe(vport->hash_table, bucket, tmp, cur, hnode) in lpfc_reinit_vmid()
|
/linux-6.6.21/drivers/net/ppp/ |
D | pppoe.c | 103 struct pppox_sock *hash_table[PPPOE_HASH_SIZE]; member 165 ret = pn->hash_table[hash]; in __get_item() 182 ret = pn->hash_table[hash]; in __set_item() 191 po->next = pn->hash_table[hash]; in __set_item() 192 pn->hash_table[hash] = po; in __set_item() 203 ret = pn->hash_table[hash]; in __delete_item() 204 src = &pn->hash_table[hash]; in __delete_item() 281 struct pppox_sock *po = pn->hash_table[i]; in pppoe_flush_dev() 324 po = pn->hash_table[i]; in pppoe_flush_dev() 1059 po = pn->hash_table[i]; in pppoe_get_idx() [all …]
|
/linux-6.6.21/drivers/net/ethernet/davicom/ |
D | dm9051.c | 53 u16 hash_table[4]; member 274 ret = dm9051_set_regs(db, DM9051_MAR, db->rctl.hash_table, sizeof(db->rctl.hash_table)); in dm9051_set_recv() 952 memset(db->rctl.hash_table, 0, sizeof(db->rctl.hash_table)); in dm9051_open() 1055 rxctrl.hash_table[0] = 0; in dm9051_set_rx_mode() 1056 rxctrl.hash_table[1] = 0; in dm9051_set_rx_mode() 1057 rxctrl.hash_table[2] = 0; in dm9051_set_rx_mode() 1058 rxctrl.hash_table[3] = 0x8000; in dm9051_set_rx_mode() 1063 rxctrl.hash_table[hash_val / 16] |= BIT(0) << (hash_val % 16); in dm9051_set_rx_mode()
|
D | dm9000.c | 842 u16 hash_table[4] = { 0, 0, 0, 0x8000 }; /* broadcast address */ in dm9000_hash_table_unlocked() local 859 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked() 864 iow(db, oft++, hash_table[i]); in dm9000_hash_table_unlocked() 865 iow(db, oft++, hash_table[i] >> 8); in dm9000_hash_table_unlocked()
|
/linux-6.6.21/net/sunrpc/ |
D | cache.c | 65 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_find_rcu() 104 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_add_entry() 233 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update() 457 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean() 472 head = ¤t_detail->hash_table[current_index]; in cache_clean() 545 head = &detail->hash_table[i]; in cache_purge() 1353 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start() 1361 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start() 1366 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start() 1389 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next() [all …]
|
/linux-6.6.21/drivers/net/ethernet/sun/ |
D | sunhme.c | 1351 u16 hash_table[4]; in happy_meal_init() local 1355 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_init() 1359 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_init() 1361 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_init() 1362 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_init() 1363 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_init() 1364 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_init() 2103 u16 hash_table[4]; in happy_meal_set_multicast() local 2105 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_set_multicast() 2109 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_set_multicast() [all …]
|
D | sunqe.c | 646 u16 hash_table[4]; in qe_set_multicast() local 647 u8 *hbytes = (unsigned char *) &hash_table[0]; in qe_set_multicast() 649 memset(hash_table, 0, sizeof(hash_table)); in qe_set_multicast() 653 hash_table[crc >> 4] |= 1 << (crc & 0xf); in qe_set_multicast()
|
D | sunbmac.c | 1019 u16 hash_table[4] = { 0 }; in bigmac_set_multicast() local 1024 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bigmac_set_multicast() 1026 sbus_writel(hash_table[0], bregs + BMAC_HTABLE0); in bigmac_set_multicast() 1027 sbus_writel(hash_table[1], bregs + BMAC_HTABLE1); in bigmac_set_multicast() 1028 sbus_writel(hash_table[2], bregs + BMAC_HTABLE2); in bigmac_set_multicast() 1029 sbus_writel(hash_table[3], bregs + BMAC_HTABLE3); in bigmac_set_multicast()
|
D | sungem.c | 1792 u16 hash_table[16]; in gem_setup_multicast() local 1797 memset(hash_table, 0, sizeof(hash_table)); in gem_setup_multicast() 1801 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in gem_setup_multicast() 1804 writel(hash_table[i], gp->regs + MAC_HASH0 + (i << 2)); in gem_setup_multicast()
|
/linux-6.6.21/drivers/net/ethernet/rdc/ |
D | r6040.c | 853 u16 hash_table[4] = { 0 }; in r6040_multicast_list() local 882 hash_table[i] = 0xffff; in r6040_multicast_list() 920 hash_table[crc >> 4] |= 1 << (crc & 0xf); in r6040_multicast_list() 928 iowrite16(hash_table[0], ioaddr + MAR0); in r6040_multicast_list() 929 iowrite16(hash_table[1], ioaddr + MAR1); in r6040_multicast_list() 930 iowrite16(hash_table[2], ioaddr + MAR2); in r6040_multicast_list() 931 iowrite16(hash_table[3], ioaddr + MAR3); in r6040_multicast_list()
|
/linux-6.6.21/drivers/net/bonding/ |
D | bond_alb.c | 195 struct tlb_client_info *hash_table; in __tlb_choose_channel() local 198 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel() 199 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel() 208 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel() 209 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 210 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel() 213 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 217 hash_table[hash_index].load_history; in __tlb_choose_channel() 222 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
|
/linux-6.6.21/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 1308 u16 hash_table[4]; in set_rx_mode() local 1311 memset(hash_table, 0, sizeof(hash_table)); in set_rx_mode() 1319 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1321 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1323 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1326 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1330 iowrite16(hash_table[i], ioaddr + HashTbl + i*2); in set_rx_mode()
|
/linux-6.6.21/drivers/net/ethernet/ |
D | korina.c | 741 u16 hash_table[4] = { 0 }; in korina_multicast_list() local 747 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in korina_multicast_list() 753 writel((u32)(hash_table[1] << 16 | hash_table[0]), in korina_multicast_list() 755 writel((u32)(hash_table[3] << 16 | hash_table[2]), in korina_multicast_list()
|
/linux-6.6.21/drivers/net/ethernet/apple/ |
D | bmac.c | 1023 u16 hash_table[4] = { 0 }; in bmac_set_multicast() local 1032 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bmac_set_multicast() 1034 bmwrite(dev, BHASH0, hash_table[0]); in bmac_set_multicast() 1035 bmwrite(dev, BHASH1, hash_table[1]); in bmac_set_multicast() 1036 bmwrite(dev, BHASH2, hash_table[2]); in bmac_set_multicast() 1037 bmwrite(dev, BHASH3, hash_table[3]); in bmac_set_multicast()
|
/linux-6.6.21/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 1002 u16 hash_table[32]; in build_setup_frame_hash() local 1007 memset(hash_table, 0, sizeof(hash_table)); in build_setup_frame_hash() 1008 __set_bit_le(255, hash_table); /* Broadcast entry */ in build_setup_frame_hash() 1013 __set_bit_le(index, hash_table); in build_setup_frame_hash() 1016 *setup_frm++ = hash_table[i]; in build_setup_frame_hash() 1017 *setup_frm++ = hash_table[i]; in build_setup_frame_hash()
|
D | de2104x.c | 667 u16 hash_table[32]; in build_setup_frame_hash() local 672 memset(hash_table, 0, sizeof(hash_table)); in build_setup_frame_hash() 673 __set_bit_le(255, hash_table); /* Broadcast entry */ in build_setup_frame_hash() 678 __set_bit_le(index, hash_table); in build_setup_frame_hash() 682 *setup_frm++ = hash_table[i]; in build_setup_frame_hash() 683 *setup_frm++ = hash_table[i]; in build_setup_frame_hash()
|
D | dmfe.c | 1442 u16 i, hash_table[4]; in dm9132_id_table() local 1451 memset(hash_table, 0, sizeof(hash_table)); in dm9132_id_table() 1454 hash_table[3] = 0x8000; in dm9132_id_table() 1460 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table() 1465 dw16(0, hash_table[i]); in dm9132_id_table()
|
/linux-6.6.21/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1190 u32 hash_table[2]; in set_multicast() local 1193 hash_table[0] = hash_table[1] = 0; in set_multicast() 1195 hash_table[1] |= 0x02000000; in set_multicast() 1217 hash_table[index / 32] |= (1 << (index % 32)); in set_multicast() 1227 dw32(HashTable0, hash_table[0]); in set_multicast() 1228 dw32(HashTable1, hash_table[1]); in set_multicast()
|
/linux-6.6.21/include/linux/sunrpc/ |
D | cache.h | 73 struct hlist_head * hash_table; member
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-hw.c | 331 u32 hash_table[XLGMAC_MAC_HASH_TABLE_SIZE]; in xlgmac_set_mac_hash_table() local 340 memset(hash_table, 0, sizeof(hash_table)); in xlgmac_set_mac_hash_table() 346 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xlgmac_set_mac_hash_table() 352 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xlgmac_set_mac_hash_table() 358 writel(hash_table[i], pdata->mac_regs + hash_reg); in xlgmac_set_mac_hash_table()
|
/linux-6.6.21/drivers/net/ethernet/altera/ |
D | altera_tse.h | 319 u32 hash_table[64]; member
|
D | altera_tse_main.c | 807 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter() 823 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter() 835 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | macsec_fs.c | 656 void *macdev, struct rhashtable *hash_table, bool is_tx) in macsec_fs_id_del() argument 684 rhashtable_remove_fast(hash_table, &fs_id_found->hash, *rhash); in macsec_fs_id_del() 700 void *macdev, struct rhashtable *hash_table, sci_t sci, in macsec_fs_id_add() argument 711 fs_id_iter = rhashtable_lookup(hash_table, &fs_id, rhash_fs_id); in macsec_fs_id_add() 752 err = rhashtable_insert_fast(hash_table, &fs_id_iter->hash, *rhash); in macsec_fs_id_add()
|
/linux-6.6.21/Documentation/bpf/ |
D | map_bloom_filter.rst | 134 return bpf_map_lookup_elem(&hash_table, &key);
|