Lines Matching refs:completed
96 int i, n, completed = 0; in __ib_process_cq() local
106 budget - completed), wcs)) > 0) { in __ib_process_cq()
116 completed += n; in __ib_process_cq()
118 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq()
122 return completed; in __ib_process_cq()
156 int completed; in ib_poll_handler() local
158 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler()
159 if (completed < budget) { in ib_poll_handler()
168 rdma_dim(dim, completed); in ib_poll_handler()
170 return completed; in ib_poll_handler()
182 int completed; in ib_cq_poll_work() local
184 completed = __ib_process_cq(cq, IB_POLL_BUDGET_WORKQUEUE, cq->wc, in ib_cq_poll_work()
186 if (completed >= IB_POLL_BUDGET_WORKQUEUE || in ib_cq_poll_work()
190 rdma_dim(cq->dim, completed); in ib_cq_poll_work()