Lines Matching refs:wr_tx_pends
71 if (link->wr_tx_pends[i].wr_id == wr_id) in smc_wr_tx_find_pending_index()
107 link->wr_tx_pends[pnd_snd_idx].wc_status = wc->status; in smc_wr_tx_process_cqe()
108 if (link->wr_tx_pends[pnd_snd_idx].compl_requested) in smc_wr_tx_process_cqe()
110 memcpy(&pnd_snd, &link->wr_tx_pends[pnd_snd_idx], in smc_wr_tx_process_cqe()
113 memset(&link->wr_tx_pends[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
114 sizeof(link->wr_tx_pends[pnd_snd_idx])); in smc_wr_tx_process_cqe()
230 wr_pend = &link->wr_tx_pends[idx]; in smc_wr_tx_get_free_slot()
281 memset(&link->wr_tx_pends[idx], 0, in smc_wr_tx_put_slot()
282 sizeof(link->wr_tx_pends[idx])); in smc_wr_tx_put_slot()
700 kfree(lnk->wr_tx_pends); in smc_wr_free_link_mem()
701 lnk->wr_tx_pends = NULL; in smc_wr_free_link_mem()
781 link->wr_tx_pends = kcalloc(SMC_WR_BUF_CNT, in smc_wr_alloc_link_mem()
782 sizeof(link->wr_tx_pends[0]), in smc_wr_alloc_link_mem()
784 if (!link->wr_tx_pends) in smc_wr_alloc_link_mem()
815 kfree(link->wr_tx_pends); in smc_wr_alloc_link_mem()