Searched refs:hash_index (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/bonding/ |
H A D | bond_alb.c | 191 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel() argument 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() 215 slave_info->head = 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() 227 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel() argument [all …]
|
H A D | bond_debugfs.c | 23 u32 hash_index; in bond_debug_rlb_hash_show() local 33 hash_index = bond_info->rx_hashtbl_used_head; in bond_debug_rlb_hash_show() 34 for (; hash_index != RLB_NULL_INDEX; in bond_debug_rlb_hash_show() 35 hash_index = client_info->used_next) { in bond_debug_rlb_hash_show() 36 client_info = &(bond_info->rx_hashtbl[hash_index]); in bond_debug_rlb_hash_show()
|
/linux/drivers/net/ethernet/microchip/lan865x/ |
H A D | lan865x.c | 114 u32 hash_index = 0; in lan865x_hash() local 122 hash_index |= (hash << i); in lan865x_hash() 125 return hash_index; in lan865x_hash()
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1252 u32 hash_index; in vxlan_fdb_add() local 1272 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_add() 1273 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1278 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1329 u32 hash_index; in vxlan_fdb_delete() local 1338 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_delete() 1339 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1342 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1487 u32 hash_index = fdb_head_index(vxlan, src_mac, vni); in vxlan_snoop() local 1490 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop() [all …]
|
H A D | vxlan_vnifilter.c | 486 u32 hash_index; in vxlan_update_default_fdb_entry() local 489 hash_index = fdb_head_index(vxlan, all_zeros_mac, vni); in vxlan_update_default_fdb_entry() 490 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry() 502 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry() 515 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
|
/linux/fs/ntfs3/ |
H A D | lznt.c | 50 size_t hash_index; in longest_match_std() local 54 hash_index = in longest_match_std() 58 hash = &(ctx->hash[hash_index].p1); in longest_match_std()
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fec.c | 175 int temp, hash_index; in set_multicast_one() local 181 hash_index = ((temp & 0x01) << 4) | in set_multicast_one() 186 csrVal = 1 << hash_index; in set_multicast_one()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.c | 1400 u32 hash_index; in rvu_npc_exact_update_table_entry() local 1421 hash_index = rvu_exact_calculate_hash(rvu, entry->chan, entry->ctype, in rvu_npc_exact_update_table_entry() 1424 if (hash_index != entry->index) { in rvu_npc_exact_update_table_entry() 1427 __func__, hash_index, entry->index); in rvu_npc_exact_update_table_entry()
|
/linux/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 835 u32 hash_index = id & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_add() local 841 while (hash[hash_index].in_use) in efct_hw_queue_hash_add() 842 hash_index = (hash_index + 1) & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_add() 845 hash[hash_index].id = id; in efct_hw_queue_hash_add() 846 hash[hash_index].in_use = true; in efct_hw_queue_hash_add() 847 hash[hash_index].index = index; in efct_hw_queue_hash_add()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc.h | 343 u32 hash_index; member
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 2878 int hash_index = 0; in hash_get_index() local 2884 hash_index |= (bitval << j); in hash_get_index() 2887 return hash_index; in hash_get_index()
|