Home
last modified time | relevance | path

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

/linux-6.1.9/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)
/linux-6.1.9/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))
/linux-6.1.9/drivers/xen/
Dswiotlb-xen.c50 phys_addr_t baddr = (phys_addr_t)bfn << XEN_PAGE_SHIFT; in xen_phys_to_bus()
65 phys_addr_t paddr = (xen_pfn << XEN_PAGE_SHIFT) | in xen_bus_to_phys()
95 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; in is_xen_swiotlb_buffer()
143 size = 1UL << (order + XEN_PAGE_SHIFT); in xen_swiotlb_alloc_coherent()
175 size = 1UL << (order + XEN_PAGE_SHIFT); in xen_swiotlb_free_coherent()
Dgrant-dma-ops.c34 return XEN_GRANT_DMA_ADDR_OFF | ((dma_addr_t)grant << XEN_PAGE_SHIFT); in grant_to_dma()
39 return (grant_ref_t)((dma & ~XEN_GRANT_DMA_ADDR_OFF) >> XEN_PAGE_SHIFT); in dma_to_grant()
Dprivcmd.c904 int numgfns = (vma->vm_end - vma->vm_start) >> XEN_PAGE_SHIFT; in privcmd_close()
/linux-6.1.9/arch/arm/xen/
Dp2m.c103 if (likely(set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT, in set_foreign_p2m_mapping()
104 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()
/linux-6.1.9/include/xen/interface/io/
Dring.h346 #ifndef XEN_PAGE_SHIFT
351 #define XEN_PAGE_SHIFT 12 macro
354 (1UL << ((order) + XEN_PAGE_SHIFT - 1))
/linux-6.1.9/net/9p/
Dtrans_xen.c257 .maxsize = 1 << (XEN_9PFS_RING_ORDER + XEN_PAGE_SHIFT - 2),
296 XEN_PAGE_SHIFT)); in xen_9pfs_front_free()
335 bytes = alloc_pages_exact(1UL << (order + XEN_PAGE_SHIFT), in xen_9pfs_front_alloc_dataring()
367 free_pages_exact(bytes, 1UL << (order + XEN_PAGE_SHIFT)); in xen_9pfs_front_alloc_dataring()
/linux-6.1.9/drivers/xen/xenbus/
Dxenbus_probe.c755 xen_store_interface = memremap(xen_store_gfn << XEN_PAGE_SHIFT, in xenbus_probe()
1012 memremap(xen_store_gfn << XEN_PAGE_SHIFT, in xenbus_init()
/linux-6.1.9/drivers/tty/hvc/
Dhvc_xen.c261 info->intf = memremap(gfn << XEN_PAGE_SHIFT, XEN_PAGE_SIZE, MEMREMAP_WB); in xen_hvm_console_init()