Home
last modified time | relevance | path

Searched refs:nfreed (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_cq.c278 int i, nfreed = 0; in mthca_cq_clean() local
308 ++nfreed; in mthca_cq_clean()
309 } else if (nfreed) in mthca_cq_clean()
310 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
314 if (nfreed) { in mthca_cq_clean()
315 for (i = 0; i < nfreed; ++i) in mthca_cq_clean()
318 cq->cons_index += nfreed; in mthca_cq_clean()
319 update_cons_index(dev, cq, nfreed); in mthca_cq_clean()
/drivers/infiniband/hw/mlx4/
Dcq.c918 int nfreed = 0; in __mlx4_ib_cq_clean() local
945 ++nfreed; in __mlx4_ib_cq_clean()
946 } else if (nfreed) { in __mlx4_ib_cq_clean()
947 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
957 if (nfreed) { in __mlx4_ib_cq_clean()
958 cq->mcq.cons_index += nfreed; in __mlx4_ib_cq_clean()
/drivers/infiniband/hw/mlx5/
Dcq.c1066 int nfreed = 0; in __mlx5_ib_cq_clean() local
1091 ++nfreed; in __mlx5_ib_cq_clean()
1092 } else if (nfreed) { in __mlx5_ib_cq_clean()
1093 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
1102 if (nfreed) { in __mlx5_ib_cq_clean()
1103 cq->mcq.cons_index += nfreed; in __mlx5_ib_cq_clean()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c2022 int nfreed = 0; in __hns_roce_v1_cq_clean() local
2041 ++nfreed; in __hns_roce_v1_cq_clean()
2042 } else if (nfreed) { in __hns_roce_v1_cq_clean()
2043 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
2053 if (nfreed) { in __hns_roce_v1_cq_clean()
2054 hr_cq->cons_index += nfreed; in __hns_roce_v1_cq_clean()
Dhns_roce_hw_v2.c3275 int nfreed = 0; in __hns_roce_v2_cq_clean() local
3296 ++nfreed; in __hns_roce_v2_cq_clean()
3297 } else if (nfreed) { in __hns_roce_v2_cq_clean()
3298 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean()
3306 if (nfreed) { in __hns_roce_v2_cq_clean()
3307 hr_cq->cons_index += nfreed; in __hns_roce_v2_cq_clean()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c670 int nfreed = 0; in iwl_pcie_cmdq_reclaim() local
692 if (nfreed++ > 0) { in iwl_pcie_cmdq_reclaim()
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c2456 int nfreed = 0; in il4965_tx_queue_reclaim() local
2477 nfreed++; in il4965_tx_queue_reclaim()
2484 return nfreed; in il4965_tx_queue_reclaim()
Dcommon.c3239 int nfreed = 0; in il_hcmd_queue_reclaim() local
3251 if (nfreed++ > 0) { in il_hcmd_queue_reclaim()