Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/xen/
Dswiotlb-xen.c64 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys() local
65 phys_addr_t paddr = (xen_pfn << XEN_PAGE_SHIFT) | in xen_bus_to_phys()
79 unsigned long next_bfn, xen_pfn = XEN_PFN_DOWN(p); in range_straddles_page_boundary() local
82 next_bfn = pfn_to_bfn(xen_pfn); in range_straddles_page_boundary()
85 if (pfn_to_bfn(++xen_pfn) != ++next_bfn) in range_straddles_page_boundary()
94 unsigned long xen_pfn = bfn_to_local_pfn(bfn); in is_xen_swiotlb_buffer() local
95 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; 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.c1207 unsigned long xen_pfn; in gnttab_foreach_grant_in_range() local
1212 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(offset); in gnttab_foreach_grant_in_range()
1216 fn(pfn_to_gfn(xen_pfn), goffset, glen, data); in gnttab_foreach_grant_in_range()
1219 xen_pfn++; in gnttab_foreach_grant_in_range()
1231 unsigned long xen_pfn = 0; in gnttab_foreach_grant() local
1236 xen_pfn = page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in gnttab_foreach_grant()
1240 fn(pfn_to_gfn(xen_pfn), goffset, XEN_PAGE_SIZE, data); in gnttab_foreach_grant()
1243 xen_pfn++; in gnttab_foreach_grant()
Dgntdev.c804 unsigned long xen_pfn; in gntdev_get_page() local
813 xen_pfn = page_to_xen_pfn(page) + XEN_PFN_DOWN(addr & ~PAGE_MASK); in gntdev_get_page()
814 *gfn = pfn_to_gfn(xen_pfn); in gntdev_get_page()
/linux-6.6.21/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-6.6.21/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()