Searched refs:sndbuf_desc (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/net/smc/ |
D | smc_tx.c | 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() [all …]
|
D | smc_cdc.c | 32 struct smc_buf_desc *sndbuf_desc; in smc_cdc_tx_handler() local 36 sndbuf_desc = conn->sndbuf_desc; in smc_cdc_tx_handler() 39 if (!wc_status && sndbuf_desc) { in smc_cdc_tx_handler() 40 diff = smc_curs_diff(sndbuf_desc->len, in smc_cdc_tx_handler() 268 diff = smc_curs_diff(conn->sndbuf_desc->len, &conn->tx_curs_fin, in smcd_cdc_msg_send() 361 diff_tx = smc_curs_diff(conn->sndbuf_desc->len, in smc_cdc_msg_recv_action()
|
D | smc_core.c | 1033 smc_curs_add(conn->sndbuf_desc->len, in smc_switch_cursor() 1035 smc_curs_add(conn->sndbuf_desc->len, in smc_switch_cursor() 1194 if (!conn->sndbuf_desc) in smcd_buf_detach() 1199 kfree(conn->sndbuf_desc); in smcd_buf_detach() 1200 conn->sndbuf_desc = NULL; in smcd_buf_detach() 1210 if (conn->sndbuf_desc) { in smc_buf_unuse() 1211 bufsize = conn->sndbuf_desc->len; in smc_buf_unuse() 1212 if (!is_smcd && conn->sndbuf_desc->is_vm) { in smc_buf_unuse() 1213 smcr_buf_unuse(conn->sndbuf_desc, false, lgr); in smc_buf_unuse() 1215 memzero_explicit(conn->sndbuf_desc->cpu_addr, bufsize); in smc_buf_unuse() [all …]
|
D | smc_tx.h | 27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
|
D | smc_diag.c | 111 .sndbuf_size = conn->sndbuf_desc ? in __smc_diag_dump() 112 conn->sndbuf_desc->len : 0, in __smc_diag_dump()
|
D | af_smc.c | 618 if (smc->conn.sndbuf_desc->is_vm) { in smcr_clnt_conf_first_link() 619 if (smcr_link_reg_buf(link, smc->conn.sndbuf_desc)) in smcr_clnt_conf_first_link() 1312 if (smc->conn.sndbuf_desc->is_vm) { in smc_connect_rdma() 1313 if (smcr_lgr_reg_sndbufs(link, smc->conn.sndbuf_desc)) { in smc_connect_rdma() 1850 if (smc->conn.sndbuf_desc->is_vm) { in smcr_serv_conf_first_link() 1851 if (smcr_link_reg_buf(link, smc->conn.sndbuf_desc)) in smcr_serv_conf_first_link() 2251 if (conn->sndbuf_desc->is_vm) { in smc_listen_rdma_reg() 2253 conn->sndbuf_desc)) in smc_listen_rdma_reg() 3194 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()
|
D | smc.h | 207 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */ member
|