Lines Matching defs:num_entries
607 static void mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries,
620 for (i = 0; i < cur && *npolled < num_entries; i++) {
631 static void mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries,
641 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1);
642 if (*npolled >= num_entries)
647 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0);
648 if (*npolled >= num_entries)
877 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc)
887 mlx4_ib_poll_sw_comp(cq, num_entries, wc, &npolled);
891 for (npolled = 0; npolled < num_entries; ++npolled) {