Lines Matching refs:pg
383 static void deallocate_next_page_table(struct page_info *pg, int level) in deallocate_next_page_table() argument
385 PFN_ORDER(pg) = level; in deallocate_next_page_table()
387 page_list_add_tail(pg, &iommu_pt_cleanup_list); in deallocate_next_page_table()
391 static void deallocate_page_table(struct page_info *pg) in deallocate_page_table() argument
394 unsigned int index, level = PFN_ORDER(pg); in deallocate_page_table()
396 PFN_ORDER(pg) = 0; in deallocate_page_table()
400 free_amd_iommu_pgtable(pg); in deallocate_page_table()
404 table_vaddr = __map_domain_page(pg); in deallocate_page_table()
420 free_amd_iommu_pgtable(pg); in deallocate_page_table()
556 static void amd_dump_p2m_table_level(struct page_info* pg, int level, in amd_dump_p2m_table_level() argument
566 table_vaddr = __map_domain_page(pg); in amd_dump_p2m_table_level()
570 page_to_maddr(pg)); in amd_dump_p2m_table_level()