Searched refs:xen_pfn (Results 1 – 6 of 6) sorted by relevance
64 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys() local65 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() local82 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() local95 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; 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()
1207 unsigned long xen_pfn; in gnttab_foreach_grant_in_range() local1212 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() local1236 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()
804 unsigned long xen_pfn; in gntdev_get_page() local813 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()
18 #define xen_pfn_to_page(xen_pfn) \ argument19 (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT)))
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()