Lines Matching refs:npolled
392 int *npolled, bool is_send) in sw_comp() argument
401 np = *npolled; in sw_comp()
421 *npolled = np; in sw_comp()
425 struct ib_wc *wc, int *npolled) in mlx5_ib_poll_sw_comp() argument
429 *npolled = 0; in mlx5_ib_poll_sw_comp()
432 sw_comp(qp, num_entries, wc + *npolled, npolled, true); in mlx5_ib_poll_sw_comp()
433 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
438 sw_comp(qp, num_entries, wc + *npolled, npolled, false); in mlx5_ib_poll_sw_comp()
439 if (*npolled >= num_entries) in mlx5_ib_poll_sw_comp()
583 int npolled = 0; in poll_soft_wc() local
586 if (npolled >= num_entries) in poll_soft_wc()
596 wc[npolled++] = soft_wc->wc; in poll_soft_wc()
601 return npolled; in poll_soft_wc()
612 int npolled; in mlx5_ib_poll_cq() local
621 wc + soft_polled, &npolled); in mlx5_ib_poll_cq()
628 for (npolled = 0; npolled < num_entries - soft_polled; npolled++) { in mlx5_ib_poll_cq()
629 if (mlx5_poll_one(cq, &cur_qp, wc + soft_polled + npolled)) in mlx5_ib_poll_cq()
633 if (npolled) in mlx5_ib_poll_cq()
638 return soft_polled + npolled; in mlx5_ib_poll_cq()