Lines Matching refs:refs
69 table->refs[i] = 0; in mlx4_init_mac_table()
83 table->refs[i] = 0; in mlx4_init_vlan_table()
118 if (table->refs[i] && in find_index()
157 if (!table->refs[i]) in mlx4_find_cached_mac()
232 dup_table->refs[index_at_port]) { in __mlx4_register_mac()
242 if (!table->refs[index_at_dup_port] || in __mlx4_register_mac()
251 if (!table->refs[i]) { in __mlx4_register_mac()
255 if (!dup_table->refs[i]) in __mlx4_register_mac()
265 ++table->refs[i]; in __mlx4_register_mac()
308 table->refs[free] = 1; in __mlx4_register_mac()
312 dup_table->refs[free] = 0; in __mlx4_register_mac()
412 if (--table->refs[index] || table->is_dup[index]) { in __mlx4_unregister_mac()
415 if (!table->refs[index]) in __mlx4_unregister_mac()
427 if (dup_table->refs[index]) in __mlx4_unregister_mac()
564 if (table->refs[i] && in mlx4_find_cached_vlan()
632 dup_table->refs[index_at_port]) { in __mlx4_register_vlan()
642 if (!table->refs[index_at_dup_port] || in __mlx4_register_vlan()
651 if (!table->refs[i]) { in __mlx4_register_vlan()
655 if (!dup_table->refs[i]) in __mlx4_register_vlan()
660 if ((table->refs[i] || table->is_dup[i]) && in __mlx4_register_vlan()
666 ++table->refs[i]; in __mlx4_register_vlan()
697 table->refs[free] = 1; in __mlx4_register_vlan()
704 table->refs[free] = 0; in __mlx4_register_vlan()
710 dup_table->refs[free] = 0; in __mlx4_register_vlan()
792 if (--table->refs[index] || table->is_dup[index]) { in __mlx4_unregister_vlan()
794 table->refs[index], index); in __mlx4_unregister_vlan()
795 if (!table->refs[index]) in __mlx4_unregister_vlan()
805 if (dup_table->refs[index]) in __mlx4_unregister_vlan()
920 if (!t1->refs[i]) { in mlx4_unbond_mac_table()
925 if (!t2->refs[i]) { in mlx4_unbond_mac_table()
1027 if (!t1->refs[i]) { in mlx4_unbond_vlan_table()
1032 if (!t2->refs[i]) { in mlx4_unbond_vlan_table()