Lines Matching refs:npolled
395 int *npolled, bool is_send) in sw_comp() argument
404 np = *npolled; in sw_comp()
424 *npolled = np; in sw_comp()
428 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp() argument
432 *npolled = 0; in mlx5_ib_poll_sw_comp()
435 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
436 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
441 sw_comp(qp, num_entries, wc + *npolled, npolled, false); in mlx5_ib_poll_sw_comp()
442 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
586 int npolled = 0; in poll_soft_wc() local
589 if (npolled >= num_entries) in poll_soft_wc()
599 wc[npolled++] = soft_wc->wc; in poll_soft_wc()
604 return npolled; in poll_soft_wc()
615 int npolled; in mlx5_ib_poll_cq() local
624 wc + soft_polled, &npolled); in mlx5_ib_poll_cq()
631 for (npolled = 0; npolled < num_entries - soft_polled; npolled++) { in mlx5_ib_poll_cq()
632 if (mlx5_poll_one(cq, &cur_qp, wc + soft_polled + npolled)) in mlx5_ib_poll_cq()
636 if (npolled) in mlx5_ib_poll_cq()
641 return soft_polled + npolled; in mlx5_ib_poll_cq()