npolled 203 drivers/infiniband/hw/cxgb3/iwch_cq.c int npolled; npolled 210 drivers/infiniband/hw/cxgb3/iwch_cq.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 218 drivers/infiniband/hw/cxgb3/iwch_cq.c err = iwch_poll_cq_one(rhp, chp, wc + npolled); npolled 228 drivers/infiniband/hw/cxgb3/iwch_cq.c return npolled; npolled 953 drivers/infiniband/hw/cxgb4/cq.c int npolled; npolled 959 drivers/infiniband/hw/cxgb4/cq.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 961 drivers/infiniband/hw/cxgb4/cq.c err = c4iw_poll_cq_one(chp, wc + npolled); npolled 967 drivers/infiniband/hw/cxgb4/cq.c return !err || err == -ENODATA ? npolled : err; npolled 2392 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int npolled; npolled 2397 drivers/infiniband/hw/hns/hns_roce_hw_v1.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 2398 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hns_roce_v1_poll_one(hr_cq, &cur_qp, wc + npolled); npolled 2403 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (npolled) { npolled 2415 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return npolled; npolled 2977 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int npolled; npolled 2981 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 2982 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled)) npolled 2986 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (npolled) { npolled 2994 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return npolled; npolled 613 drivers/infiniband/hw/mlx4/cq.c struct ib_wc *wc, int *npolled, int is_send) npolled 625 drivers/infiniband/hw/mlx4/cq.c for (i = 0; i < cur && *npolled < num_entries; i++) { npolled 630 drivers/infiniband/hw/mlx4/cq.c (*npolled)++; npolled 637 drivers/infiniband/hw/mlx4/cq.c struct ib_wc *wc, int *npolled) npolled 641 drivers/infiniband/hw/mlx4/cq.c *npolled = 0; npolled 646 drivers/infiniband/hw/mlx4/cq.c mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); npolled 647 drivers/infiniband/hw/mlx4/cq.c if (*npolled >= num_entries) npolled 652 drivers/infiniband/hw/mlx4/cq.c mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); npolled 653 drivers/infiniband/hw/mlx4/cq.c if (*npolled >= num_entries) npolled 886 drivers/infiniband/hw/mlx4/cq.c int npolled; npolled 891 drivers/infiniband/hw/mlx4/cq.c mlx4_ib_poll_sw_comp(cq, num_entries, wc, &npolled); npolled 895 drivers/infiniband/hw/mlx4/cq.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 896 drivers/infiniband/hw/mlx4/cq.c if (mlx4_ib_poll_one(cq, &cur_qp, wc + npolled)) npolled 905 drivers/infiniband/hw/mlx4/cq.c return npolled; npolled 387 drivers/infiniband/hw/mlx5/cq.c int *npolled, bool is_send) npolled 396 drivers/infiniband/hw/mlx5/cq.c np = *npolled; npolled 416 drivers/infiniband/hw/mlx5/cq.c *npolled = np; npolled 420 drivers/infiniband/hw/mlx5/cq.c struct ib_wc *wc, int *npolled) npolled 424 drivers/infiniband/hw/mlx5/cq.c *npolled = 0; npolled 427 drivers/infiniband/hw/mlx5/cq.c sw_comp(qp, num_entries, wc + *npolled, npolled, true); npolled 428 drivers/infiniband/hw/mlx5/cq.c if (*npolled >= num_entries) npolled 433 drivers/infiniband/hw/mlx5/cq.c sw_comp(qp, num_entries, wc + *npolled, npolled, false); npolled 434 drivers/infiniband/hw/mlx5/cq.c if (*npolled >= num_entries) npolled 575 drivers/infiniband/hw/mlx5/cq.c int npolled = 0; npolled 578 drivers/infiniband/hw/mlx5/cq.c if (npolled >= num_entries) npolled 588 drivers/infiniband/hw/mlx5/cq.c wc[npolled++] = soft_wc->wc; npolled 593 drivers/infiniband/hw/mlx5/cq.c return npolled; npolled 604 drivers/infiniband/hw/mlx5/cq.c int npolled; npolled 613 drivers/infiniband/hw/mlx5/cq.c wc + soft_polled, &npolled); npolled 620 drivers/infiniband/hw/mlx5/cq.c for (npolled = 0; npolled < num_entries - soft_polled; npolled++) { npolled 621 drivers/infiniband/hw/mlx5/cq.c if (mlx5_poll_one(cq, &cur_qp, wc + soft_polled + npolled)) npolled 625 drivers/infiniband/hw/mlx5/cq.c if (npolled) npolled 630 drivers/infiniband/hw/mlx5/cq.c return soft_polled + npolled; npolled 663 drivers/infiniband/hw/mthca/mthca_cq.c int npolled; npolled 667 drivers/infiniband/hw/mthca/mthca_cq.c npolled = 0; npolled 669 drivers/infiniband/hw/mthca/mthca_cq.c while (npolled < num_entries) { npolled 671 drivers/infiniband/hw/mthca/mthca_cq.c &freed, entry + npolled); npolled 674 drivers/infiniband/hw/mthca/mthca_cq.c ++npolled; npolled 720 drivers/infiniband/hw/mthca/mthca_cq.c return err == 0 || err == -EAGAIN ? npolled : err; npolled 387 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c int npolled; npolled 393 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c for (npolled = 0; npolled < num_entries; ++npolled) { npolled 394 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) npolled 401 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c return npolled; npolled 522 drivers/infiniband/sw/rdmavt/cq.c int npolled; npolled 535 drivers/infiniband/sw/rdmavt/cq.c for (npolled = 0; npolled < num_entries; ++npolled, ++entry) { npolled 539 drivers/infiniband/sw/rdmavt/cq.c trace_rvt_cq_poll(cq, &wc->kqueue[tail], npolled); npolled 550 drivers/infiniband/sw/rdmavt/cq.c return npolled; npolled 91 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c int npolled; npolled 94 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c for (npolled = 0; npolled < ne; ++npolled) { npolled 100 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c return err == CQ_POLL_ERR ? err : npolled;