Lines Matching refs:sndbuf_desc
150 corking_size = min_t(unsigned int, conn->sndbuf_desc->len >> 1, in smc_should_autocork()
205 if (len > conn->sndbuf_desc->len) in smc_tx_sendmsg()
240 sndbuf_base = conn->sndbuf_desc->cpu_addr; in smc_tx_sendmsg()
245 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg()
271 smc_curs_add(conn->sndbuf_desc->len, &prep, copylen); in smc_tx_sendmsg()
374 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
386 sg_dma_address(conn->sndbuf_desc->sgt[link->link_idx].sgl); in smcr_tx_rdma_writes()
399 base_addr = (uintptr_t)conn->sndbuf_desc->cpu_addr; in smcr_tx_rdma_writes()
412 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
413 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
430 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
448 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
456 if (src_off >= conn->sndbuf_desc->len) in smcd_tx_rdma_writes()
457 src_off -= conn->sndbuf_desc->len; in smcd_tx_rdma_writes()
471 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - src_off); in smcd_tx_rdma_writes()
493 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes()
533 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes()
538 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes()