Home
last modified time | relevance | path

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

/linux-3.4.99/net/rds/
Diw_rdma.c470 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) {
[all …]
Diw.h67 struct rds_iw_scatterlist m_sg; member
/linux-3.4.99/drivers/scsi/
Dmvumi.c205 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local
222 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
223 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
224 m_sg->flags = 0; in mvumi_make_sgl()
225 m_sg->size = cpu_to_le32(sg_dma_len(&sg[i])); in mvumi_make_sgl()
227 m_sg->flags |= SGD_EOT; in mvumi_make_sgl()
229 m_sg++; in mvumi_make_sgl()
238 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
239 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
240 m_sg->flags = SGD_EOT; in mvumi_make_sgl()
[all …]