Lines Matching refs:pdom
240 struct protection_domain *pdom = io_pgtable_ops_to_domain(ops);
241 struct io_pgtable_cfg *cfg = &pdom->iop.iop.cfg;
259 pte = v2_alloc_pte(pdom->nid, pdom->iop.pgd,
277 amd_iommu_flush_tlb(&pdom->domain, 0);
279 amd_iommu_flush_page(&pdom->domain, 0, o_iova);
359 struct protection_domain *pdom;
362 pdom = container_of(pgtable, struct protection_domain, iop);
363 if (!(pdom->flags & PD_IOMMUV2_MASK))
370 amd_iommu_domain_update(pdom);
379 struct protection_domain *pdom = (struct protection_domain *)cookie;
383 pgtable->pgd = alloc_pgtable_page(pdom->nid, GFP_ATOMIC);
387 ret = amd_iommu_domain_set_gcr3(&pdom->domain, 0, iommu_virt_to_phys(pgtable->pgd));