Lines Matching refs:pend
245 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
247 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
248 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
249 u32 idx = pend->idx; in smc_wr_tx_put_slot()
269 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
274 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
275 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL); in smc_wr_tx_send()
290 struct smc_wr_tx_pend *pend; in smc_wr_tx_send_wait() local
293 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send_wait()
294 pend->compl_requested = 1; in smc_wr_tx_send_wait()
295 init_completion(&link->wr_tx_compl[pend->idx]); in smc_wr_tx_send_wait()
302 &link->wr_tx_compl[pend->idx], timeout); in smc_wr_tx_send_wait()