Searched refs:dup_table (Results 1 – 2 of 2) sorted by relevance
171 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_register_mac() local182 mutex_lock_nested(&dup_table->mutex, SINGLE_DEPTH_NESTING); in __mlx4_register_mac()184 mutex_lock(&dup_table->mutex); in __mlx4_register_mac()198 if (((MLX4_MAC_MASK & mac) == (MLX4_MAC_MASK & be64_to_cpu(dup_table->entries[i])))) in __mlx4_register_mac()212 dup_table->refs[index_at_port]) { in __mlx4_register_mac()235 if (!dup_table->refs[i]) in __mlx4_register_mac()247 u64 dup_mac = MLX4_MAC_MASK & be64_to_cpu(dup_table->entries[i]); in __mlx4_register_mac()249 if (dup_mac != mac || !dup_table->is_dup[i]) { in __mlx4_register_mac()292 dup_table->refs[free] = 0; in __mlx4_register_mac()293 dup_table->is_dup[free] = true; in __mlx4_register_mac()[all …]
16 struct ctl_table dup_table; in proc_hugetlb_doulongvec_minmax() local22 dup_table = *table; in proc_hugetlb_doulongvec_minmax()23 dup_table.data = out; in proc_hugetlb_doulongvec_minmax()25 return proc_doulongvec_minmax(&dup_table, write, buffer, length, ppos); in proc_hugetlb_doulongvec_minmax()