Searched refs:xen_pfn (Results 1 – 6 of 6) sorted by relevance
18 #define xen_pfn_to_page(xen_pfn) \ argument19 (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT)))
74 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys() local75 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() local93 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() local106 phys_addr_t paddr = XEN_PFN_PHYS(xen_pfn); in is_xen_swiotlb_buffer()
51 unsigned long xen_pfn = 0; in xen_for_each_gfn() local58 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()
992 unsigned long xen_pfn; in gnttab_foreach_grant_in_range() local997 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() local1021 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()
841 unsigned long xen_pfn; in gntdev_get_page() local850 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()
97 unsigned int xen_pfn = XEN_PFN_DOWN(phys); in xen_arch_need_swiotlb() local115 return (!hypercall_cflush && (xen_pfn != bfn) && in xen_arch_need_swiotlb()