Lines Matching defs:ibv_ctx
122 struct ibv_context *ibv_ctx)
124 struct mlx4_context *context = to_mctx(ibv_ctx);
128 PROT_READ, MAP_SHARED, ibv_ctx->cmd_fd,
144 struct ibv_context *ibv_ctx, int cmd_fd)
153 struct verbs_context *verbs_ctx = verbs_get_ctx(ibv_ctx);
159 context = to_mctx(ibv_ctx);
160 ibv_ctx->cmd_fd = cmd_fd;
163 if (ibv_cmd_get_context(ibv_ctx, &cmd, sizeof cmd,
171 if (ibv_cmd_get_context(ibv_ctx, &cmd, sizeof cmd,
223 ibv_ctx->ops = mlx4_ctx_ops;
227 if (!mlx4_query_device_ex(ibv_ctx, NULL, &dev_attrs,
232 mlx4_map_internal_clock(dev, ibv_ctx);
254 struct ibv_context *ibv_ctx)
256 struct mlx4_context *context = to_mctx(ibv_ctx);