Lines Matching refs:table

40     u64 *table, *pte;  in clear_iommu_pte_present()  local
42 table = map_domain_page(_mfn(l1_mfn)); in clear_iommu_pte_present()
43 pte = table + pfn_to_pde_idx(gfn, IOMMU_PAGING_MODE_LEVEL_1); in clear_iommu_pte_present()
45 unmap_domain_page(table); in clear_iommu_pte_present()
111 u64 *table; in set_iommu_pte_present() local
115 table = map_domain_page(_mfn(pt_mfn)); in set_iommu_pte_present()
117 pde = (u32*)(table + pfn_to_pde_idx(gfn, pde_level)); in set_iommu_pte_present()
121 unmap_domain_page(table); in set_iommu_pte_present()
339 u64 *table, *pde, *ntable; in iommu_update_pde_count() local
349 table = map_domain_page(_mfn(pt_mfn)); in iommu_update_pde_count()
350 pde = table + pfn_to_pde_idx(gfn, merge_level); in iommu_update_pde_count()
384 unmap_domain_page(table); in iommu_update_pde_count()
393 u64 *table, *pde, *ntable; in iommu_merge_pages() local
400 table = map_domain_page(_mfn(pt_mfn)); in iommu_merge_pages()
401 pde = table + pfn_to_pde_idx(gfn, merge_level); in iommu_merge_pages()
408 unmap_domain_page(table); in iommu_merge_pages()
418 unmap_domain_page(table); in iommu_merge_pages()
431 unmap_domain_page(table); in iommu_merge_pages()
445 struct page_info *table; in iommu_pde_from_gfn() local
448 table = hd->arch.root_table; in iommu_pde_from_gfn()
451 BUG_ON( table == NULL || level < IOMMU_PAGING_MODE_LEVEL_1 || in iommu_pde_from_gfn()
454 next_table_mfn = page_to_mfn(table); in iommu_pde_from_gfn()
488 table = alloc_amd_iommu_pgtable(); in iommu_pde_from_gfn()
489 if ( table == NULL ) in iommu_pde_from_gfn()
496 next_table_mfn = page_to_mfn(table); in iommu_pde_from_gfn()
516 table = alloc_amd_iommu_pgtable(); in iommu_pde_from_gfn()
517 if ( table == NULL ) in iommu_pde_from_gfn()
523 next_table_mfn = page_to_mfn(table); in iommu_pde_from_gfn()