Searched refs:P2M_MID_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
87 #define P2M_MID_PER_PAGE (PAGE_SIZE / sizeof(unsigned long *)) macro90 #define MAX_P2M_PFN (P2M_TOP_PER_PAGE * P2M_MID_PER_PAGE * P2M_PER_PAGE)92 #define PMDS_PER_MID_PAGE (P2M_MID_PER_PAGE / PTRS_PER_PTE)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()162 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_mfn_init()262 pfn += (P2M_MID_PER_PAGE - 1) * P2M_PER_PAGE; in xen_build_mfn_list_list()367 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list()368 P2M_PER_PAGE : P2M_PER_PAGE * P2M_MID_PER_PAGE; in xen_rebuild_p2m_list()