/linux/fs/jbd2/ |
A 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() 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() 549 hash_list = &revoke->hash_table[i]; in jbd2_journal_write_revoke_records() [all …]
|
/linux/drivers/net/ppp/ |
A 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/net/sunrpc/ |
A D | cache.c | 63 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_find_rcu() 102 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_add_entry() 470 head = ¤t_detail->hash_table[current_index]; in cache_clean() 543 head = &detail->hash_table[i]; in cache_purge() 1345 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start() 1350 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start() 1373 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next() 1381 hlist_first_rcu(&cd->hash_table[hash])), in cache_seq_next() 1735 if (cd->hash_table == NULL) { in cache_create_net() 1741 INIT_HLIST_HEAD(&cd->hash_table[i]); in cache_create_net() [all …]
|
/linux/drivers/net/ethernet/rdc/ |
A 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/drivers/net/bonding/ |
A D | bond_alb.c | 194 struct tlb_client_info *hash_table; in __tlb_choose_channel() local 197 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel() 198 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel() 207 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel() 208 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 209 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel() 212 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 216 hash_table[hash_index].load_history; in __tlb_choose_channel() 221 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
|
/linux/drivers/net/ethernet/packetengines/ |
A 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/drivers/net/ethernet/sun/ |
A D | sunhme.c | 1504 u16 hash_table[4]; in happy_meal_init() local 1508 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_init() 1512 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_init() 1514 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_init() 1515 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_init() 1516 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_init() 1517 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_init() 2394 u16 hash_table[4]; in happy_meal_set_multicast() local 2396 memset(hash_table, 0, sizeof(hash_table)); in happy_meal_set_multicast() 2400 hash_table[crc >> 4] |= 1 << (crc & 0xf); in happy_meal_set_multicast() [all …]
|
A 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()
|
A 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()
|
A 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()
|
A D | cassini.c | 2923 u16 hash_table[16]; in cas_process_mc_list() local 2928 memset(hash_table, 0, sizeof(hash_table)); in cas_process_mc_list() 2948 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in cas_process_mc_list() 2952 writel(hash_table[i], cp->regs + REG_MAC_HASH_TABLEN(i)); in cas_process_mc_list()
|
/linux/drivers/net/ethernet/ |
A D | korina.c | 740 u16 hash_table[4] = { 0 }; in korina_multicast_list() local 746 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in korina_multicast_list() 752 writel((u32)(hash_table[1] << 16 | hash_table[0]), in korina_multicast_list() 754 writel((u32)(hash_table[3] << 16 | hash_table[2]), in korina_multicast_list()
|
/linux/drivers/net/ethernet/apple/ |
A D | bmac.c | 1024 u16 hash_table[4] = { 0 }; in bmac_set_multicast() local 1033 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bmac_set_multicast() 1035 bmwrite(dev, BHASH0, hash_table[0]); in bmac_set_multicast() 1036 bmwrite(dev, BHASH1, hash_table[1]); in bmac_set_multicast() 1037 bmwrite(dev, BHASH2, hash_table[2]); in bmac_set_multicast() 1038 bmwrite(dev, BHASH3, hash_table[3]); in bmac_set_multicast()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 1192 u32 hash_table[2]; in set_multicast() local 1195 hash_table[0] = hash_table[1] = 0; in set_multicast() 1197 hash_table[1] |= 0x02000000; in set_multicast() 1219 hash_table[index / 32] |= (1 << (index % 32)); in set_multicast() 1229 dw32(HashTable0, hash_table[0]); in set_multicast() 1230 dw32(HashTable1, hash_table[1]); in set_multicast()
|
/linux/drivers/net/ethernet/dec/tulip/ |
A 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()
|
A 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()
|
A 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/include/linux/sunrpc/ |
A D | cache.h | 69 struct hlist_head * hash_table; member
|
/linux/drivers/net/ethernet/davicom/ |
A D | dm9000.c | 843 u16 hash_table[4] = { 0, 0, 0, 0x8000 }; /* broadcast address */ in dm9000_hash_table_unlocked() local 860 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked() 865 iow(db, oft++, hash_table[i]); in dm9000_hash_table_unlocked() 866 iow(db, oft++, hash_table[i] >> 8); in dm9000_hash_table_unlocked()
|
/linux/drivers/net/ethernet/synopsys/ |
A 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/drivers/net/ethernet/altera/ |
A D | altera_tse.h | 329 u32 hash_table[64]; member
|
A D | altera_tse_main.c | 1016 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter() 1032 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter() 1044 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A 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/arch/powerpc/mm/book3s64/ |
A D | hash_utils.c | 869 static void __init hash_init_partition_table(phys_addr_t hash_table, in hash_init_partition_table() argument 879 mmu_partition_table_set_entry(0, hash_table | htab_size, 0, false); in hash_init_partition_table()
|
/linux/drivers/net/ethernet/microchip/ |
A D | lan743x_main.c | 1083 u32 hash_table[DP_SEL_VHF_HASH_LEN]; in lan743x_rfe_set_multicast() local 1098 memset(hash_table, 0, DP_SEL_VHF_HASH_LEN * sizeof(u32)); in lan743x_rfe_set_multicast() 1124 hash_table[bitnum / 32] |= (1 << (bitnum % 32)); in lan743x_rfe_set_multicast() 1133 DP_SEL_VHF_HASH_LEN, hash_table); in lan743x_rfe_set_multicast()
|