Searched refs:to_mctx (Results 1 - 12 of 12) sorted by relevance

/freebsd-13-stable/contrib/ofed/libmlx4/
H A Dverbs.c72 struct mlx4_context *mctx = to_mctx(context);
109 struct mlx4_context *ctx = to_mctx(context);
158 struct mlx4_context *mctx = to_mctx(context);
175 struct mlx4_context *mctx = to_mctx(context);
457 struct mlx4_context *mctx = to_mctx(context);
503 cq->set_ci_db = mlx4_alloc_db(to_mctx(context), MLX4_DB_TYPE_CQ);
533 mlx4_free_db(to_mctx(context), MLX4_DB_TYPE_CQ, cq->set_ci_db);
634 mlx4_free_db(to_mctx(cq->context), MLX4_DB_TYPE_CQ, to_mcq(cq)->set_ci_db);
668 srq->db = mlx4_alloc_db(to_mctx(pd->context), MLX4_DB_TYPE_RQ);
686 mlx4_free_db(to_mctx(p
[all...]
H A Dsrq.c262 srq->db = mlx4_alloc_db(to_mctx(context), MLX4_DB_TYPE_RQ);
279 ret = mlx4_store_xsrq(&to_mctx(context)->xsrq_table,
289 mlx4_free_db(to_mctx(context), MLX4_DB_TYPE_RQ, srq->db);
300 struct mlx4_context *mctx = to_mctx(srq->context);
H A Dmlx4.c124 struct mlx4_context *context = to_mctx(ibv_ctx);
159 context = to_mctx(ibv_ctx);
256 struct mlx4_context *context = to_mctx(ibv_ctx);
H A Dmlx4.h314 static inline struct mlx4_context *to_mctx(struct ibv_context *ibctx) function
H A Dcq.c252 mctx = to_mctx(cq->ibv_cq.context);
704 mlx4_write64(doorbell, to_mctx(ibvcq->context), MLX4_CQ_DOORBELL);
H A Dqp.c469 ctx = to_mctx(ibqp->context);
/freebsd-13-stable/contrib/ofed/libmlx5/
H A Dverbs.c84 struct mlx5_context *ctx = to_mctx(context);
353 struct mlx5_context *mctx = to_mctx(context);
354 FILE *fp = to_mctx(context)->dbg_fp;
409 if (mlx5_alloc_cq_buf(to_mctx(context), cq, &cq->buf_a, ncqe, cqe_sz)) {
414 cq->dbrec = mlx5_alloc_dbrec(to_mctx(context));
467 cq->stall_enable = to_mctx(context)->stall_enable;
468 cq->stall_adaptive_enable = to_mctx(context)->stall_adaptive_enable;
469 cq->stall_cycles = to_mctx(context)->stall_cycles;
477 mlx5_free_db(to_mctx(context), cq->dbrec);
480 mlx5_free_cq_buf(to_mctx(contex
[all...]
H A Dmlx5.c590 struct mlx5_context *context = to_mctx(ibv_ctx);
614 struct mlx5_context *mctx = to_mctx(ctx_in);
670 struct mlx5_context *mctx = to_mctx(cq_in->context);
773 context = to_mctx(ctx);
952 struct mlx5_context *context = to_mctx(ibctx);
H A Dsrq.c157 ctx = to_mctx(context);
H A Dqp.c366 FILE *fp = to_mctx(ibqp->context)->dbg_fp;
569 FILE *fp = to_mctx(qp->ibv_qp->context)->dbg_fp;
636 FILE *fp = to_mctx(ibqp->context)->dbg_fp; /* The compiler ignores in non-debug mode */
915 dump_wqe(to_mctx(ibqp->context)->dbg_fp, idx, size, qp);
933 ctx = to_mctx(ibqp->context);
H A Dcq.c492 struct mlx5_context *mctx = to_mctx(cq->ibv_cq.context);
536 mctx = to_mctx(ibv_cq_ex_to_cq(&cq->ibv_cq)->context);
1086 struct mlx5_context *ctx = to_mctx(ibcq->context);
1245 struct mlx5_context *mctx = to_mctx(ibv_cq_ex_to_cq(&cq->ibv_cq)->context);
1284 struct mlx5_context *ctx = to_mctx(ibvcq->context);
1390 cqe_version = (to_mctx(cq->ibv_cq.context))->cqe_version;
H A Dmlx5.h485 static inline struct mlx5_context *to_mctx(struct ibv_context *ibctx) function

Completed in 189 milliseconds