Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/vfio/
Dvfio.h55 unsigned long *phys_pfn);
Dvfio_iommu_type1.c845 unsigned long *phys_pfn) in vfio_iommu_type1_pin_pages() argument
855 if (!iommu || !user_pfn || !phys_pfn) in vfio_iommu_type1_pin_pages()
910 phys_pfn[i] = vpfn->pfn; in vfio_iommu_type1_pin_pages()
915 ret = vfio_pin_page_external(dma, remote_vaddr, &phys_pfn[i], in vfio_iommu_type1_pin_pages()
920 ret = vfio_add_to_pfn_list(dma, iova, phys_pfn[i]); in vfio_iommu_type1_pin_pages()
922 if (put_pfn(phys_pfn[i], dma->prot) && do_accounting) in vfio_iommu_type1_pin_pages()
949 phys_pfn[i] = 0; in vfio_iommu_type1_pin_pages()
956 phys_pfn[j] = 0; in vfio_iommu_type1_pin_pages()
Dvfio.c1927 int npage, int prot, unsigned long *phys_pfn) in vfio_pin_pages() argument
1934 if (!user_pfn || !phys_pfn || !npage || in vfio_pin_pages()
1950 npage, prot, phys_pfn); in vfio_pin_pages()
/linux-5.19.10/include/linux/
Dvfio.h161 int npage, int prot, unsigned long *phys_pfn);
/linux-5.19.10/Documentation/driver-api/
Dvfio-mediated-device.rst266 int npage, int prot, unsigned long *phys_pfn);
/linux-5.19.10/drivers/iommu/intel/
Diommu.c2240 unsigned long phys_pfn, unsigned long nr_pages, int prot) in __domain_mapping() argument
2261 pteval = ((phys_addr_t)phys_pfn << VTD_PAGE_SHIFT) | attr; in __domain_mapping()
2268 phys_pfn, nr_pages); in __domain_mapping()
2309 phys_pfn += lvl_pages; in __domain_mapping()