• Home
  • Raw
  • Download

Lines Matching refs:hash_index

1303 	u32 hash_index;  in vxlan_fdb_add()  local
1323 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_add()
1324 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1329 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1376 u32 hash_index; in vxlan_fdb_delete() local
1385 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_delete()
1386 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1389 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1526 u32 hash_index = fdb_head_index(vxlan, src_mac, vni); in vxlan_snoop() local
1529 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
1540 spin_unlock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
3060 u32 hash_index = fdb_head_index(vxlan, all_zeros_mac, vni); in vxlan_fdb_delete_default() local
3062 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete_default()
3066 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete_default()
4267 u32 hash_index = fdb_head_index(vxlan, all_zeros_mac, conf.vni); in vxlan_changelink() local
4269 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_changelink()
4280 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_changelink()
4294 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_changelink()
4556 u32 hash_index; in vxlan_fdb_offloaded_set() local
4558 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_offloaded_set()
4560 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_offloaded_set()
4576 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_offloaded_set()
4585 u32 hash_index; in vxlan_fdb_external_learn_add() local
4588 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_external_learn_add()
4591 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_external_learn_add()
4601 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_external_learn_add()
4612 u32 hash_index; in vxlan_fdb_external_learn_del() local
4615 hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); in vxlan_fdb_external_learn_del()
4616 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_external_learn_del()
4630 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_external_learn_del()
4679 u32 hash_index; in vxlan_fdb_nh_flush() local
4685 hash_index = fdb_head_index(vxlan, fdb->eth_addr, in vxlan_fdb_nh_flush()
4687 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_nh_flush()
4690 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_nh_flush()