Lines Matching refs:protection_domain
49 static struct protection_domain *pt_domain;
61 static void update_domain(struct protection_domain *domain);
503 static void iommu_flush_complete(struct protection_domain *domain) in iommu_flush_complete()
575 static void __iommu_flush_pages(struct protection_domain *domain, in __iommu_flush_pages()
608 static void iommu_flush_pages(struct protection_domain *domain, in iommu_flush_pages()
615 static void iommu_flush_tlb(struct protection_domain *domain) in iommu_flush_tlb()
621 static void iommu_flush_tlb_pde(struct protection_domain *domain) in iommu_flush_tlb_pde()
630 static void iommu_flush_domain_devices(struct protection_domain *domain) in iommu_flush_domain_devices()
645 struct protection_domain *domain; in iommu_flush_all_domain_devices()
669 struct protection_domain *domain; in amd_iommu_flush_all_domains()
710 static bool increase_address_space(struct protection_domain *domain, in increase_address_space()
732 static u64 *alloc_pte(struct protection_domain *domain, in alloc_pte()
780 static u64 *fetch_pte(struct protection_domain *domain, unsigned long address) in fetch_pte()
833 static int iommu_map_page(struct protection_domain *dom, in iommu_map_page()
873 static unsigned long iommu_unmap_page(struct protection_domain *dom, in iommu_unmap_page()
1250 static void add_domain_to_list(struct protection_domain *domain) in add_domain_to_list()
1263 static void del_domain_from_list(struct protection_domain *domain) in del_domain_from_list()
1299 static void free_pagetable(struct protection_domain *domain) in free_pagetable()
1408 static bool dma_ops_domain(struct protection_domain *domain) in dma_ops_domain()
1413 static void set_dte_entry(u16 devid, struct protection_domain *domain) in set_dte_entry()
1436 static void do_attach(struct device *dev, struct protection_domain *domain) in do_attach()
1487 struct protection_domain *domain) in __attach_device()
1540 struct protection_domain *domain) in attach_device()
1566 struct protection_domain *domain; in __detach_device()
1613 static struct protection_domain *domain_for_device(struct device *dev) in domain_for_device()
1615 struct protection_domain *dom; in domain_for_device()
1645 struct protection_domain *domain; in device_change_notifier()
1724 static struct protection_domain *get_domain(struct device *dev) in get_domain()
1726 struct protection_domain *domain; in get_domain()
1751 static void update_device_table(struct protection_domain *domain) in update_device_table()
1761 static void update_domain(struct protection_domain *domain) in update_domain()
1993 struct protection_domain *domain; in map_page()
2030 struct protection_domain *domain; in unmap_page()
2074 struct protection_domain *domain; in map_sg()
2135 struct protection_domain *domain; in unmap_sg()
2166 struct protection_domain *domain; in alloc_coherent()
2223 struct protection_domain *domain; in free_coherent()
2363 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2380 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2393 static struct protection_domain *protection_domain_alloc(void) in protection_domain_alloc()
2395 struct protection_domain *domain; in protection_domain_alloc()
2420 struct protection_domain *domain; in amd_iommu_domain_init()
2443 struct protection_domain *domain = dom->priv; in amd_iommu_domain_destroy()
2486 struct protection_domain *domain = dom->priv; in amd_iommu_attach_device()
2517 struct protection_domain *domain = dom->priv; in amd_iommu_map()
2536 struct protection_domain *domain = dom->priv; in amd_iommu_unmap()
2553 struct protection_domain *domain = dom->priv; in amd_iommu_iova_to_phys()