Home
last modified time | relevance | path

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

/linux-6.12.1/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];
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()
Dmem-reservation.c26 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
Dprivcmd.c375 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()
Dballoon.c107 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
Dgrant-table.c1233 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()
/linux-6.12.1/include/xen/
Dpage.h23 #define XEN_PFN_PER_PAGE (PAGE_SIZE / XEN_PAGE_SIZE) macro
/linux-6.12.1/drivers/xen/xenbus/
Dxenbus_client.c52 #define XENBUS_PAGES(_grants) (DIV_ROUND_UP(_grants, XEN_PFN_PER_PAGE))
/linux-6.12.1/drivers/block/
Dxen-blkfront.c78 #define HAS_EXTRA_REQ (BLKIF_MAX_SEGMENTS_PER_REQUEST < XEN_PFN_PER_PAGE)