Lines Matching refs:pt_root
158 u64 pt_root = atomic64_read(&domain->pt_root); in amd_iommu_domain_get_pgtable() local
160 pgtable->root = (u64 *)(pt_root & PAGE_MASK); in amd_iommu_domain_get_pgtable()
161 pgtable->mode = pt_root & 7; /* lowest 3 bits encode pgtable mode */ in amd_iommu_domain_get_pgtable()
166 atomic64_set(&domain->pt_root, root); in amd_iommu_domain_set_pt_root()
177 u64 pt_root; in amd_iommu_domain_set_pgtable() local
180 pt_root = mode & 7; in amd_iommu_domain_set_pgtable()
181 pt_root |= (u64)root; in amd_iommu_domain_set_pgtable()
183 amd_iommu_domain_set_pt_root(domain, pt_root); in amd_iommu_domain_set_pgtable()
2430 u64 *pt_root = NULL; in protection_domain_init() local
2441 pt_root = (void *)get_zeroed_page(GFP_KERNEL); in protection_domain_init()
2442 if (!pt_root) in protection_domain_init()
2446 amd_iommu_domain_set_pgtable(domain, pt_root, mode); in protection_domain_init()