Lines Matching refs:pg
397 static void deallocate_next_page_table(struct page_info *pg, int level) in deallocate_next_page_table() argument
399 PFN_ORDER(pg) = level; in deallocate_next_page_table()
401 page_list_add_tail(pg, &iommu_pt_cleanup_list); in deallocate_next_page_table()
405 static void deallocate_page_table(struct page_info *pg) in deallocate_page_table() argument
409 unsigned int index, level = PFN_ORDER(pg), next_level; in deallocate_page_table()
411 PFN_ORDER(pg) = 0; in deallocate_page_table()
415 free_amd_iommu_pgtable(pg); in deallocate_page_table()
419 table_vaddr = __map_domain_page(pg); in deallocate_page_table()
438 free_amd_iommu_pgtable(pg); in deallocate_page_table()
527 static void amd_dump_p2m_table_level(struct page_info* pg, int level, in amd_dump_p2m_table_level() argument
539 table_vaddr = __map_domain_page(pg); in amd_dump_p2m_table_level()
543 page_to_maddr(pg)); in amd_dump_p2m_table_level()