Lines Matching refs:wr_tx_cnt
57 return !bitmap_empty(link->wr_tx_mask, link->wr_tx_cnt); in smc_wr_is_tx_pend()
70 for (i = 0; i < link->wr_tx_cnt; i++) { in smc_wr_tx_find_pending_index()
74 return link->wr_tx_cnt; in smc_wr_tx_find_pending_index()
95 if (pnd_snd_idx == link->wr_tx_cnt) { in smc_wr_tx_process_cqe()
173 *idx = link->wr_tx_cnt; in smc_wr_tx_get_free_slot_index()
176 for_each_clear_bit(*idx, link->wr_tx_mask, link->wr_tx_cnt) { in smc_wr_tx_get_free_slot_index()
180 *idx = link->wr_tx_cnt; in smc_wr_tx_get_free_slot_index()
203 u32 idx = link->wr_tx_cnt; in smc_wr_tx_get_free_slot()
226 if (idx == link->wr_tx_cnt) in smc_wr_tx_get_free_slot()
253 if (link->wr_tx_v2_pend->idx == link->wr_tx_cnt) in smc_wr_tx_get_v2_slot()
263 wr_pend->idx = link->wr_tx_cnt; in smc_wr_tx_get_v2_slot()
277 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
289 pend->idx == link->wr_tx_cnt) { in smc_wr_tx_put_slot()
550 lnk->wr_tx_cnt = min_t(size_t, SMC_WR_BUF_CNT, in smc_wr_remember_qp_attr()
562 for (i = 0; i < lnk->wr_tx_cnt; i++) { in smc_wr_init_sge()
670 SMC_WR_BUF_SIZE * lnk->wr_tx_cnt, in smc_wr_free_link()
901 ibdev, lnk->wr_tx_bufs, SMC_WR_BUF_SIZE * lnk->wr_tx_cnt, in smc_wr_create_link()