Home
last modified time | relevance | path

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

/net/smc/
Dsmc_tx.c181 sndbuf_base = conn->sndbuf_desc->cpu_addr; in smc_tx_sendmsg()
186 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg()
212 smc_curs_add(conn->sndbuf_desc->len, &prep, copylen); in smc_tx_sendmsg()
226 (conn->sndbuf_desc->len >> 1))) in smc_tx_sendmsg()
305 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
315 sg_dma_address(conn->sndbuf_desc->sgt[SMC_SINGLE_LINK].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_core.c310 if (conn->sndbuf_desc) in smc_buf_unuse()
311 conn->sndbuf_desc->used = 0; in smc_buf_unuse()
903 conn->sndbuf_desc = buf_desc; in __smc_buf_create()
917 conn->sndbuf_desc, DMA_TO_DEVICE); in smc_sndbuf_sync_sg_for_cpu()
927 conn->sndbuf_desc, DMA_TO_DEVICE); in smc_sndbuf_sync_sg_for_device()
967 smc_buf_free(smc->conn.lgr, false, smc->conn.sndbuf_desc); in smc_buf_create()
Dsmc_tx.h27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
Dsmc_diag.c115 .sndbuf_size = conn->sndbuf_desc ? in __smc_diag_dump()
116 conn->sndbuf_desc->len : 0, in __smc_diag_dump()
Dsmc_cdc.c41 diff = smc_curs_diff(cdcpend->conn->sndbuf_desc->len, in smc_cdc_tx_handler()
199 diff = smc_curs_diff(conn->sndbuf_desc->len, &conn->tx_curs_fin, in smcd_cdc_msg_send()
Dsmc.h132 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */ member
Daf_smc.c1827 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()