Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/xen/
H A Dp2m.c89 #define P2M_MID_PER_PAGE (PAGE_SIZE / sizeof(unsigned long *)) macro
92 #define MAX_P2M_PFN (P2M_TOP_PER_PAGE * P2M_MID_PER_PAGE * P2M_PER_PAGE)
94 #define PMDS_PER_MID_PAGE (P2M_MID_PER_PAGE / PTRS_PER_PTE)
131 return pfn / (P2M_MID_PER_PAGE * P2M_PER_PAGE); in p2m_top_index()
136 return (pfn / P2M_PER_PAGE) % P2M_MID_PER_PAGE; in p2m_mid_index()
159 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_mfn_init()
259 pfn += (P2M_MID_PER_PAGE - 1) * P2M_PER_PAGE; in xen_build_mfn_list_list()
364 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list()
365 P2M_PER_PAGE : P2M_PER_PAGE * P2M_MID_PER_PAGE; in xen_rebuild_p2m_list()