Searched refs:m_sg (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/net/rds/ |
D | iw_rdma.c | 466 ib_dma_sync_sg_for_cpu(rds_iwdev->dev, ibmr->mapping.m_sg.list, 467 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); 470 ib_dma_sync_sg_for_device(rds_iwdev->dev, ibmr->mapping.m_sg.list, 471 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); 556 rdsdebug("RDS/IW: free_mr nents %u\n", ibmr->mapping.m_sg.len); 713 f_wr.wr.fast_reg.length = mapping->m_sg.bytes; 716 f_wr.wr.fast_reg.page_list_len = mapping->m_sg.dma_len; 768 rds_iw_set_scatterlist(&mapping->m_sg, sg, sg_len); 770 dma_pages = rds_iw_map_scatterlist(rds_iwdev, &mapping->m_sg); 777 if (mapping->m_sg.dma_len > pool->max_message_size) { [all …]
|
D | iw.h | 67 struct rds_iw_scatterlist m_sg; member
|
/linux-4.1.27/drivers/scsi/ |
D | mvumi.c | 207 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local 224 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl() 225 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl() 226 m_sg->flags = 0; in mvumi_make_sgl() 227 sgd_setsz(mhba, m_sg, cpu_to_le32(sg_dma_len(&sg[i]))); in mvumi_make_sgl() 229 m_sg->flags |= 1U << mhba->eot_flag; in mvumi_make_sgl() 231 sgd_inc(mhba, m_sg); in mvumi_make_sgl() 240 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl() 241 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl() 242 m_sg->flags = 1U << mhba->eot_flag; in mvumi_make_sgl() [all …]
|