Home
last modified time | relevance | path

Searched refs:poll_ctx (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dcq.c58 cq->poll_ctx == IB_POLL_DIRECT) in rdma_dim_init()
229 cq->poll_ctx = poll_ctx; in __ib_alloc_cq()
246 switch (cq->poll_ctx) { in __ib_alloc_cq()
298 int nr_cqe, enum ib_poll_context poll_ctx, in __ib_alloc_cq_any() argument
327 switch (cq->poll_ctx) { in ib_free_cq()
368 enum ib_poll_context poll_ctx) in ib_alloc_cqs() argument
375 if (poll_ctx > IB_POLL_LAST_POOL_TYPE) { in ib_alloc_cqs()
376 WARN_ON_ONCE(poll_ctx > IB_POLL_LAST_POOL_TYPE); in ib_alloc_cqs()
430 enum ib_poll_context poll_ctx) in ib_cq_pool_get() argument
437 if (poll_ctx > IB_POLL_LAST_POOL_TYPE) { in ib_cq_pool_get()
[all …]
H A Dverbs.c2843 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_sq()
2877 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_rq()
H A Dnldev.c612 nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_POLL_CTX, cq->poll_ctx)) in fill_res_cq_entry()
/openbmc/linux/include/trace/events/
H A Drdma_core.h196 enum ib_poll_context poll_ctx
199 TP_ARGS(cq, nr_cqe, comp_vector, poll_ctx),
205 __field(unsigned long, poll_ctx)
212 __entry->poll_ctx = poll_ctx;
217 rdma_show_ib_poll_ctx(__entry->poll_ctx)
225 enum ib_poll_context poll_ctx,
229 TP_ARGS(nr_cqe, comp_vector, poll_ctx, rc),
235 __field(unsigned long, poll_ctx)
242 __entry->poll_ctx = poll_ctx;
247 rdma_show_ib_poll_ctx(__entry->poll_ctx), __entry->rc
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c233 enum ib_poll_context poll_ctx) in create_cq() argument
240 poll_ctx); in create_cq()
242 cq = ib_cq_pool_get(cm_id->device, nr_cqe, cq_vector, poll_ctx); in create_cq()
298 enum ib_poll_context poll_ctx) in rtrs_cq_qp_create() argument
302 err = create_cq(con, cq_vector, nr_cqe, poll_ctx); in rtrs_cq_qp_create()
H A Drtrs-pri.h316 enum ib_poll_context poll_ctx);
/openbmc/linux/include/rdma/
H A Dib_verbs.h1600 enum ib_poll_context poll_ctx; member
3869 int comp_vector, enum ib_poll_context poll_ctx,
3873 enum ib_poll_context poll_ctx) in ib_alloc_cq() argument
3875 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
3880 int nr_cqe, enum ib_poll_context poll_ctx,
3892 enum ib_poll_context poll_ctx) in ib_alloc_cq_any() argument
3894 return __ib_alloc_cq_any(dev, private, nr_cqe, poll_ctx, in ib_alloc_cq_any()
4014 enum ib_poll_context poll_ctx);
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c4403 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
4424 switch (cq->poll_ctx) { in handle_drain_completion()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c5694 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
5715 switch (cq->poll_ctx) { in handle_drain_completion()