Home
last modified time | relevance | path

Searched refs:phys_pfn (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/vfio/
Dvfio_iommu_type1.c894 unsigned long phys_pfn; in vfio_iommu_type1_pin_pages() local
916 ret = vfio_pin_page_external(dma, remote_vaddr, &phys_pfn, in vfio_iommu_type1_pin_pages()
921 ret = vfio_add_to_pfn_list(dma, iova, phys_pfn); in vfio_iommu_type1_pin_pages()
923 if (put_pfn(phys_pfn, dma->prot) && do_accounting) in vfio_iommu_type1_pin_pages()
928 pages[i] = pfn_to_page(phys_pfn); in vfio_iommu_type1_pin_pages()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c2217 unsigned long phys_pfn, unsigned long nr_pages, int prot) in __domain_mapping() argument
2238 pteval = ((phys_addr_t)phys_pfn << VTD_PAGE_SHIFT) | attr; in __domain_mapping()
2245 phys_pfn, nr_pages); in __domain_mapping()
2286 phys_pfn += lvl_pages; in __domain_mapping()