Searched refs:pt_ref (Results 1 – 2 of 2) sorted by relevance
69 #define PT_REF_VALID(p) ((p)->pt_ref >= 0 && \70 (p)->pt_ref <= AMD_IOMMU_MAX_PDTE)102 int pt_ref; member
890 pt->pt_ref = 0; in amd_iommu_alloc_pgtable()932 ASSERT(pt->pt_ref == 0); in amd_iommu_free_pgtable()979 ppt->pt_ref++; in init_pde()1035 pt->pt_ref++; in init_pte()1190 pt->pt_ref--; in amd_iommu_teardown_pdte()1200 if (pt->pt_ref == 0) { in amd_iommu_teardown_pdte()