Lines Matching refs:npolled
608 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp() argument
620 for (i = 0; i < cur && *npolled < num_entries; i++) { in mlx4_ib_qp_sw_comp()
625 (*npolled)++; in mlx4_ib_qp_sw_comp()
632 struct ib_wc *wc, int *npolled) in mlx4_ib_poll_sw_comp() argument
636 *npolled = 0; in mlx4_ib_poll_sw_comp()
641 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
642 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
647 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); in mlx4_ib_poll_sw_comp()
648 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
882 int npolled; in mlx4_ib_poll_cq() local
887 mlx4_ib_poll_sw_comp(cq, num_entries, wc, &npolled); in mlx4_ib_poll_cq()
891 for (npolled = 0; npolled < num_entries; ++npolled) { in mlx4_ib_poll_cq()
892 if (mlx4_ib_poll_one(cq, &cur_qp, wc + npolled)) in mlx4_ib_poll_cq()
901 return npolled; in mlx4_ib_poll_cq()