/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cq.c | 200 int npolled; iwch_poll_cq() local 207 for (npolled = 0; npolled < num_entries; ++npolled) { iwch_poll_cq() 218 err = iwch_poll_cq_one(rhp, chp, wc + npolled); iwch_poll_cq() 231 return npolled; iwch_poll_cq()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
H A D | c2_cq.c | 206 int npolled, err; c2_poll_cq() local 210 for (npolled = 0; npolled < num_entries; ++npolled) { c2_poll_cq() 212 err = c2_poll_one(c2dev, cq, entry + npolled); c2_poll_cq() 219 return npolled; c2_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 608 struct ib_wc *wc, int *npolled, int is_send) mlx4_ib_qp_sw_comp() 620 for (i = 0; i < cur && *npolled < num_entries; i++) { mlx4_ib_qp_sw_comp() 625 (*npolled)++; mlx4_ib_qp_sw_comp() 632 struct ib_wc *wc, int *npolled) mlx4_ib_poll_sw_comp() 636 *npolled = 0; mlx4_ib_poll_sw_comp() 641 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); mlx4_ib_poll_sw_comp() 642 if (*npolled >= num_entries) mlx4_ib_poll_sw_comp() 647 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); mlx4_ib_poll_sw_comp() 648 if (*npolled >= num_entries) mlx4_ib_poll_sw_comp() 896 int npolled; mlx4_ib_poll_cq() local 902 mlx4_ib_poll_sw_comp(cq, num_entries, wc, &npolled); mlx4_ib_poll_cq() 906 for (npolled = 0; npolled < num_entries; ++npolled) { mlx4_ib_poll_cq() 907 err = mlx4_ib_poll_one(cq, &cur_qp, wc + npolled); mlx4_ib_poll_cq() 918 return npolled; mlx4_ib_poll_cq() 607 mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, int is_send) mlx4_ib_qp_sw_comp() argument 631 mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) mlx4_ib_poll_sw_comp() argument
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_cq.c | 134 int npolled; ipath_poll_cq() local 139 npolled = -EINVAL; ipath_poll_cq() 149 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { ipath_poll_cq() 164 return npolled; ipath_poll_cq()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | cq.c | 157 int npolled; hfi1_poll_cq() local 162 npolled = -EINVAL; hfi1_poll_cq() 172 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { hfi1_poll_cq() 187 return npolled; hfi1_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_cq.c | 141 int npolled; qib_poll_cq() local 146 npolled = -EINVAL; qib_poll_cq() 156 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { qib_poll_cq() 171 return npolled; qib_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 559 int npolled; mlx5_ib_poll_cq() local 564 for (npolled = 0; npolled < num_entries; npolled++) { mlx5_ib_poll_cq() 565 err = mlx5_poll_one(cq, &cur_qp, wc + npolled); mlx5_ib_poll_cq() 570 if (npolled) mlx5_ib_poll_cq() 576 return npolled; mlx5_ib_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 830 int npolled; c4iw_poll_cq() local 836 for (npolled = 0; npolled < num_entries; ++npolled) { c4iw_poll_cq() 838 err = c4iw_poll_cq_one(chp, wc + npolled); c4iw_poll_cq() 844 return !err || err == -ENODATA ? npolled : err; c4iw_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 671 int npolled; mthca_poll_cq() local 675 npolled = 0; mthca_poll_cq() 677 while (npolled < num_entries) { mthca_poll_cq() 679 &freed, entry + npolled); mthca_poll_cq() 682 ++npolled; mthca_poll_cq() 728 return err == 0 || err == -EAGAIN ? npolled : err; mthca_poll_cq()
|