Lines Matching refs:completed
95 int i, n, completed = 0; in __ib_process_cq() local
105 budget - completed), wcs)) > 0) { in __ib_process_cq()
115 completed += n; in __ib_process_cq()
117 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq()
121 return completed; in __ib_process_cq()
155 int completed; in ib_poll_handler() local
157 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler()
158 if (completed < budget) { in ib_poll_handler()
167 rdma_dim(dim, completed); in ib_poll_handler()
169 return completed; in ib_poll_handler()
181 int completed; in ib_cq_poll_work() local
183 completed = __ib_process_cq(cq, IB_POLL_BUDGET_WORKQUEUE, cq->wc, in ib_cq_poll_work()
185 if (completed >= IB_POLL_BUDGET_WORKQUEUE || in ib_cq_poll_work()
189 rdma_dim(cq->dim, completed); in ib_cq_poll_work()