Home
last modified time | relevance | path

Searched refs:XEN_PAGE_SHIFT (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/include/xen/
Dpage.h8 #define XEN_PAGE_SHIFT 12 macro
9 #define XEN_PAGE_SIZE (_AC(1, UL) << XEN_PAGE_SHIFT)
19 (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT)))
21 ((page_to_pfn(page)) << (PAGE_SHIFT - XEN_PAGE_SHIFT))
25 #define XEN_PFN_DOWN(x) ((x) >> XEN_PAGE_SHIFT)
26 #define XEN_PFN_UP(x) (((x) + XEN_PAGE_SIZE-1) >> XEN_PAGE_SHIFT)
/kernel/linux/linux-5.10/include/xen/arm/
Dpage.h82 pfn_to_gfn(virt_to_phys(v) >> XEN_PAGE_SHIFT); \
84 #define gfn_to_virt(m) (__va(gfn_to_pfn(m) << XEN_PAGE_SHIFT))
87 (pfn_to_gfn(per_cpu_ptr_to_phys(v) >> XEN_PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/arm/xen/
Dp2m.c102 if (likely(set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT, in set_foreign_p2m_mapping()
103 map_ops[i].dev_bus_addr >> XEN_PAGE_SHIFT))) in set_foreign_p2m_mapping()
143 set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT, in clear_foreign_p2m_mapping()
/kernel/linux/linux-5.10/drivers/xen/
Dswiotlb-xen.c58 phys_addr_t baddr = (phys_addr_t)bfn << XEN_PAGE_SHIFT; in xen_phys_to_bus()
73 phys_addr_t paddr = (xen_pfn << XEN_PAGE_SHIFT) | in xen_bus_to_phys()
108 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; in is_xen_swiotlb_buffer()
296 size = 1UL << (order + XEN_PAGE_SHIFT); in xen_swiotlb_alloc_coherent()
350 size = 1UL << (order + XEN_PAGE_SHIFT); in xen_swiotlb_free_coherent()
Dprivcmd.c905 int numgfns = (vma->vm_end - vma->vm_start) >> XEN_PAGE_SHIFT; in privcmd_close()
/kernel/linux/linux-5.10/include/xen/interface/io/
Dring.h354 #ifndef XEN_PAGE_SHIFT
359 #define XEN_PAGE_SHIFT 12 macro
362 (1UL << ((order) + XEN_PAGE_SHIFT - 1))
/kernel/linux/linux-5.10/net/9p/
Dtrans_xen.c280 .maxsize = 1 << (XEN_9PFS_RING_ORDER + XEN_PAGE_SHIFT - 2),
322 XEN_PAGE_SHIFT)); in xen_9pfs_front_free()
361 bytes = alloc_pages_exact(1UL << (order + XEN_PAGE_SHIFT), in xen_9pfs_front_alloc_dataring()
393 free_pages_exact(bytes, 1UL << (order + XEN_PAGE_SHIFT)); in xen_9pfs_front_alloc_dataring()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_xen.c261 info->intf = xen_remap(gfn << XEN_PAGE_SHIFT, XEN_PAGE_SIZE); in xen_hvm_console_init()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe.c914 xen_remap(xen_store_gfn << XEN_PAGE_SHIFT, in xenbus_init()