Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Damd_iommu.c1765 struct dma_ops_domain *dma_dom, in dma_ops_alloc_iova() argument
1773 pfn = alloc_iova_fast(&dma_dom->iovad, pages, in dma_ops_alloc_iova()
1777 pfn = alloc_iova_fast(&dma_dom->iovad, pages, in dma_ops_alloc_iova()
1783 static void dma_ops_free_iova(struct dma_ops_domain *dma_dom, in dma_ops_free_iova() argument
1790 free_iova_fast(&dma_dom->iovad, address, pages); in dma_ops_free_iova()
1914 struct dma_ops_domain *dma_dom; in dma_ops_domain_alloc() local
1916 dma_dom = kzalloc(sizeof(struct dma_ops_domain), GFP_KERNEL); in dma_ops_domain_alloc()
1917 if (!dma_dom) in dma_ops_domain_alloc()
1920 if (protection_domain_init(&dma_dom->domain)) in dma_ops_domain_alloc()
1923 dma_dom->domain.mode = PAGE_MODE_3_LEVEL; in dma_ops_domain_alloc()
[all …]