Home
last modified time | relevance | path

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

/freebsd/sys/dev/netmap/
H A Dnetmap_kloop.c483 struct sync_kloop_poll_ctx *poll_ctx = in sync_kloop_poll_table_queue_proc() local
485 struct sync_kloop_poll_entry *entry = poll_ctx->entries + in sync_kloop_poll_table_queue_proc()
486 poll_ctx->next_entry; in sync_kloop_poll_table_queue_proc()
488 BUG_ON(poll_ctx->next_entry >= poll_ctx->num_entries); in sync_kloop_poll_table_queue_proc()
492 if (poll_ctx->next_wake_fun == NULL) { in sync_kloop_poll_table_queue_proc()
496 poll_ctx->next_wake_fun); in sync_kloop_poll_table_queue_proc()
519 struct sync_kloop_poll_ctx *poll_ctx = entry->parent; in sync_kloop_tx_irq_wake_fun() local
522 for (i = 0; i < poll_ctx->num_tx_rings; i++) { in sync_kloop_tx_irq_wake_fun()
523 struct eventfd_ctx *irq_ctx = poll_ctx->entries[i].irq_ctx; in sync_kloop_tx_irq_wake_fun()
551 struct sync_kloop_poll_ctx *poll_ctx = entry->parent; in sync_kloop_rx_irq_wake_fun() local
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c89 enum ib_poll_context poll_ctx, in __ib_alloc_cq_user() argument
103 switch (poll_ctx) { in __ib_alloc_cq_user()
118 cq->poll_ctx = poll_ctx; in __ib_alloc_cq_user()
125 switch (poll_ctx) { in __ib_alloc_cq_user()
153 switch (cq->poll_ctx) { in ib_free_cq_user()
H A Dib_verbs.c2158 if (qp->send_cq->poll_ctx == IB_POLL_DIRECT) { in __ib_drain_sq()
2159 WARN_ONCE(qp->send_cq->poll_ctx == IB_POLL_DIRECT, in __ib_drain_sq()
2193 if (qp->recv_cq->poll_ctx == IB_POLL_DIRECT) { in __ib_drain_rq()
2194 WARN_ONCE(qp->recv_cq->poll_ctx == IB_POLL_DIRECT, in __ib_drain_rq()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1474 enum ib_poll_context poll_ctx; member
3298 enum ib_poll_context poll_ctx,
3313 enum ib_poll_context poll_ctx, in ib_alloc_cq_user() argument
3316 return __ib_alloc_cq_user(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq_user()
3332 enum ib_poll_context poll_ctx) in ib_alloc_cq() argument
3334 return ib_alloc_cq_user(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c3687 if (ib_cq->poll_ctx == IB_POLL_WORKQUEUE || in bnxt_re_destroy_cq()
3688 ib_cq->poll_ctx == IB_POLL_UNBOUND_WORKQUEUE) in bnxt_re_destroy_cq()