Lines Matching refs:sndbuf_desc
150 corking_size = min_t(unsigned int, conn->sndbuf_desc->len >> 1, in smc_should_autocork()
204 if (len > conn->sndbuf_desc->len) in smc_tx_sendmsg()
239 sndbuf_base = conn->sndbuf_desc->cpu_addr; in smc_tx_sendmsg()
244 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg()
269 smc_curs_add(conn->sndbuf_desc->len, &prep, copylen); in smc_tx_sendmsg()
352 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
364 sg_dma_address(conn->sndbuf_desc->sgt[link->link_idx].sgl); in smcr_tx_rdma_writes()
365 u64 virt_addr = (uintptr_t)conn->sndbuf_desc->cpu_addr; in smcr_tx_rdma_writes()
386 sge[srcchunk].addr = conn->sndbuf_desc->is_vm ? in smcr_tx_rdma_writes()
389 if (conn->sndbuf_desc->is_vm) in smcr_tx_rdma_writes()
391 conn->sndbuf_desc->mr[link->link_idx]->lkey; in smcr_tx_rdma_writes()
395 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
396 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
413 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
431 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
439 if (src_off >= conn->sndbuf_desc->len) in smcd_tx_rdma_writes()
440 src_off -= conn->sndbuf_desc->len; in smcd_tx_rdma_writes()
454 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - src_off); in smcd_tx_rdma_writes()
476 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes()
516 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes()
521 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes()