hash_index 190 drivers/net/bonding/bond_alb.c static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, hash_index 198 drivers/net/bonding/bond_alb.c assigned_slave = hash_table[hash_index].tx_slave; hash_index 207 drivers/net/bonding/bond_alb.c hash_table[hash_index].tx_slave = assigned_slave; hash_index 208 drivers/net/bonding/bond_alb.c hash_table[hash_index].next = next_index; hash_index 209 drivers/net/bonding/bond_alb.c hash_table[hash_index].prev = TLB_NULL_INDEX; hash_index 212 drivers/net/bonding/bond_alb.c hash_table[next_index].prev = hash_index; hash_index 214 drivers/net/bonding/bond_alb.c slave_info->head = hash_index; hash_index 216 drivers/net/bonding/bond_alb.c hash_table[hash_index].load_history; hash_index 221 drivers/net/bonding/bond_alb.c hash_table[hash_index].tx_bytes += skb_len; hash_index 226 drivers/net/bonding/bond_alb.c static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, hash_index 236 drivers/net/bonding/bond_alb.c tx_slave = __tlb_choose_channel(bond, hash_index, skb_len); hash_index 251 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 255 drivers/net/bonding/bond_alb.c hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); hash_index 256 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 462 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 466 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; hash_index 467 drivers/net/bonding/bond_alb.c for (; hash_index != RLB_NULL_INDEX; hash_index 468 drivers/net/bonding/bond_alb.c hash_index = client_info->used_next) { hash_index 469 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 491 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 495 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; hash_index 496 drivers/net/bonding/bond_alb.c for (; hash_index != RLB_NULL_INDEX; hash_index 497 drivers/net/bonding/bond_alb.c hash_index = client_info->used_next) { hash_index 498 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 522 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 526 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; hash_index 527 drivers/net/bonding/bond_alb.c for (; hash_index != RLB_NULL_INDEX; hash_index 528 drivers/net/bonding/bond_alb.c hash_index = client_info->used_next) { hash_index 529 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 558 drivers/net/bonding/bond_alb.c u32 hash_index = 0; hash_index 564 drivers/net/bonding/bond_alb.c hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_dst)); hash_index 565 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 605 drivers/net/bonding/bond_alb.c rlb_src_unlink(bond, hash_index); hash_index 606 drivers/net/bonding/bond_alb.c rlb_src_link(bond, hash_src, hash_index); hash_index 631 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl_used_head = hash_index; hash_index 635 drivers/net/bonding/bond_alb.c hash_index; hash_index 705 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 710 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; hash_index 711 drivers/net/bonding/bond_alb.c for (; hash_index != RLB_NULL_INDEX; hash_index 712 drivers/net/bonding/bond_alb.c hash_index = client_info->used_next) { hash_index 713 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 1342 drivers/net/bonding/bond_alb.c u32 hash_index; hash_index 1354 drivers/net/bonding/bond_alb.c hash_index = bond_xmit_hash(bond, skb); hash_index 1357 drivers/net/bonding/bond_alb.c hash_index & 0xFF, hash_index 1366 drivers/net/bonding/bond_alb.c tx_slave = slaves->arr[hash_index % hash_index 1384 drivers/net/bonding/bond_alb.c u32 hash_index = 0; hash_index 1486 drivers/net/bonding/bond_alb.c hash_index = _simple_hash(hash_start, hash_size); hash_index 1487 drivers/net/bonding/bond_alb.c tx_slave = tlb_choose_channel(bond, hash_index, skb->len); hash_index 23 drivers/net/bonding/bond_debugfs.c u32 hash_index; hash_index 33 drivers/net/bonding/bond_debugfs.c hash_index = bond_info->rx_hashtbl_used_head; hash_index 34 drivers/net/bonding/bond_debugfs.c for (; hash_index != RLB_NULL_INDEX; hash_index 35 drivers/net/bonding/bond_debugfs.c hash_index = client_info->used_next) { hash_index 36 drivers/net/bonding/bond_debugfs.c client_info = &(bond_info->rx_hashtbl[hash_index]); hash_index 2334 drivers/net/ethernet/cadence/macb_main.c int hash_index = 0; hash_index 2340 drivers/net/ethernet/cadence/macb_main.c hash_index |= (bitval << j); hash_index 2343 drivers/net/ethernet/cadence/macb_main.c return hash_index; hash_index 180 drivers/net/ethernet/freescale/fs_enet/mac-fec.c int temp, hash_index; hash_index 186 drivers/net/ethernet/freescale/fs_enet/mac-fec.c hash_index = ((temp & 0x01) << 4) | hash_index 191 drivers/net/ethernet/freescale/fs_enet/mac-fec.c csrVal = 1 << hash_index; hash_index 1127 drivers/net/vxlan.c u32 hash_index; hash_index 1146 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, addr, src_vni); hash_index 1147 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 1152 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 1200 drivers/net/vxlan.c u32 hash_index; hash_index 1207 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, addr, src_vni); hash_index 1208 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 1211 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 1323 drivers/net/vxlan.c u32 hash_index = fdb_head_index(vxlan, src_mac, vni); hash_index 1326 drivers/net/vxlan.c spin_lock(&vxlan->hash_lock[hash_index]); hash_index 1337 drivers/net/vxlan.c spin_unlock(&vxlan->hash_lock[hash_index]); hash_index 2805 drivers/net/vxlan.c u32 hash_index = fdb_head_index(vxlan, all_zeros_mac, vni); hash_index 2807 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 2811 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 3989 drivers/net/vxlan.c u32 hash_index = fdb_head_index(vxlan, all_zeros_mac, conf.vni); hash_index 3991 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 4002 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 4016 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 4278 drivers/net/vxlan.c u32 hash_index; hash_index 4280 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); hash_index 4282 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 4298 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 4307 drivers/net/vxlan.c u32 hash_index; hash_index 4310 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); hash_index 4313 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 4323 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]); hash_index 4334 drivers/net/vxlan.c u32 hash_index; hash_index 4337 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); hash_index 4338 drivers/net/vxlan.c spin_lock_bh(&vxlan->hash_lock[hash_index]); hash_index 4352 drivers/net/vxlan.c spin_unlock_bh(&vxlan->hash_lock[hash_index]);