Home
last modified time | relevance | path

Searched refs:pt_root (Results 1 – 2 of 2) sorted by relevance

/drivers/iommu/amd/
Diommu.c158 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()
[all …]
Damd_iommu_types.h483 atomic64_t pt_root; /* pgtable root and pgtable mode */ member