Home
last modified time | relevance | path

Searched refs:P2M_PER_PAGE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/xen/
Dp2m.c90 #define MAX_P2M_PFN (P2M_TOP_PER_PAGE * P2M_MID_PER_PAGE * P2M_PER_PAGE)
129 return pfn / (P2M_MID_PER_PAGE * P2M_PER_PAGE); in p2m_top_index()
134 return (pfn / P2M_PER_PAGE) % P2M_MID_PER_PAGE; in p2m_mid_index()
139 return pfn % P2M_PER_PAGE; in p2m_index()
170 for (i = 0; i < P2M_PER_PAGE; i++) in p2m_init()
178 for (i = 0; i < P2M_PER_PAGE; i++) in p2m_init_identity()
243 pfn += P2M_PER_PAGE) { in xen_build_mfn_list_list()
262 pfn += (P2M_MID_PER_PAGE - 1) * P2M_PER_PAGE; in xen_build_mfn_list_list()
300 xen_p2m_size = ALIGN(xen_start_info->nr_pages, P2M_PER_PAGE); in xen_build_dynamic_phys_to_machine()
367 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list()
[all …]
Dsetup.c54 #define REMAP_SIZE (P2M_PER_PAGE - 3)
/linux-6.1.9/arch/x86/include/asm/xen/
Dpage.h48 #define P2M_PER_PAGE (PAGE_SIZE / sizeof(unsigned long)) macro