Home
last modified time | relevance | path

Searched refs:npolled (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/cxgb3/
Diwch_cq.c200 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()
/drivers/infiniband/hw/ipath/
Dipath_cq.c133 int npolled; in ipath_poll_cq() local
138 npolled = -EINVAL; in ipath_poll_cq()
148 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { in ipath_poll_cq()
163 return npolled; in ipath_poll_cq()
/drivers/infiniband/hw/amso1100/
Dc2_cq.c204 int npolled, err; in c2_poll_cq() local
208 for (npolled = 0; npolled < num_entries; ++npolled) { in c2_poll_cq()
210 err = c2_poll_one(c2dev, cq, entry + npolled); in c2_poll_cq()
217 return npolled; in c2_poll_cq()
/drivers/infiniband/hw/mlx4/
Dcq.c719 int npolled; in mlx4_ib_poll_cq() local
724 for (npolled = 0; npolled < num_entries; ++npolled) { in mlx4_ib_poll_cq()
725 err = mlx4_ib_poll_one(cq, &cur_qp, wc + npolled); in mlx4_ib_poll_cq()
730 if (npolled) in mlx4_ib_poll_cq()
736 return npolled; in mlx4_ib_poll_cq()
/drivers/infiniband/hw/mthca/
Dmthca_cq.c669 int npolled; in mthca_poll_cq() local
673 npolled = 0; in mthca_poll_cq()
675 while (npolled < num_entries) { in mthca_poll_cq()
677 &freed, entry + npolled); in mthca_poll_cq()
680 ++npolled; in mthca_poll_cq()
726 return err == 0 || err == -EAGAIN ? npolled : err; in mthca_poll_cq()