Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
H A Dpasid.c42 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()
107 struct protection_domain *sva_pdom = to_pdomain(domain); in iommu_sva_set_dev_pasid()
151 struct protection_domain *sva_pdom; in amd_iommu_remove_dev_pasid()
169 struct protection_domain *sva_pdom = to_pdomain(domain); in iommu_sva_domain_free()
185 struct protection_domain *pdom; in amd_iommu_domain_alloc_sva()
H A Damd_iommu.h50 struct protection_domain *protection_domain_alloc(void);
90 void amd_iommu_domain_flush_pages(struct protection_domain *domain,
167 static inline struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain()
169 return container_of(dom, struct protection_domain, domain); in to_pdomain()
187 void amd_iommu_domain_set_pgtable(struct protection_domain *domain,
193 struct protection_domain *domain, u16 domid,
H A Diommu.c237 static inline bool pdom_is_v2_pgtbl_mode(struct protection_domain *pdom) in pdom_is_v2_pgtbl_mode()
242 static inline bool pdom_is_in_pt_mode(struct protection_domain *pdom) in pdom_is_in_pt_mode()
252 static inline bool pdom_is_sva_capable(struct protection_domain *pdom) in pdom_is_sva_capable()
1473 static void domain_flush_complete(struct protection_domain *domain) in domain_flush_complete()
1547 static int iommu_flush_pages_v1_hdom_ids(struct protection_domain *pdom, u64 address, size_t size) in iommu_flush_pages_v1_hdom_ids()
1679 static int domain_flush_pages_v2(struct protection_domain *pdom, in domain_flush_pages_v2()
1700 static int domain_flush_pages_v1(struct protection_domain *pdom, in domain_flush_pages_v1()
1739 static void __domain_flush_pages(struct protection_domain *domain, in __domain_flush_pages()
1767 void amd_iommu_domain_flush_pages(struct protection_domain *domain, in amd_iommu_domain_flush_pages()
1820 static void amd_iommu_domain_flush_all(struct protection_domain *domain) in amd_iommu_domain_flush_all()
[all …]
H A Diommufd.c44 struct protection_domain *pdom = to_pdomain(parent); in amd_iommufd_viommu_init()
63 struct protection_domain *pdom = aviommu->parent; in amd_iommufd_viommu_destroy()
H A Damd_iommu_types.h506 struct protection_domain *parent; /* nest parent domain for this viommu */
540 struct protection_domain { struct
563 PT_IOMMU_CHECK_DOMAIN(struct protection_domain, iommu, domain); argument
564 PT_IOMMU_CHECK_DOMAIN(struct protection_domain, amdv1.iommu, domain);
565 PT_IOMMU_CHECK_DOMAIN(struct protection_domain, amdv2.iommu, domain);
819 struct protection_domain *domain; /* Domain the device is bound to */
H A Dnested.c189 struct protection_domain *parent; in set_dte_nested()