Searched refs:xen_pfn (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/include/xen/ |
D | page.h | 18 #define xen_pfn_to_page(xen_pfn) \ argument 19 (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT)))
|
/linux-4.19.296/drivers/xen/ |
D | swiotlb-xen.c | 83 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys() local 84 dma_addr_t dma = (dma_addr_t)xen_pfn << XEN_PAGE_SHIFT; in xen_bus_to_phys() 97 static int check_pages_physically_contiguous(unsigned long xen_pfn, in check_pages_physically_contiguous() argument 105 next_bfn = pfn_to_bfn(xen_pfn); in check_pages_physically_contiguous() 109 if (pfn_to_bfn(++xen_pfn) != ++next_bfn) in check_pages_physically_contiguous() 117 unsigned long xen_pfn = XEN_PFN_DOWN(p); in range_straddles_page_boundary() local 122 if (check_pages_physically_contiguous(xen_pfn, offset, size)) in range_straddles_page_boundary() 130 unsigned long xen_pfn = bfn_to_local_pfn(bfn); in is_xen_swiotlb_buffer() local 131 phys_addr_t paddr = XEN_PFN_PHYS(xen_pfn); in is_xen_swiotlb_buffer()
|
D | xlate_mmu.c | 51 unsigned long xen_pfn = 0; in xen_for_each_gfn() local 58 xen_pfn = page_to_xen_pfn(page); in xen_for_each_gfn() 60 fn(pfn_to_gfn(xen_pfn++), data); in xen_for_each_gfn()
|
D | grant-table.c | 999 unsigned long xen_pfn; in gnttab_foreach_grant_in_range() local 1004 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(offset); in gnttab_foreach_grant_in_range() 1008 fn(pfn_to_gfn(xen_pfn), goffset, glen, data); in gnttab_foreach_grant_in_range() 1011 xen_pfn++; in gnttab_foreach_grant_in_range() 1023 unsigned long xen_pfn = 0; in gnttab_foreach_grant() local 1028 xen_pfn = page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in gnttab_foreach_grant() 1032 fn(pfn_to_gfn(xen_pfn), goffset, XEN_PAGE_SIZE, data); in gnttab_foreach_grant() 1035 xen_pfn++; in gnttab_foreach_grant()
|
D | gntdev.c | 929 unsigned long xen_pfn; in gntdev_get_page() local 938 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(addr & ~PAGE_MASK); in gntdev_get_page() 939 *gfn = pfn_to_gfn(xen_pfn); in gntdev_get_page()
|