Searched refs:nfreed (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 278 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()
|
/linux/net/rds/ |
H A D | ib_frmr.c | 357 void rds_ib_unreg_frmr(struct list_head *list, unsigned int *nfreed, in rds_ib_unreg_frmr() argument 363 unsigned int freed = *nfreed; in rds_ib_unreg_frmr() 398 *nfreed = freed; in rds_ib_unreg_frmr()
|
H A D | ib_mr.h | 140 void rds_ib_unreg_frmr(struct list_head *list, unsigned int *nfreed,
|
H A D | ib_rdma.c | 346 unsigned int nfreed = 0, dirty_to_clean = 0, free_goal; in rds_ib_flush_mr_pool() local 405 rds_ib_unreg_frmr(&unmap_list, &nfreed, &unpinned, free_goal); in rds_ib_flush_mr_pool() 426 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 923 int nfreed = 0; in __mlx4_ib_cq_clean() local 950 ++nfreed; in __mlx4_ib_cq_clean() 951 } else if (nfreed) { in __mlx4_ib_cq_clean() 952 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 962 if (nfreed) { in __mlx4_ib_cq_clean() 963 cq->mcq.cons_index += nfreed; in __mlx4_ib_cq_clean()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 1096 int nfreed = 0; in __mlx5_ib_cq_clean() local 1121 ++nfreed; in __mlx5_ib_cq_clean() 1122 } else if (nfreed) { in __mlx5_ib_cq_clean() 1123 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 1132 if (nfreed) { in __mlx5_ib_cq_clean() 1133 cq->mcq.cons_index += nfreed; in __mlx5_ib_cq_clean()
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
H A D | tx.c | 1086 int nfreed = 0; in iwl_pcie_cmdq_reclaim() local 1108 if (nfreed++ > 0) { in iwl_pcie_cmdq_reclaim()
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 3565 int nfreed = 0; in __hns_roce_v2_cq_clean() local 3586 ++nfreed; in __hns_roce_v2_cq_clean() 3587 } else if (nfreed) { in __hns_roce_v2_cq_clean() 3588 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean() 3596 if (nfreed) { in __hns_roce_v2_cq_clean() 3597 hr_cq->cons_index += nfreed; in __hns_roce_v2_cq_clean()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-mac.c | 2459 int nfreed = 0; in il4965_tx_queue_reclaim() local 2480 nfreed++; in il4965_tx_queue_reclaim() 2487 return nfreed; in il4965_tx_queue_reclaim()
|
H A D | common.c | 3253 int nfreed = 0; in il_hcmd_queue_reclaim() local 3265 if (nfreed++ > 0) { in il_hcmd_queue_reclaim()
|