Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_cq.c283 int i, nfreed = 0; in mthca_cq_clean() local
313 ++nfreed; in mthca_cq_clean()
314 } else if (nfreed) in mthca_cq_clean()
315 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
319 if (nfreed) { in mthca_cq_clean()
320 for (i = 0; i < nfreed; ++i) in mthca_cq_clean()
323 cq->cons_index += nfreed; in mthca_cq_clean()
324 update_cons_index(dev, cq, nfreed); in mthca_cq_clean()
/drivers/infiniband/hw/mlx4/
Dcq.c869 int nfreed = 0; in __mlx4_ib_cq_clean() local
896 ++nfreed; in __mlx4_ib_cq_clean()
897 } else if (nfreed) { in __mlx4_ib_cq_clean()
898 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
908 if (nfreed) { in __mlx4_ib_cq_clean()
909 cq->mcq.cons_index += nfreed; in __mlx4_ib_cq_clean()
/drivers/infiniband/hw/mlx5/
Dcq.c858 int nfreed = 0; in __mlx5_ib_cq_clean() local
883 ++nfreed; in __mlx5_ib_cq_clean()
884 } else if (nfreed) { in __mlx5_ib_cq_clean()
885 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
894 if (nfreed) { in __mlx5_ib_cq_clean()
895 cq->mcq.cons_index += nfreed; in __mlx5_ib_cq_clean()
/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1010 int nfreed = 0; in iwl_pcie_cmdq_reclaim() local
1025 if (nfreed++ > 0) { in iwl_pcie_cmdq_reclaim()
/drivers/net/wireless/iwlegacy/
D4965-mac.c2476 int nfreed = 0; in il4965_tx_queue_reclaim() local
2497 nfreed++; in il4965_tx_queue_reclaim()
2504 return nfreed; in il4965_tx_queue_reclaim()
Dcommon.c3256 int nfreed = 0; in il_hcmd_queue_reclaim() local
3268 if (nfreed++ > 0) { in il_hcmd_queue_reclaim()