Lines Matching refs:root_table
121 BUG_ON( !hd->arch.root_table || !hd->arch.paging_mode || in amd_iommu_setup_domain_device()
140 (u32 *)dte, page_to_maddr(hd->arch.root_table), domain->domain_id, in amd_iommu_setup_domain_device()
153 page_to_maddr(hd->arch.root_table), in amd_iommu_setup_domain_device()
200 if ( unlikely(!hd->arch.root_table) ) in amd_iommu_alloc_root()
202 hd->arch.root_table = alloc_amd_iommu_pgtable(); in amd_iommu_alloc_root()
203 if ( !hd->arch.root_table ) in amd_iommu_alloc_root()
449 if ( hd->arch.root_table ) in deallocate_iommu_page_tables()
451 deallocate_next_page_table(hd->arch.root_table, hd->arch.paging_mode); in deallocate_iommu_page_tables()
452 hd->arch.root_table = NULL; in deallocate_iommu_page_tables()
594 if ( !hd->arch.root_table ) in amd_dump_p2m_table()
598 amd_dump_p2m_table_level(hd->arch.root_table, hd->arch.paging_mode, 0, 0); in amd_dump_p2m_table()