Home
last modified time | relevance | path

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

/Linux-v5.4/include/xen/
Dpage.h18 #define xen_pfn_to_page(xen_pfn) \ argument
19 (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT)))
/Linux-v5.4/drivers/xen/
Dswiotlb-xen.c74 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys() local
75 dma_addr_t dma = (dma_addr_t)xen_pfn << XEN_PAGE_SHIFT; in xen_bus_to_phys()
90 unsigned long next_bfn, xen_pfn = XEN_PFN_DOWN(p); in range_straddles_page_boundary() local
93 next_bfn = pfn_to_bfn(xen_pfn); in range_straddles_page_boundary()
96 if (pfn_to_bfn(++xen_pfn) != ++next_bfn) in range_straddles_page_boundary()
105 unsigned long xen_pfn = bfn_to_local_pfn(bfn); in is_xen_swiotlb_buffer() local
106 phys_addr_t paddr = XEN_PFN_PHYS(xen_pfn); in is_xen_swiotlb_buffer()
Dxlate_mmu.c51 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()
Dgrant-table.c992 unsigned long xen_pfn; in gnttab_foreach_grant_in_range() local
997 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(offset); in gnttab_foreach_grant_in_range()
1001 fn(pfn_to_gfn(xen_pfn), goffset, glen, data); in gnttab_foreach_grant_in_range()
1004 xen_pfn++; in gnttab_foreach_grant_in_range()
1016 unsigned long xen_pfn = 0; in gnttab_foreach_grant() local
1021 xen_pfn = page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in gnttab_foreach_grant()
1025 fn(pfn_to_gfn(xen_pfn), goffset, XEN_PAGE_SIZE, data); in gnttab_foreach_grant()
1028 xen_pfn++; in gnttab_foreach_grant()
Dgntdev.c841 unsigned long xen_pfn; in gntdev_get_page() local
850 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(addr & ~PAGE_MASK); in gntdev_get_page()
851 *gfn = pfn_to_gfn(xen_pfn); in gntdev_get_page()
/Linux-v5.4/arch/arm/xen/
Dmm.c97 unsigned int xen_pfn = XEN_PFN_DOWN(phys); in xen_arch_need_swiotlb() local
115 return (!hypercall_cflush && (xen_pfn != bfn) && in xen_arch_need_swiotlb()