Searched refs:pend (Results 1 – 6 of 6) sorted by relevance
/net/smc/ |
D | smc_cdc.c | 66 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument 72 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot() 77 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot() 84 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument 95 pend->conn = conn; in smc_cdc_add_pending_send() 96 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send() 97 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send() 98 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send() 103 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument 109 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send() [all …]
|
D | smc_llc.c | 335 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument 357 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send() argument 362 pend); in smc_llc_add_pending_send() 382 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local 388 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link() 406 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link() 417 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local 424 rc = smc_llc_add_pending_send(send_link, &wr_buf, &pend); in smc_llc_send_confirm_rkey() 452 rc = smc_wr_tx_send(send_link, pend); in smc_llc_send_confirm_rkey() 463 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_delete_rkey() local [all …]
|
D | smc_wr.c | 232 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local 234 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot() 235 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot() 236 u32 idx = pend->idx; in smc_wr_tx_put_slot() 256 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local 261 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send() 262 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL); in smc_wr_tx_send() 277 struct smc_wr_tx_pend *pend; in smc_wr_tx_send_wait() local 281 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send_wait() 282 pend->compl_requested = 1; in smc_wr_tx_send_wait() [all …]
|
D | smc_cdc.h | 293 struct smc_cdc_tx_pend **pend); 296 struct smc_cdc_tx_pend *pend); 300 struct smc_cdc_tx_pend *pend,
|
D | smc_tx.c | 504 struct smc_cdc_tx_pend *pend; in smcr_tx_sndbuf_nonempty() local 510 rc = smc_cdc_get_free_slot(conn, link, &wr_buf, &wr_rdma_buf, &pend); in smcr_tx_sndbuf_nonempty() 532 (struct smc_wr_tx_pend_priv *)pend); in smcr_tx_sndbuf_nonempty() 540 (struct smc_wr_tx_pend_priv *)pend); in smcr_tx_sndbuf_nonempty() 545 rc = smc_cdc_msg_send(conn, wr_buf, pend); in smcr_tx_sndbuf_nonempty()
|
D | smc_core.c | 870 static int smc_switch_cursor(struct smc_sock *smc, struct smc_cdc_tx_pend *pend, in smc_switch_cursor() argument 908 rc = smcr_cdc_msg_send_validation(conn, pend, wr_buf); in smc_switch_cursor() 915 (struct smc_wr_tx_pend_priv *)pend); in smc_switch_cursor() 932 struct smc_cdc_tx_pend *pend; in smc_switch_conns() local 983 rc = smc_cdc_get_free_slot(conn, to_lnk, &wr_buf, NULL, &pend); in smc_switch_conns() 989 rc = smc_switch_cursor(smc, pend, wr_buf); in smc_switch_conns()
|