Searched refs:XEN_PFN_PER_PAGE (Results 1 – 8 of 8) sorted by relevance
56 if ((i % XEN_PFN_PER_PAGE) == 0) { in xen_for_each_gfn()57 page = pages[i / XEN_PFN_PER_PAGE]; in xen_for_each_gfn()77 int h_errs[XEN_PFN_PER_PAGE];78 xen_ulong_t h_idxs[XEN_PFN_PER_PAGE];79 xen_pfn_t h_gpfns[XEN_PFN_PER_PAGE];109 nr_gfn = min_t(typeof(info->nr_fgfn), XEN_PFN_PER_PAGE, info->nr_fgfn); in remap_pte_fn()152 unsigned long range = DIV_ROUND_UP(nr, XEN_PFN_PER_PAGE) << PAGE_SHIFT; in xen_xlate_remap_gfn_array()225 nr_pages = DIV_ROUND_UP(nr_grant_frames, XEN_PFN_PER_PAGE); in xen_xlate_map_ballooned_pages()
26 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
375 st->index += nr / XEN_PFN_PER_PAGE; in mmap_batch_fn()491 nr_pages = DIV_ROUND_UP(m.num, XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_batch()563 BUILD_BUG_ON(((PAGE_SIZE / sizeof(xen_pfn_t)) % XEN_PFN_PER_PAGE) != 0); in privcmd_ioctl_mmap_batch()784 unsigned int nr = DIV_ROUND_UP(kdata.num, XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_resource()796 page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in privcmd_ioctl_mmap_resource()798 pfns[i] = pfn + (i % XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_resource()
107 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
1233 if ((i % XEN_PFN_PER_PAGE) == 0) { in gnttab_foreach_grant()1234 xen_pfn = page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in gnttab_foreach_grant()
23 #define XEN_PFN_PER_PAGE (PAGE_SIZE / XEN_PAGE_SIZE) macro
52 #define XENBUS_PAGES(_grants) (DIV_ROUND_UP(_grants, XEN_PFN_PER_PAGE))
78 #define HAS_EXTRA_REQ (BLKIF_MAX_SEGMENTS_PER_REQUEST < XEN_PFN_PER_PAGE)