Home
last modified time | relevance | path

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

/net/smc/
Dsmc_core.c48 struct smc_buf_desc *buf_desc);
674 static void smcr_buf_unmap_link(struct smc_buf_desc *buf_desc, bool is_rmb, in smcr_buf_unmap_link() argument
678 buf_desc->is_reg_mr[lnk->link_idx] = false; in smcr_buf_unmap_link()
679 if (!buf_desc->is_map_ib[lnk->link_idx]) in smcr_buf_unmap_link()
682 if (buf_desc->mr_rx[lnk->link_idx]) { in smcr_buf_unmap_link()
684 buf_desc->mr_rx[lnk->link_idx]); in smcr_buf_unmap_link()
685 buf_desc->mr_rx[lnk->link_idx] = NULL; in smcr_buf_unmap_link()
687 smc_ib_buf_unmap_sg(lnk, buf_desc, DMA_FROM_DEVICE); in smcr_buf_unmap_link()
689 smc_ib_buf_unmap_sg(lnk, buf_desc, DMA_TO_DEVICE); in smcr_buf_unmap_link()
691 sg_free_table(&buf_desc->sgt[lnk->link_idx]); in smcr_buf_unmap_link()
[all …]