Searched refs:nfreed (Results 1 – 8 of 8) sorted by relevance
278 int i, nfreed = 0; in mthca_cq_clean() local308 ++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()
918 int nfreed = 0; in __mlx4_ib_cq_clean() local945 ++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()
1066 int nfreed = 0; in __mlx5_ib_cq_clean() local1091 ++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()
2022 int nfreed = 0; in __hns_roce_v1_cq_clean() local2041 ++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()
3275 int nfreed = 0; in __hns_roce_v2_cq_clean() local3296 ++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()
670 int nfreed = 0; in iwl_pcie_cmdq_reclaim() local692 if (nfreed++ > 0) { in iwl_pcie_cmdq_reclaim()
2456 int nfreed = 0; in il4965_tx_queue_reclaim() local2477 nfreed++; in il4965_tx_queue_reclaim()2484 return nfreed; in il4965_tx_queue_reclaim()
3239 int nfreed = 0; in il_hcmd_queue_reclaim() local3251 if (nfreed++ > 0) { in il_hcmd_queue_reclaim()