Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcq.c59 cq->poll_ctx == IB_POLL_DIRECT) in rdma_dim_init()
214 int comp_vector, enum ib_poll_context poll_ctx, in __ib_alloc_cq() argument
230 cq->poll_ctx = poll_ctx; in __ib_alloc_cq()
247 switch (cq->poll_ctx) { in __ib_alloc_cq()
262 cq->comp_wq = (cq->poll_ctx == IB_POLL_WORKQUEUE) ? in __ib_alloc_cq()
271 trace_cq_alloc(cq, nr_cqe, comp_vector, poll_ctx); in __ib_alloc_cq()
282 trace_cq_alloc_error(nr_cqe, comp_vector, poll_ctx, ret); in __ib_alloc_cq()
299 int nr_cqe, enum ib_poll_context poll_ctx, in __ib_alloc_cq_any() argument
310 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in __ib_alloc_cq_any()
328 switch (cq->poll_ctx) { in ib_free_cq()
[all …]
Dverbs.c2730 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_sq()
2764 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_rq()
Dnldev.c601 nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_POLL_CTX, cq->poll_ctx)) in fill_res_cq_entry()
/kernel/linux/linux-5.10/include/trace/events/
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
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs.c218 enum ib_poll_context poll_ctx) in create_cq() argument
224 cq_vector, poll_ctx); in create_cq()
267 enum ib_poll_context poll_ctx) in rtrs_cq_qp_create() argument
271 err = create_cq(con, cq_vector, cq_size, poll_ctx); in rtrs_cq_qp_create()
Drtrs-pri.h315 enum ib_poll_context poll_ctx);
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h1570 enum ib_poll_context poll_ctx; member
3783 int comp_vector, enum ib_poll_context poll_ctx,
3787 enum ib_poll_context poll_ctx) in ib_alloc_cq() argument
3789 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
3794 int nr_cqe, enum ib_poll_context poll_ctx,
3806 enum ib_poll_context poll_ctx) in ib_alloc_cq_any() argument
3808 return __ib_alloc_cq_any(dev, private, nr_cqe, poll_ctx, in ib_alloc_cq_any()
3928 enum ib_poll_context poll_ctx);
/kernel/linux/linux-5.10/drivers/nvme/host/
Drdma.c468 enum ib_poll_context poll_ctx; in nvme_rdma_create_cq() local
478 poll_ctx = IB_POLL_DIRECT; in nvme_rdma_create_cq()
480 comp_vector, poll_ctx); in nvme_rdma_create_cq()
482 poll_ctx = IB_POLL_SOFTIRQ; in nvme_rdma_create_cq()
484 comp_vector, poll_ctx); in nvme_rdma_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c4368 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
4389 switch (cq->poll_ctx) { in handle_drain_completion()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c5335 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
5356 switch (cq->poll_ctx) { in handle_drain_completion()