Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c838 unsigned long phys_pfn; in vfio_iommu_type1_pin_pages() local
861 ret = vfio_pin_page_external(dma, remote_vaddr, &phys_pfn, in vfio_iommu_type1_pin_pages()
866 if (!pfn_valid(phys_pfn)) { in vfio_iommu_type1_pin_pages()
871 ret = vfio_add_to_pfn_list(dma, iova, phys_pfn); in vfio_iommu_type1_pin_pages()
873 if (put_pfn(phys_pfn, dma->prot) && do_accounting) in vfio_iommu_type1_pin_pages()
878 pages[i] = pfn_to_page(phys_pfn); in vfio_iommu_type1_pin_pages()
/openbmc/linux/drivers/iommu/intel/
H A Diommu.c2184 unsigned long phys_pfn, unsigned long nr_pages, int prot, in __domain_mapping() argument
2209 pteval = ((phys_addr_t)phys_pfn << VTD_PAGE_SHIFT) | attr; in __domain_mapping()
2216 phys_pfn, nr_pages); in __domain_mapping()
2258 phys_pfn += lvl_pages; in __domain_mapping()