Lines Matching refs:m_sg
470 ib_dma_sync_sg_for_cpu(rds_iwdev->dev, ibmr->mapping.m_sg.list,
471 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL);
474 ib_dma_sync_sg_for_device(rds_iwdev->dev, ibmr->mapping.m_sg.list,
475 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL);
560 rdsdebug("RDS/IW: free_mr nents %u\n", ibmr->mapping.m_sg.len);
709 f_wr.wr.fast_reg.length = mapping->m_sg.bytes;
712 f_wr.wr.fast_reg.page_list_len = mapping->m_sg.dma_len;
764 rds_iw_set_scatterlist(&mapping->m_sg, sg, sg_len);
766 dma_pages = rds_iw_map_scatterlist(rds_iwdev, &mapping->m_sg);
773 if (mapping->m_sg.dma_len > pool->max_message_size) {
778 for (i = 0; i < mapping->m_sg.dma_npages; ++i)
802 if (!ibmr->mapping.m_sg.dma_len)
813 atomic_add(ibmr->mapping.m_sg.len, &pool->free_pinned);
849 *unpinned += mapping->m_sg.len;