Searched refs:dup_table (Results 1 – 2 of 2) sorted by relevance
191 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_register_mac() local202 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()204 mutex_lock(&dup_table->mutex); in __mlx4_register_mac()218 if (((MLX4_MAC_MASK & mac) == (MLX4_MAC_MASK & be64_to_cpu(dup_table->entries[i])))) in __mlx4_register_mac()232 dup_table->refs[index_at_port]) { in __mlx4_register_mac()255 if (!dup_table->refs[i]) in __mlx4_register_mac()267 u64 dup_mac = MLX4_MAC_MASK & be64_to_cpu(dup_table->entries[i]); in __mlx4_register_mac()269 if (dup_mac != mac || !dup_table->is_dup[i]) { in __mlx4_register_mac()312 dup_table->refs[free] = 0; in __mlx4_register_mac()313 dup_table->is_dup[free] = true; in __mlx4_register_mac()[all …]
4545 struct ctl_table dup_table; in proc_hugetlb_doulongvec_minmax() local4551 dup_table = *table; in proc_hugetlb_doulongvec_minmax()4552 dup_table.data = out; in proc_hugetlb_doulongvec_minmax()4554 return proc_doulongvec_minmax(&dup_table, write, buffer, length, ppos); in proc_hugetlb_doulongvec_minmax()