Searched refs:npolled (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_cq.c | 200 int npolled; in iwch_poll_cq() local 207 for (npolled = 0; npolled < num_entries; ++npolled) { in iwch_poll_cq() 218 err = iwch_poll_cq_one(rhp, chp, wc + npolled); in iwch_poll_cq() 231 return npolled; in iwch_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | cq.c | 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() 896 int npolled; in mlx4_ib_poll_cq() local [all …]
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_cq.c | 206 int npolled, err; in c2_poll_cq() local 210 for (npolled = 0; npolled < num_entries; ++npolled) { in c2_poll_cq() 212 err = c2_poll_one(c2dev, cq, entry + npolled); in c2_poll_cq() 219 return npolled; in c2_poll_cq()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_cq.c | 134 int npolled; in ipath_poll_cq() local 139 npolled = -EINVAL; in ipath_poll_cq() 149 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in ipath_poll_cq() 164 return npolled; in ipath_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_cq.c | 141 int npolled; in qib_poll_cq() local 146 npolled = -EINVAL; in qib_poll_cq() 156 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in qib_poll_cq() 171 return npolled; in qib_poll_cq()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | cq.c | 157 int npolled; in hfi1_poll_cq() local 162 npolled = -EINVAL; in hfi1_poll_cq() 172 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in hfi1_poll_cq() 187 return npolled; in hfi1_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 671 int npolled; in mthca_poll_cq() local 675 npolled = 0; in mthca_poll_cq() 677 while (npolled < num_entries) { in mthca_poll_cq() 679 &freed, entry + npolled); in mthca_poll_cq() 682 ++npolled; in mthca_poll_cq() 728 return err == 0 || err == -EAGAIN ? npolled : err; in mthca_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | cq.c | 559 int npolled; in mlx5_ib_poll_cq() local 564 for (npolled = 0; npolled < num_entries; npolled++) { in mlx5_ib_poll_cq() 565 err = mlx5_poll_one(cq, &cur_qp, wc + npolled); in mlx5_ib_poll_cq() 570 if (npolled) in mlx5_ib_poll_cq() 576 return npolled; in mlx5_ib_poll_cq()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 830 int npolled; in c4iw_poll_cq() local 836 for (npolled = 0; npolled < num_entries; ++npolled) { in c4iw_poll_cq() 838 err = c4iw_poll_cq_one(chp, wc + npolled); in c4iw_poll_cq() 844 return !err || err == -ENODATA ? npolled : err; in c4iw_poll_cq()
|