Searched refs:hash_index (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/net/bonding/ |
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 …]
|
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-6.1.9/drivers/net/vxlan/ |
D | vxlan_core.c | 1228 u32 hash_index; in vxlan_fdb_add() local 1248 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_add() 1249 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1254 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1302 u32 hash_index; in vxlan_fdb_delete() local 1311 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_delete() 1312 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1315 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1452 u32 hash_index = fdb_head_index(vxlan, src_mac, vni); in vxlan_snoop() local 1455 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop() [all …]
|
D | vxlan_vnifilter.c | 481 u32 hash_index; in vxlan_update_default_fdb_entry() local 484 hash_index = fdb_head_index(vxlan, all_zeros_mac, vni); in vxlan_update_default_fdb_entry() 485 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry() 497 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry() 510 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
|
/linux-6.1.9/fs/ntfs3/ |
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-6.1.9/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 180 int temp, hash_index; in set_multicast_one() local 186 hash_index = ((temp & 0x01) << 4) | in set_multicast_one() 191 csrVal = 1 << hash_index; in set_multicast_one()
|
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 1100 static inline unsigned hash_index(dm_block_t index) in hash_index() function 1109 unsigned h = hash_index(index); in disk_ll_load_ie() 1140 unsigned h = hash_index(index); in disk_ll_save_ie()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 1360 u32 hash_index; in rvu_npc_exact_update_table_entry() local 1381 hash_index = rvu_exact_calculate_hash(rvu, entry->chan, entry->ctype, in rvu_npc_exact_update_table_entry() 1384 if (hash_index != entry->index) { in rvu_npc_exact_update_table_entry() 1387 __func__, hash_index, entry->index); in rvu_npc_exact_update_table_entry()
|
/linux-6.1.9/drivers/scsi/elx/efct/ |
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-6.1.9/drivers/scsi/lpfc/ |
D | lpfc.h | 335 u32 hash_index; member
|
/linux-6.1.9/drivers/net/ethernet/cadence/ |
D | macb_main.c | 2763 int hash_index = 0; in hash_get_index() local 2769 hash_index |= (bitval << j); in hash_get_index() 2772 return hash_index; in hash_get_index()
|