Lines Matching refs:npolled
599 struct ib_wc *wc, int *npolled, int is_send) in mlx4_ib_qp_sw_comp() argument
611 for (i = 0; i < cur && *npolled < num_entries; i++) { in mlx4_ib_qp_sw_comp()
616 (*npolled)++; in mlx4_ib_qp_sw_comp()
623 struct ib_wc *wc, int *npolled) in mlx4_ib_poll_sw_comp() argument
627 *npolled = 0; in mlx4_ib_poll_sw_comp()
632 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
633 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
638 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); in mlx4_ib_poll_sw_comp()
639 if (*npolled >= num_entries) in mlx4_ib_poll_sw_comp()
887 int npolled; in mlx4_ib_poll_cq() local
893 mlx4_ib_poll_sw_comp(cq, num_entries, wc, &npolled); in mlx4_ib_poll_cq()
897 for (npolled = 0; npolled < num_entries; ++npolled) { in mlx4_ib_poll_cq()
898 err = mlx4_ib_poll_one(cq, &cur_qp, wc + npolled); in mlx4_ib_poll_cq()
909 return npolled; in mlx4_ib_poll_cq()