Home
last modified time | relevance | path

Searched refs:next_level (Results 1 – 7 of 7) sorted by relevance

/xen/xen/drivers/passthrough/amd/
A Diommu_map.c53 unsigned int next_level, bool iw, in set_iommu_pde_present() argument
63 new.fc = !next_level; in set_iommu_pde_present()
68 new.next_level = next_level; in set_iommu_pde_present()
211 unsigned int next_level = level - 1; in iommu_pde_from_dfn() local
221 if ( pde->pr && !pde->next_level && next_table_mfn ) in iommu_pde_from_dfn()
227 page_sz = 1 << (PTE_PER_TABLE_SHIFT * (next_level - 1)); in iommu_pde_from_dfn()
228 pfn = dfn & ~((1 << (PTE_PER_TABLE_SHIFT * next_level)) - 1); in iommu_pde_from_dfn()
241 set_iommu_pde_present(pde, next_table_mfn, next_level, true, in iommu_pde_from_dfn()
246 set_iommu_pte_present(next_table_mfn, pfn, mfn, next_level, in iommu_pde_from_dfn()
271 set_iommu_pde_present(pde, next_table_mfn, next_level, true, in iommu_pde_from_dfn()
A Dpci_amd_iommu.c410 if ( pde->mfn && pde->next_level && pde->pr ) in deallocate_page_table()
413 ASSERT(pde->next_level == level - 1); in deallocate_page_table()
415 pde->next_level); in deallocate_page_table()
584 if ( pde->next_level && (pde->next_level != (level - 1)) ) in amd_dump_p2m_table_level()
587 pde->next_level, level - 1); in amd_dump_p2m_table_level()
593 if ( pde->next_level >= 1 ) in amd_dump_p2m_table_level()
595 mfn_to_page(_mfn(pde->mfn)), pde->next_level, in amd_dump_p2m_table_level()
A Diommu-defs.h462 unsigned int next_level:3; member
/xen/xen/arch/x86/
A Dtboot.c158 int next_level = level - 1; in update_iommu_mac() local
172 if ( next_level >= 1 ) in update_iommu_mac()
173 update_iommu_mac(ctx, dma_pte_addr(*pte), next_level); in update_iommu_mac()
/xen/xen/arch/arm/
A Dp2m.c800 unsigned int next_level = level + 1; in p2m_split_superpage() local
801 unsigned int level_order = level_orders[next_level]; in p2m_split_superpage()
836 pte.p2m.table = (next_level == 3); in p2m_split_superpage()
844 p2m->stats.mappings[next_level] += LPAE_ENTRIES; in p2m_split_superpage()
852 if ( next_level != target ) in p2m_split_superpage()
853 rv = p2m_split_superpage(p2m, table + offsets[next_level], in p2m_split_superpage()
/xen/xen/arch/x86/mm/
A Dp2m-ept.c320 int next_level) in ept_next_level() argument
325 ASSERT(next_level); in ept_next_level()
327 shift = next_level * EPT_TABLE_ORDER; in ept_next_level()
358 rc = atomic_write_ept_entry(p2m, ept_entry, e, next_level); in ept_next_level()
/xen/xen/drivers/passthrough/vtd/
A Diommu.c696 unsigned int i, next_level = PFN_ORDER(pg) - 1; in iommu_free_page_table() local
709 if ( next_level >= 1 ) in iommu_free_page_table()
710 iommu_free_pagetable(dma_pte_addr(*pte), next_level); in iommu_free_page_table()
2633 int next_level; in vtd_dump_p2m_table_level() local
2645 next_level = level - 1; in vtd_dump_p2m_table_level()
2656 if ( next_level >= 1 ) in vtd_dump_p2m_table_level()
2657 vtd_dump_p2m_table_level(dma_pte_addr(*pte), next_level, in vtd_dump_p2m_table_level()

Completed in 19 milliseconds