Lines Matching refs:agents
12 struct mlx5_hv_vhca_agent *agents[MLX5_HV_VHCA_AGENT_MAX];
13 struct mutex agents_lock; /* Protect agents array */
81 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i];
120 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i];
138 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i];
220 hv_vhca->agents[MLX5_HV_VHCA_AGENT_CONTROL] = agent;
233 agent = hv_vhca->agents[MLX5_HV_VHCA_AGENT_CONTROL];
239 WARN_ON(hv_vhca->agents[i]);
270 if (hv_vhca->agents[type]) {
288 hv_vhca->agents[type] = agent;
302 if (WARN_ON(agent != hv_vhca->agents[agent->type])) {
307 hv_vhca->agents[agent->type] = NULL;