Searched refs:protection_domain (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/iommu/amd/ |
H A D | pasid.c | 42 static void remove_pdom_dev_pasid(struct protection_domain *pdom, in remove_pdom_dev_pasid() 64 struct protection_domain *sva_pdom; in sva_arch_invalidate_secondary_tlbs() 67 sva_pdom = container_of(mn, struct protection_domain, mn); in sva_arch_invalidate_secondary_tlbs() 83 struct protection_domain *sva_pdom; in sva_mn_release() 86 sva_pdom = container_of(mn, struct protection_domain, mn); in sva_mn_release() 106 struct protection_domain *sva_pdom = to_pdomain(domain); in iommu_sva_set_dev_pasid() 147 struct protection_domain *sva_pdom; in amd_iommu_remove_dev_pasid() 165 struct protection_domain *sva_pdom = to_pdomain(domain); in iommu_sva_domain_free() 181 struct protection_domain *pdom; in amd_iommu_domain_alloc_sva()
|
H A D | amd_iommu.h | 49 struct protection_domain *protection_domain_alloc(unsigned int type, int nid); 50 void protection_domain_free(struct protection_domain *domain); 89 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain); 90 void amd_iommu_domain_update(struct protection_domain *domain); 91 void amd_iommu_domain_flush_pages(struct protection_domain *domain, 161 static inline struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain() 163 return container_of(dom, struct protection_domain, domain); in to_pdomain() 175 void amd_iommu_domain_set_pgtable(struct protection_domain *domain,
|
H A D | iommu.c | 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() [all …]
|
H A D | io_pgtable.c | 124 struct protection_domain *domain = in increase_address_space() 125 container_of(pgtable, struct protection_domain, iop); in increase_address_space() 386 struct protection_domain *dom = io_pgtable_ops_to_domain(ops); in iommu_v1_map_pages()
|
H A D | amd_iommu_types.h | 534 struct protection_domain, iop) 572 struct protection_domain { struct 838 struct protection_domain *domain; /* Domain the device is bound to */
|
H A D | io_pgtable_v2.c | 270 struct protection_domain *pdom = io_pgtable_ops_to_domain(ops); in iommu_v2_map_pages()
|