Lines Matching refs:protection_domain

86 static inline bool pdom_is_v2_pgtbl_mode(struct protection_domain *pdom)  in pdom_is_v2_pgtbl_mode()
91 static inline bool pdom_is_in_pt_mode(struct protection_domain *pdom) in pdom_is_in_pt_mode()
101 static inline bool pdom_is_sva_capable(struct protection_domain *pdom) in pdom_is_sva_capable()
1250 static void domain_flush_complete(struct protection_domain *domain) in domain_flush_complete()
1422 static int domain_flush_pages_v2(struct protection_domain *pdom, in domain_flush_pages_v2()
1442 static int domain_flush_pages_v1(struct protection_domain *pdom, in domain_flush_pages_v1()
1469 static void __domain_flush_pages(struct protection_domain *domain, in __domain_flush_pages()
1495 void amd_iommu_domain_flush_pages(struct protection_domain *domain, in amd_iommu_domain_flush_pages()
1546 static void amd_iommu_domain_flush_all(struct protection_domain *domain) in amd_iommu_domain_flush_all()
1576 static void domain_flush_np_cache(struct protection_domain *domain, in domain_flush_np_cache()
1592 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain) in amd_iommu_update_and_flush_device_table()
1609 void amd_iommu_domain_update(struct protection_domain *domain) in amd_iommu_domain_update()
1853 struct protection_domain *domain = dev_data->domain; in set_dte_entry()
1975 struct protection_domain *pdom) in init_gcr3_table()
2009 struct protection_domain *pdom) in destroy_gcr3_table()
2023 struct protection_domain *domain) in do_attach()
2053 struct protection_domain *domain = dev_data->domain; in do_detach()
2080 struct protection_domain *domain) in attach_device()
2113 struct protection_domain *domain = dev_data->domain; in detach_device()
2239 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2257 void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2266 struct protection_domain *protection_domain_alloc(unsigned int type, int nid) in protection_domain_alloc()
2269 struct protection_domain *domain; in protection_domain_alloc()
2346 struct protection_domain *domain; in do_iommu_domain_alloc()
2410 struct protection_domain *domain; in amd_iommu_domain_free()
2451 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_attach_device()
2510 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iotlb_sync_map()
2522 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_map_pages()
2569 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_unmap_pages()
2588 struct protection_domain *domain = to_pdomain(dom); in amd_iommu_iova_to_phys()
2622 struct protection_domain *pdomain = to_pdomain(domain); in amd_iommu_set_dirty_tracking()
2666 struct protection_domain *pdomain = to_pdomain(domain); in amd_iommu_read_and_clear_dirty()
2751 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_flush_iotlb_all()
2762 struct protection_domain *dom = to_pdomain(domain); in amd_iommu_iotlb_sync()