Searched refs:XEN_PAGE_SHIFT (Results 1 – 9 of 9) sorted by relevance
8 #define XEN_PAGE_SHIFT 12 macro9 #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)
82 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))
102 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()
58 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()
905 int numgfns = (vma->vm_end - vma->vm_start) >> XEN_PAGE_SHIFT; in privcmd_close()
354 #ifndef XEN_PAGE_SHIFT359 #define XEN_PAGE_SHIFT 12 macro362 (1UL << ((order) + XEN_PAGE_SHIFT - 1))
280 .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()
261 info->intf = xen_remap(gfn << XEN_PAGE_SHIFT, XEN_PAGE_SIZE); in xen_hvm_console_init()
914 xen_remap(xen_store_gfn << XEN_PAGE_SHIFT, in xenbus_init()