Lines Matching defs:domain

973 static void __domain_flush_pages(struct protection_domain *domain,  in __domain_flush_pages()
1004 static void domain_flush_pages(struct protection_domain *domain, in domain_flush_pages()
1011 static void domain_flush_tlb(struct protection_domain *domain) in domain_flush_tlb()
1017 static void domain_flush_tlb_pde(struct protection_domain *domain) in domain_flush_tlb_pde()
1022 static void domain_flush_complete(struct protection_domain *domain) in domain_flush_complete()
1042 static void domain_flush_devices(struct protection_domain *domain) in domain_flush_devices()
1062 static bool increase_address_space(struct protection_domain *domain, in increase_address_space()
1084 static u64 *alloc_pte(struct protection_domain *domain, in alloc_pte()
1132 static u64 *fetch_pte(struct protection_domain *domain, unsigned long address) in fetch_pte()
1615 static void add_domain_to_list(struct protection_domain *domain) in add_domain_to_list()
1628 static void del_domain_from_list(struct protection_domain *domain) in del_domain_from_list()
1664 static void free_pagetable(struct protection_domain *domain) in free_pagetable()
1724 static void free_gcr3_table(struct protection_domain *domain) in free_gcr3_table()
1815 static bool dma_ops_domain(struct protection_domain *domain) in dma_ops_domain()
1820 static void set_dte_entry(u16 devid, struct protection_domain *domain, bool ats) in set_dte_entry()
1880 struct protection_domain *domain) in do_attach()
1925 struct protection_domain *domain) in __attach_device()
2059 struct protection_domain *domain) in attach_device()
2103 struct protection_domain *domain; in __detach_device() local
2139 struct protection_domain *domain; in detach_device() local
2192 struct protection_domain *domain; in device_change_notifier() local
2275 struct protection_domain *domain; in get_domain() local
2300 static void update_device_table(struct protection_domain *domain) in update_device_table()
2308 static void update_domain(struct protection_domain *domain) in update_domain()
2541 struct protection_domain *domain; in map_page() local
2578 struct protection_domain *domain; in unmap_page() local
2622 struct protection_domain *domain; in map_sg() local
2683 struct protection_domain *domain; in unmap_sg() local
2714 struct protection_domain *domain; in alloc_coherent() local
2771 struct protection_domain *domain; in free_coherent() local
2952 static void cleanup_domain(struct protection_domain *domain) in cleanup_domain()
2967 static void protection_domain_free(struct protection_domain *domain) in protection_domain_free()
2982 struct protection_domain *domain; in protection_domain_alloc() local
3021 struct protection_domain *domain; in amd_iommu_domain_init() local
3046 struct protection_domain *domain = dom->priv; in amd_iommu_domain_destroy() local
3092 struct protection_domain *domain = dom->priv; in amd_iommu_attach_device() local
3119 struct protection_domain *domain = dom->priv; in amd_iommu_map() local
3141 struct protection_domain *domain = dom->priv; in amd_iommu_unmap() local
3159 struct protection_domain *domain = dom->priv; in amd_iommu_iova_to_phys() local
3183 static int amd_iommu_domain_has_cap(struct iommu_domain *domain, in amd_iommu_domain_has_cap()
3287 struct protection_domain *domain = dom->priv; in amd_iommu_domain_direct_map() local
3308 struct protection_domain *domain = dom->priv; in amd_iommu_domain_enable_v2() local
3353 static int __flush_pasid(struct protection_domain *domain, int pasid, in __flush_pasid()
3409 static int __amd_iommu_flush_page(struct protection_domain *domain, int pasid, in __amd_iommu_flush_page()
3420 struct protection_domain *domain = dom->priv; in amd_iommu_flush_page() local
3432 static int __amd_iommu_flush_tlb(struct protection_domain *domain, int pasid) in __amd_iommu_flush_tlb()
3442 struct protection_domain *domain = dom->priv; in amd_iommu_flush_tlb() local
3486 static int __set_gcr3(struct protection_domain *domain, int pasid, in __set_gcr3()
3503 static int __clear_gcr3(struct protection_domain *domain, int pasid) in __clear_gcr3()
3522 struct protection_domain *domain = dom->priv; in amd_iommu_domain_set_gcr3() local
3536 struct protection_domain *domain = dom->priv; in amd_iommu_domain_clear_gcr3() local
3569 struct protection_domain *domain; in amd_iommu_get_v2_domain() local