/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_cq.c | 121 struct mlx4_cq_context *cq_context; local 128 cq_context = mailbox->buf; 129 cq_context->cq_max_count = cpu_to_be16(count); 130 cq_context->cq_period = cpu_to_be16(period); 143 struct mlx4_cq_context *cq_context; local 151 cq_context = mailbox->buf; 152 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); 153 cq_context->log_page_size = mtt->page_shift - 12; 155 cq_context->mtt_base_addr_h = mtt_addr >> 32; 156 cq_context 245 struct mlx4_cq_context *cq_context; local [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_cq.c | 235 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); 261 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); 778 struct mthca_cq_context *cq_context; local 814 cq_context = mailbox->buf; 827 memset(cq_context, 0, sizeof *cq_context); 828 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | 831 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); 833 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); 835 cq_context [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | compat-1_0.c | 138 void *cq_context; member in struct:ibv_cq_1_0 257 void *cq_context, 263 struct ibv_cq_1_0 **cq, void **cq_context); 574 event->element.cq = event->element.cq->cq_context; 740 void *cq_context, 751 real_cq = ibv_create_cq(context->real_context, cqe, cq_context, 759 cq->cq_context = cq_context; 763 real_cq->cq_context = cq; 789 struct ibv_cq_1_0 **cq, void **cq_context) 739 __ibv_create_cq_1_0(struct ibv_context_1_0 *context, int cqe, void *cq_context, struct ibv_comp_channel *channel, int comp_vector) argument 788 __ibv_get_cq_event_1_0(struct ibv_comp_channel *channel, struct ibv_cq_1_0 **cq, void **cq_context) argument [all...] |
H A D | device.c | 137 void *cq_context) 148 cq->cq_context = cq_context; 171 cq_attr->channel, cq_attr->cq_context); 135 verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context, struct ibv_comp_channel *channel, void *cq_context) argument
|
H A D | verbs.c | 75 void *cq_context, 81 void **cq_context); 454 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, argument 462 verbs_init_cq(cq, context, channel, cq_context); 497 struct ibv_cq **cq, void **cq_context) 505 *cq_context = (*cq)->cq_context; 496 __ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq, void **cq_context) argument
|
H A D | verbs.h | 1064 void *cq_context; member in struct:ibv_cq 1081 void *cq_context; member in struct:ibv_cq_ex 1486 void *cq_context; member in struct:ibv_cq_init_attr_ex 1828 * @cq_context - Consumer-supplied context returned for completion events 1835 void *cq_context, 1881 * @cq_context: Used to return consumer-supplied CQ context. 1887 struct ibv_cq **cq, void **cq_context);
|
H A D | driver.h | 135 void *cq_context);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cq.c | 118 cq->cq_context = private;
|
H A D | uverbs.h | 213 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
|
H A D | ib_uverbs_main.c | 310 struct ib_uverbs_event_file *ev_file = cq->cq_context; 505 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) argument 507 struct ib_uverbs_event_file *file = cq_context;
|
H A D | ib_verbs.c | 1360 void *cq_context, 1372 cq->cq_context = cq_context; 1357 ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, const struct ib_cq_init_attr *cq_attr) argument
|
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_ev.c | 133 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 208 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
|
H A D | iw_cxgb_qp.c | 784 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 795 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); 813 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 817 schp->ibcq.cq_context);
|
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | ev.c | 81 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 204 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
|
H A D | qp.c | 636 schp->ibcq.cq_context); 666 rchp->ibcq.cq_context); 1192 rchp->ibcq.cq_context); 1199 rchp->ibcq.cq_context); 1205 schp->ibcq.cq_context); 1223 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 1229 schp->ibcq.cq_context);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cq.c | 228 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); 248 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_tx.c | 362 sdp_tx_irq(struct ib_cq *cq, void *cq_context) argument 366 ssk = cq_context;
|
H A D | sdp_rx.c | 660 sdp_rx_irq(struct ib_cq *cq, void *cq_context) argument 664 ssk = cq_context;
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs_compat.h | 336 void *cq_context, int cqe, int comp_vector) 340 return (ib_create_cq(device, comp_handler, event_handler, cq_context, &cq_attr)); 333 ib_create_cq_compat(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler) (struct ib_event *, void *), void *cq_context, int cqe, int comp_vector) argument
|
H A D | ib_verbs.h | 1436 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context); 1449 void *cq_context; member in struct:ib_cq 2836 * @cq_context: Context associated with the CQ returned to the user via 2845 void *cq_context,
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cq.c | 38 ibcq->comp_handler(ibcq, ibcq->cq_context); 58 ibcq->event_handler(&event, ibcq->cq_context); 802 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); 870 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); 897 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); 964 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); 1313 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
|
H A D | mlx5_ib_gsi.c | 93 struct mlx5_ib_gsi_qp *gsi = cq->cq_context;
|
/freebsd-11-stable/sys/dev/iser/ |
H A D | iser_verbs.c | 186 iser_cq_callback(struct ib_cq *cq, void *cq_context) argument 188 struct iser_comp *comp = cq_context;
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cq.c | 46 ibcq->comp_handler(ibcq, ibcq->cq_context); 65 ibcq->event_handler(&event, ibcq->cq_context);
|
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 408 .cq_context = NULL,
|