Home
last modified time | relevance | path

Searched refs:XEN_PFN_PER_PAGE (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/xen/
Dxlate_mmu.c56 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];
110 nr_gfn = min_t(typeof(info->nr_fgfn), XEN_PFN_PER_PAGE, info->nr_fgfn); in remap_pte_fn()
153 unsigned long range = DIV_ROUND_UP(nr, XEN_PFN_PER_PAGE) << PAGE_SHIFT; in xen_xlate_remap_gfn_array()
226 nr_pages = DIV_ROUND_UP(nr_grant_frames, XEN_PFN_PER_PAGE); in xen_xlate_map_ballooned_pages()
Dprivcmd.c364 st->index += nr / XEN_PFN_PER_PAGE; in mmap_batch_fn()
480 nr_pages = DIV_ROUND_UP(m.num, XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_batch()
552 BUILD_BUG_ON(((PAGE_SIZE / sizeof(xen_pfn_t)) % XEN_PFN_PER_PAGE) != 0); in privcmd_ioctl_mmap_batch()
795 unsigned int nr = DIV_ROUND_UP(kdata.num, XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_resource()
806 page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in privcmd_ioctl_mmap_resource()
808 pfns[i] = pfn + (i % XEN_PFN_PER_PAGE); in privcmd_ioctl_mmap_resource()
Dmem-reservation.c26 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
Dballoon.c129 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
Dgrant-table.c1027 if ((i % XEN_PFN_PER_PAGE) == 0) { in gnttab_foreach_grant()
1028 xen_pfn = page_to_xen_pfn(pages[i / XEN_PFN_PER_PAGE]); in gnttab_foreach_grant()
/linux-4.19.296/include/xen/
Dpage.h23 #define XEN_PFN_PER_PAGE (PAGE_SIZE / XEN_PAGE_SIZE) macro
/linux-4.19.296/include/xen/arm/
Dpage-coherent.h47 (1<<compound_order(page)) * XEN_PFN_PER_PAGE; in xen_dma_map_page()
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_client.c52 #define XENBUS_PAGES(_grants) (DIV_ROUND_UP(_grants, XEN_PFN_PER_PAGE))