/linux-4.1.27/fs/jbd/ |
D | revoke.c | 120 struct list_head *hash_table; member 153 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 175 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 240 table->hash_table = in journal_init_revoke_table() 242 if (!table->hash_table) { in journal_init_revoke_table() 249 INIT_LIST_HEAD(&table->hash_table[i]); in journal_init_revoke_table() 261 hash_list = &table->hash_table[i]; in journal_destroy_revoke_table() 265 kfree(table->hash_table); in journal_destroy_revoke_table() 492 hash_list = &revoke->hash_table[i]; in journal_clear_buffer_revoked_flags() 523 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in journal_switch_revoke_table() [all …]
|
/linux-4.1.27/net/core/ |
D | flow.c | 127 &fcp->hash_table[i], u.hlist) { in __flow_cache_shrink() 214 if (!fcp->hash_table) in flow_cache_lookup() 221 hlist_for_each_entry(tfle, &fcp->hash_table[hash], u.hlist) { in flow_cache_lookup() 242 hlist_add_head(&fle->u.hlist, &fcp->hash_table[hash]); in flow_cache_lookup() 296 &fcp->hash_table[i], u.hlist) { in flow_cache_flush_tasklet() 325 if (!hlist_empty(&fcp->hash_table[i])) in flow_cache_percpu_empty() 398 if (!fcp->hash_table) { in flow_cache_cpu_prepare() 399 fcp->hash_table = kzalloc_node(sz, GFP_KERNEL, cpu_to_node(cpu)); in flow_cache_cpu_prepare() 400 if (!fcp->hash_table) { in flow_cache_cpu_prepare() 481 kfree(fcp->hash_table); in flow_cache_init() [all …]
|
/linux-4.1.27/fs/jbd2/ |
D | revoke.c | 120 struct list_head *hash_table; member 152 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 174 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 237 table->hash_table = in jbd2_journal_init_revoke_table() 239 if (!table->hash_table) { in jbd2_journal_init_revoke_table() 246 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table() 258 hash_list = &table->hash_table[i]; in jbd2_journal_destroy_revoke_table() 262 kfree(table->hash_table); in jbd2_journal_destroy_revoke_table() 489 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags() 520 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in jbd2_journal_switch_revoke_table() [all …]
|
/linux-4.1.27/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() 1051 po = pn->hash_table[i]; in pppoe_get_idx() [all …]
|
/linux-4.1.27/include/net/ |
D | flowcache.h | 10 struct hlist_head *hash_table; member
|
/linux-4.1.27/net/sunrpc/ |
D | cache.c | 60 head = &detail->hash_table[hash]; in sunrpc_cache_lookup() 171 head = &detail->hash_table[hash]; in sunrpc_cache_update() 419 current_detail->hash_table[current_index] == NULL) in cache_clean() 432 cp = & current_detail->hash_table[current_index]; in cache_clean() 1292 for (ch=cd->hash_table[hash]; ch; ch=ch->next) in c_start() 1300 cd->hash_table[hash]==NULL); in c_start() 1304 return cd->hash_table[hash]; in c_start() 1324 cd->hash_table[hash] == NULL) { in c_next() 1331 return cd->hash_table[hash]; in c_next() 1673 cd->hash_table = kzalloc(cd->hash_size * sizeof(struct cache_head *), in cache_create_net() [all …]
|
/linux-4.1.27/drivers/net/ethernet/rdc/ |
D | r6040.c | 866 u16 hash_table[4] = { 0 }; in r6040_multicast_list() local 895 hash_table[i] = 0xffff; in r6040_multicast_list() 933 hash_table[crc >> 4] |= 1 << (crc & 0xf); in r6040_multicast_list() 941 iowrite16(hash_table[0], ioaddr + MAR0); in r6040_multicast_list() 942 iowrite16(hash_table[1], ioaddr + MAR1); in r6040_multicast_list() 943 iowrite16(hash_table[2], ioaddr + MAR2); in r6040_multicast_list() 944 iowrite16(hash_table[3], ioaddr + MAR3); in r6040_multicast_list()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_alb.c | 223 struct tlb_client_info *hash_table; in __tlb_choose_channel() local 226 hash_table = bond_info->tx_hashtbl; in __tlb_choose_channel() 227 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel() 236 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel() 237 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 238 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel() 241 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 245 hash_table[hash_index].load_history; in __tlb_choose_channel() 250 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 1297 u16 hash_table[4]; in set_rx_mode() local 1300 memset(hash_table, 0, sizeof(hash_table)); in set_rx_mode() 1308 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1310 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1312 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1315 hash_table[bit >> 4] |= (1 << bit); in set_rx_mode() 1319 iowrite16(hash_table[i], ioaddr + HashTbl + i*2); in set_rx_mode()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunqe.c | 644 u16 hash_table[4]; in qe_set_multicast() local 645 u8 *hbytes = (unsigned char *) &hash_table[0]; in qe_set_multicast() 647 memset(hash_table, 0, sizeof(hash_table)); in qe_set_multicast() 651 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 | 1793 u16 hash_table[16]; in gem_setup_multicast() local 1798 memset(hash_table, 0, sizeof(hash_table)); in gem_setup_multicast() 1802 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in gem_setup_multicast() 1805 writel(hash_table[i], gp->regs + MAC_HASH0 + (i << 2)); in gem_setup_multicast()
|
D | cassini.c | 2947 u16 hash_table[16]; in cas_process_mc_list() local 2952 memset(hash_table, 0, sizeof(hash_table)); in cas_process_mc_list() 2972 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in cas_process_mc_list() 2976 writel(hash_table[i], cp->regs + REG_MAC_HASH_TABLEN(i)); in cas_process_mc_list()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | korina.c | 496 u16 hash_table[4] = { 0 }; in korina_multicast_list() local 502 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); in korina_multicast_list() 508 writel((u32)(hash_table[1] << 16 | hash_table[0]), in korina_multicast_list() 510 writel((u32)(hash_table[3] << 16 | hash_table[2]), in korina_multicast_list()
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1111 u32 hash_table[2]; in set_multicast() local 1114 hash_table[0] = hash_table[1] = 0; in set_multicast() 1116 hash_table[1] |= 0x02000000; in set_multicast() 1138 hash_table[index / 32] |= (1 << (index % 32)); in set_multicast() 1148 dw32(HashTable0, hash_table[0]); in set_multicast() 1149 dw32(HashTable1, hash_table[1]); in set_multicast()
|
/linux-4.1.27/drivers/net/ethernet/apple/ |
D | bmac.c | 1032 u16 hash_table[4] = { 0 }; in bmac_set_multicast() local 1041 hash_table[crc >> 4] |= 1 << (crc & 0xf); in bmac_set_multicast() 1043 bmwrite(dev, BHASH0, hash_table[0]); in bmac_set_multicast() 1044 bmwrite(dev, BHASH1, hash_table[1]); in bmac_set_multicast() 1045 bmwrite(dev, BHASH2, hash_table[2]); in bmac_set_multicast() 1046 bmwrite(dev, BHASH3, hash_table[3]); in bmac_set_multicast()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 1016 u16 hash_table[32]; in build_setup_frame_hash() local 1021 memset(hash_table, 0, sizeof(hash_table)); in build_setup_frame_hash() 1022 __set_bit_le(255, hash_table); /* Broadcast entry */ in build_setup_frame_hash() 1027 __set_bit_le(index, hash_table); in build_setup_frame_hash() 1030 *setup_frm++ = hash_table[i]; in build_setup_frame_hash() 1031 *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 | 1463 u16 i, hash_table[4]; in dm9132_id_table() local 1472 memset(hash_table, 0, sizeof(hash_table)); in dm9132_id_table() 1475 hash_table[3] = 0x8000; in dm9132_id_table() 1481 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table() 1486 dw16(0, hash_table[i]); in dm9132_id_table()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | cache.h | 76 struct cache_head ** hash_table; member
|
/linux-4.1.27/drivers/net/ethernet/davicom/ |
D | dm9000.c | 853 u16 hash_table[4] = { 0, 0, 0, 0x8000 }; /* broadcast address */ in dm9000_hash_table_unlocked() local 870 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked() 875 iow(db, oft++, hash_table[i]); in dm9000_hash_table_unlocked() 876 iow(db, oft++, hash_table[i] >> 8); in dm9000_hash_table_unlocked()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 803 u32 hash_table[XGBE_MAC_HASH_TABLE_SIZE]; in xgbe_set_mac_hash_table() local 809 memset(hash_table, 0, sizeof(hash_table)); in xgbe_set_mac_hash_table() 815 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table() 821 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table() 827 XGMAC_IOWRITE(pdata, hash_reg, hash_table[i]); in xgbe_set_mac_hash_table()
|
/linux-4.1.27/drivers/net/ethernet/altera/ |
D | altera_tse.h | 329 u32 hash_table[64]; member
|
D | altera_tse_main.c | 1037 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter() 1053 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter() 1065 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
|
/linux-4.1.27/fs/nfsd/ |
D | export.c | 1087 struct cache_head **export_table = cd->hash_table; in e_start() 1115 struct cache_head **export_table = cd->hash_table; in e_next()
|