Home
last modified time | relevance | path

Searched refs:peer_ctx (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_context.c251 struct mlx5hws_context *peer_ctx, in mlx5hws_context_set_peer() argument
256 if (xa_err(xa_store(&ctx->peer_ctx_xa, peer_vhca_id, peer_ctx, GFP_KERNEL))) in mlx5hws_context_set_peer()
H A Dmlx5hws_definer.c287 struct mlx5hws_context *peer_ctx) in hws_definer_set_source_port_gvmi() argument
293 ret = mlx5hws_vport_get_gvmi(peer_ctx, source_port, &vport_gvmi); in hws_definer_set_source_port_gvmi()
311 struct mlx5hws_context *peer_ctx; in hws_definer_set_source_gvmi_vhca_id() local
314 peer_ctx = fc->ctx; in hws_definer_set_source_gvmi_vhca_id()
316 peer_ctx = xa_load(&fc->ctx->peer_ctx_xa, id); in hws_definer_set_source_gvmi_vhca_id()
318 if (!peer_ctx) { in hws_definer_set_source_gvmi_vhca_id()
324 hws_definer_set_source_port_gvmi(fc, match_param, tag, peer_ctx); in hws_definer_set_source_gvmi_vhca_id()
H A Dmlx5hws.h269 struct mlx5hws_context *peer_ctx,
/linux/mm/
H A Dmemcontrol.c3975 struct cgroup_of_peak *peer_ctx; in peak_write() local
3984 list_for_each_entry(peer_ctx, watchers, list) in peak_write()
3985 if (usage > peer_ctx->value) in peak_write()
3986 WRITE_ONCE(peer_ctx->value, usage); in peak_write()