Home
last modified time | relevance | path

Searched refs:sndbuf_desc (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_tx.c182 sndbuf_base = conn->sndbuf_desc->cpu_addr; in smc_tx_sendmsg()
187 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg()
213 smc_curs_add(conn->sndbuf_desc->len, &prep, copylen); in smc_tx_sendmsg()
227 (conn->sndbuf_desc->len >> 1))) in smc_tx_sendmsg()
303 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
315 sg_dma_address(conn->sndbuf_desc->sgt[link->link_idx].sgl); in smcr_tx_rdma_writes()
333 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
334 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
352 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
370 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
[all …]
Dsmc_tx.h27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
Dsmc_core.c498 smc_curs_add(conn->sndbuf_desc->len, in smc_switch_cursor()
500 smc_curs_add(conn->sndbuf_desc->len, in smc_switch_cursor()
640 if (conn->sndbuf_desc) in smc_buf_unuse()
641 conn->sndbuf_desc->used = 0; in smc_buf_unuse()
1721 conn->sndbuf_desc = buf_desc; in __smc_buf_create()
1732 smc_ib_sync_sg_for_cpu(conn->lnk, conn->sndbuf_desc, DMA_TO_DEVICE); in smc_sndbuf_sync_sg_for_cpu()
1739 smc_ib_sync_sg_for_device(conn->lnk, conn->sndbuf_desc, DMA_TO_DEVICE); in smc_sndbuf_sync_sg_for_device()
1788 list_del(&smc->conn.sndbuf_desc->list); in smc_buf_create()
1790 smc_buf_free(smc->conn.lgr, false, smc->conn.sndbuf_desc); in smc_buf_create()
1791 smc->conn.sndbuf_desc = NULL; in smc_buf_create()
Dsmc_diag.c123 .sndbuf_size = conn->sndbuf_desc ? in __smc_diag_dump()
124 conn->sndbuf_desc->len : 0, in __smc_diag_dump()
Dsmc.h144 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */ member
Dsmc_cdc.c37 diff = smc_curs_diff(cdcpend->conn->sndbuf_desc->len, in smc_cdc_tx_handler()
246 diff = smc_curs_diff(conn->sndbuf_desc->len, &conn->tx_curs_fin, in smcd_cdc_msg_send()
Daf_smc.c2302 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()