Searched refs:m_sg (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/net/rds/ |
D | iw_rdma.c | 447 ib_dma_sync_sg_for_cpu(rds_iwdev->dev, ibmr->mapping.m_sg.list, 448 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); 451 ib_dma_sync_sg_for_device(rds_iwdev->dev, ibmr->mapping.m_sg.list, 452 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); 535 rdsdebug("RDS/IW: free_mr nents %u\n", ibmr->mapping.m_sg.len); 664 struct rds_iw_scatterlist *m_sg = &mapping->m_sg; local 669 n = ib_map_mr_sg_zbva(ibmr->mr, m_sg->list, m_sg->len, PAGE_SIZE); 670 if (unlikely(n != m_sg->len)) 736 rds_iw_set_scatterlist(&mapping->m_sg, sg, sg_len); 738 ret = rds_iw_map_scatterlist(rds_iwdev, &mapping->m_sg); [all …]
|
D | iw.h | 67 struct rds_iw_scatterlist m_sg; member
|
/linux-4.4.14/drivers/scsi/ |
D | mvumi.c | 208 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local 225 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl() 226 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl() 227 m_sg->flags = 0; in mvumi_make_sgl() 228 sgd_setsz(mhba, m_sg, cpu_to_le32(sg_dma_len(&sg[i]))); in mvumi_make_sgl() 230 m_sg->flags |= 1U << mhba->eot_flag; in mvumi_make_sgl() 232 sgd_inc(mhba, m_sg); in mvumi_make_sgl() 241 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl() 242 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl() 243 m_sg->flags = 1U << mhba->eot_flag; in mvumi_make_sgl() [all …]
|