Lines Matching refs:npolled
389 int *npolled, bool is_send) in sw_comp() argument
398 np = *npolled; in sw_comp()
418 *npolled = np; in sw_comp()
422 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp() argument
426 *npolled = 0; in mlx5_ib_poll_sw_comp()
429 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
430 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
435 sw_comp(qp, num_entries, wc + *npolled, npolled, false); in mlx5_ib_poll_sw_comp()
436 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
576 int npolled = 0; in poll_soft_wc() local
579 if (npolled >= num_entries) in poll_soft_wc()
589 wc[npolled++] = soft_wc->wc; in poll_soft_wc()
594 return npolled; in poll_soft_wc()
605 int npolled; in mlx5_ib_poll_cq() local
614 wc + soft_polled, &npolled); in mlx5_ib_poll_cq()
621 for (npolled = 0; npolled < num_entries - soft_polled; npolled++) { in mlx5_ib_poll_cq()
622 if (mlx5_poll_one(cq, &cur_qp, wc + soft_polled + npolled)) in mlx5_ib_poll_cq()
626 if (npolled) in mlx5_ib_poll_cq()
631 return soft_polled + npolled; in mlx5_ib_poll_cq()