/Linux-v4.19/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() 225 table->hash_table = in jbd2_journal_init_revoke_table() 227 if (!table->hash_table) { in jbd2_journal_init_revoke_table() 234 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table() 246 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table() 250 kfree(table->hash_table); in jbd2_journal_destroy_revoke_table() 478 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags() 509 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in jbd2_journal_switch_revoke_table() [all …]
|
/Linux-v4.19/drivers/net/ppp/ |
D | pppoe.c | 108 struct pppox_sock *hash_table[PPPOE_HASH_SIZE]; member 172 ret = pn->hash_table[hash]; in __get_item() 189 ret = pn->hash_table[hash]; in __set_item() 198 po->next = pn->hash_table[hash]; in __set_item() 199 pn->hash_table[hash] = po; in __set_item() 210 ret = pn->hash_table[hash]; in __delete_item() 211 src = &pn->hash_table[hash]; in __delete_item() 288 struct pppox_sock *po = pn->hash_table[i]; in pppoe_flush_dev() 331 po = pn->hash_table[i]; in pppoe_flush_dev() 1039 po = pn->hash_table[i]; in pppoe_get_idx() [all …]
|
/Linux-v4.19/net/sunrpc/ |
D | cache.c | 63 head = &detail->hash_table[hash]; in sunrpc_cache_lookup() 181 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update() 414 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean() 429 head = ¤t_detail->hash_table[current_index]; in cache_clean() 505 head = &detail->hash_table[i]; in cache_purge() 1306 hlist_for_each_entry(ch, &cd->hash_table[hash], cache_list) in cache_seq_start() 1314 hlist_empty(&cd->hash_table[hash])); in cache_seq_start() 1318 return hlist_entry_safe(cd->hash_table[hash].first, in cache_seq_start() 1341 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next() 1348 return hlist_entry_safe(cd->hash_table[hash].first, in cache_seq_next() [all …]
|
/Linux-v4.19/drivers/net/ethernet/rdc/ |
D | r6040.c | 864 u16 hash_table[4] = { 0 }; in r6040_multicast_list() local 893 hash_table[i] = 0xffff; in r6040_multicast_list() 931 hash_table[crc >> 4] |= 1 << (crc & 0xf); in r6040_multicast_list() 939 iowrite16(hash_table[0], ioaddr + MAR0); in r6040_multicast_list() 940 iowrite16(hash_table[1], ioaddr + MAR1); in r6040_multicast_list() 941 iowrite16(hash_table[2], ioaddr + MAR2); in r6040_multicast_list() 942 iowrite16(hash_table[3], ioaddr + MAR3); in r6040_multicast_list()
|
/Linux-v4.19/drivers/net/bonding/ |
D | bond_alb.c | 215 struct tlb_client_info *hash_table; in __tlb_choose_channel() local 218 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel() 219 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel() 228 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel() 229 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 230 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel() 233 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 237 hash_table[hash_index].load_history; in __tlb_choose_channel() 242 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
|
/Linux-v4.19/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 1294 u16 hash_table[4]; in set_rx_mode() local 1297 memset(hash_table, 0, sizeof(hash_table)); in set_rx_mode() 1305 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1307 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1309 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1312 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1316 iowrite16(hash_table[i], ioaddr + HashTbl + i*2); in set_rx_mode()
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
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 | sunhme.c | 1529 u16 hash_table[4]; in happy_meal_init() local 1533 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_init() 1537 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_init() 1539 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_init() 1540 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_init() 1541 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_init() 1542 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_init() 2419 u16 hash_table[4]; in happy_meal_set_multicast() local 2421 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_set_multicast() 2425 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_set_multicast() [all …]
|
D | sunbmac.c | 1018 u16 hash_table[4] = { 0 }; in bigmac_set_multicast() local 1023 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bigmac_set_multicast() 1025 sbus_writel(hash_table[0], bregs + BMAC_HTABLE0); in bigmac_set_multicast() 1026 sbus_writel(hash_table[1], bregs + BMAC_HTABLE1); in bigmac_set_multicast() 1027 sbus_writel(hash_table[2], bregs + BMAC_HTABLE2); in bigmac_set_multicast() 1028 sbus_writel(hash_table[3], bregs + BMAC_HTABLE3); in bigmac_set_multicast()
|
D | sungem.c | 1801 u16 hash_table[16]; in gem_setup_multicast() local 1806 memset(hash_table, 0, sizeof(hash_table)); in gem_setup_multicast() 1810 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in gem_setup_multicast() 1813 writel(hash_table[i], gp->regs + MAC_HASH0 + (i << 2)); in gem_setup_multicast()
|
D | cassini.c | 2949 u16 hash_table[16]; in cas_process_mc_list() local 2954 memset(hash_table, 0, sizeof(hash_table)); in cas_process_mc_list() 2974 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in cas_process_mc_list() 2978 writel(hash_table[i], cp->regs + REG_MAC_HASH_TABLEN(i)); in cas_process_mc_list()
|
/Linux-v4.19/drivers/net/ethernet/ |
D | korina.c | 500 u16 hash_table[4] = { 0 }; in korina_multicast_list() local 506 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in korina_multicast_list() 512 writel((u32)(hash_table[1] << 16 | hash_table[0]), in korina_multicast_list() 514 writel((u32)(hash_table[3] << 16 | hash_table[2]), in korina_multicast_list()
|
/Linux-v4.19/drivers/net/ethernet/apple/ |
D | bmac.c | 1026 u16 hash_table[4] = { 0 }; in bmac_set_multicast() local 1035 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bmac_set_multicast() 1037 bmwrite(dev, BHASH0, hash_table[0]); in bmac_set_multicast() 1038 bmwrite(dev, BHASH1, hash_table[1]); in bmac_set_multicast() 1039 bmwrite(dev, BHASH2, hash_table[2]); in bmac_set_multicast() 1040 bmwrite(dev, BHASH3, hash_table[3]); in bmac_set_multicast()
|
/Linux-v4.19/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1203 u32 hash_table[2]; in set_multicast() local 1206 hash_table[0] = hash_table[1] = 0; in set_multicast() 1208 hash_table[1] |= 0x02000000; in set_multicast() 1230 hash_table[index / 32] |= (1 << (index % 32)); in set_multicast() 1240 dw32(HashTable0, hash_table[0]); in set_multicast() 1241 dw32(HashTable1, hash_table[1]); in set_multicast()
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 1012 u16 hash_table[32]; in build_setup_frame_hash() local 1017 memset(hash_table, 0, sizeof(hash_table)); in build_setup_frame_hash() 1018 __set_bit_le(255, hash_table); /* Broadcast entry */ in build_setup_frame_hash() 1023 __set_bit_le(index, hash_table); in build_setup_frame_hash() 1026 *setup_frm++ = hash_table[i]; in build_setup_frame_hash() 1027 *setup_frm++ = hash_table[i]; in build_setup_frame_hash()
|
D | de2104x.c | 665 u16 hash_table[32]; in build_setup_frame_hash() local 670 memset(hash_table, 0, sizeof(hash_table)); in build_setup_frame_hash() 671 __set_bit_le(255, hash_table); /* Broadcast entry */ in build_setup_frame_hash() 676 __set_bit_le(index, hash_table); in build_setup_frame_hash() 680 *setup_frm++ = hash_table[i]; in build_setup_frame_hash() 681 *setup_frm++ = hash_table[i]; in build_setup_frame_hash()
|
D | dmfe.c | 1457 u16 i, hash_table[4]; in dm9132_id_table() local 1466 memset(hash_table, 0, sizeof(hash_table)); in dm9132_id_table() 1469 hash_table[3] = 0x8000; in dm9132_id_table() 1475 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table() 1480 dw16(0, hash_table[i]); in dm9132_id_table()
|
/Linux-v4.19/include/linux/sunrpc/ |
D | cache.h | 69 struct hlist_head * hash_table; member
|
/Linux-v4.19/drivers/net/ethernet/davicom/ |
D | dm9000.c | 854 u16 hash_table[4] = { 0, 0, 0, 0x8000 }; /* broadcast address */ in dm9000_hash_table_unlocked() local 871 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked() 876 iow(db, oft++, hash_table[i]); in dm9000_hash_table_unlocked() 877 iow(db, oft++, hash_table[i] >> 8); in dm9000_hash_table_unlocked()
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/altera/ |
D | altera_tse.h | 340 u32 hash_table[64]; member
|
D | altera_tse_main.c | 1028 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter() 1044 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter() 1056 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1044 u32 hash_table[XGBE_MAC_HASH_TABLE_SIZE]; in xgbe_set_mac_hash_table() local 1050 memset(hash_table, 0, sizeof(hash_table)); in xgbe_set_mac_hash_table() 1056 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table() 1062 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table() 1068 XGMAC_IOWRITE(pdata, hash_reg, hash_table[i]); in xgbe_set_mac_hash_table()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | hash_utils_64.c | 810 static void __init hash_init_partition_table(phys_addr_t hash_table, in hash_init_partition_table() argument 820 mmu_partition_table_set_entry(0, hash_table | htab_size, 0); in hash_init_partition_table()
|
/Linux-v4.19/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1074 u32 hash_table[DP_SEL_VHF_HASH_LEN]; in lan743x_rfe_set_multicast() local 1089 memset(hash_table, 0, DP_SEL_VHF_HASH_LEN * sizeof(u32)); in lan743x_rfe_set_multicast() 1115 hash_table[bitnum / 32] |= (1 << (bitnum % 32)); in lan743x_rfe_set_multicast() 1124 DP_SEL_VHF_HASH_LEN, hash_table); in lan743x_rfe_set_multicast()
|