Home
last modified time | relevance | path

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

/arch/s390/mm/
Dgmap.c1190 unsigned long *sgt) in __gmap_unshadow_sgt() argument
1197 asce = (unsigned long) sgt | _ASCE_TYPE_SEGMENT; in __gmap_unshadow_sgt()
1199 if (!(sgt[i] & _SEGMENT_ENTRY_ORIGIN)) in __gmap_unshadow_sgt()
1201 pgt = (unsigned long *)(sgt[i] & _REGION_ENTRY_ORIGIN); in __gmap_unshadow_sgt()
1202 sgt[i] = _SEGMENT_ENTRY_EMPTY; in __gmap_unshadow_sgt()
1220 unsigned long r3o, *r3e, *sgt; in gmap_unshadow_sgt() local
1230 sgt = (unsigned long *)(*r3e & _REGION_ENTRY_ORIGIN); in gmap_unshadow_sgt()
1232 __gmap_unshadow_sgt(sg, raddr, sgt); in gmap_unshadow_sgt()
1234 page = pfn_to_page(__pa(sgt) >> PAGE_SHIFT); in gmap_unshadow_sgt()
1250 unsigned long asce, *sgt; in __gmap_unshadow_r3t() local
[all …]
/arch/arm64/mm/
Ddma-mapping.c338 static int __swiotlb_get_sgtable_page(struct sg_table *sgt, in __swiotlb_get_sgtable_page() argument
341 int ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in __swiotlb_get_sgtable_page()
344 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); in __swiotlb_get_sgtable_page()
349 static int __swiotlb_get_sgtable(struct device *dev, struct sg_table *sgt, in __swiotlb_get_sgtable() argument
355 return __swiotlb_get_sgtable_page(sgt, page, size); in __swiotlb_get_sgtable()
734 static int __iommu_get_sgtable(struct device *dev, struct sg_table *sgt, in __iommu_get_sgtable() argument
743 return __swiotlb_get_sgtable_page(sgt, page, size); in __iommu_get_sgtable()
752 return __swiotlb_get_sgtable_page(sgt, page, size); in __iommu_get_sgtable()
758 return sg_alloc_table_from_pages(sgt, area->pages, count, 0, size, in __iommu_get_sgtable()
/arch/s390/include/asm/
Dgmap.h119 int gmap_shadow_sgt(struct gmap *sg, unsigned long saddr, unsigned long sgt,
/arch/arm/include/asm/
Ddma-mapping.h252 extern int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt,
/arch/arm/mm/
Ddma-mapping.c933 int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_dma_get_sgtable() argument
947 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in arm_dma_get_sgtable()
951 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); in arm_dma_get_sgtable()
1688 static int arm_iommu_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_iommu_get_sgtable() argument
1698 return sg_alloc_table_from_pages(sgt, pages, count, 0, size, in arm_iommu_get_sgtable()