Lines Matching refs:refs
59 table->refs[i] = 0; in mlx4_init_mac_table()
72 table->refs[i] = 0; in mlx4_init_vlan_table()
146 ++table->refs[i]; in __mlx4_register_mac()
169 table->refs[free] = 1; in __mlx4_register_mac()
215 if (--table->refs[index]) { in __mlx4_unregister_mac()
300 if (table->refs[i] && in mlx4_find_cached_vlan()
329 if (free < 0 && (table->refs[i] == 0)) { in __mlx4_register_vlan()
334 if (table->refs[i] && in __mlx4_register_vlan()
339 ++table->refs[i]; in __mlx4_register_vlan()
350 table->refs[free] = 1; in __mlx4_register_vlan()
356 table->refs[free] = 0; in __mlx4_register_vlan()
397 if (!table->refs[index]) { in __mlx4_unregister_vlan()
401 if (--table->refs[index]) { in __mlx4_unregister_vlan()