Lines Matching defs:lag
3491 struct mlxsw_sp_upper *lag;
3498 lag = mlxsw_sp_lag_get(mlxsw_sp, i);
3499 if (lag->ref_count) {
3500 if (lag->dev == lag_dev) {
3554 struct mlxsw_sp_upper *lag;
3562 lag = mlxsw_sp_lag_get(mlxsw_sp, lag_id);
3563 if (!lag->ref_count) {
3567 lag->dev = lag_dev;
3581 lag->ref_count++;
3590 if (!lag->ref_count)
3600 struct mlxsw_sp_upper *lag;
3604 lag = mlxsw_sp_lag_get(mlxsw_sp, lag_id);
3605 WARN_ON(lag->ref_count == 0);
3617 if (lag->ref_count == 1)
3623 lag->ref_count--;