Searched refs:P2M_MID_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
88 #define P2M_MID_PER_PAGE (PAGE_SIZE / sizeof(unsigned long *)) macro91 #define MAX_P2M_PFN (P2M_TOP_PER_PAGE * P2M_MID_PER_PAGE * P2M_PER_PAGE)93 #define PMDS_PER_MID_PAGE (P2M_MID_PER_PAGE / PTRS_PER_PTE)130 return pfn / (P2M_MID_PER_PAGE * P2M_PER_PAGE); in p2m_top_index()135 return (pfn / P2M_PER_PAGE) % P2M_MID_PER_PAGE; in p2m_mid_index()158 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_mfn_init()258 pfn += (P2M_MID_PER_PAGE - 1) * P2M_PER_PAGE; in xen_build_mfn_list_list()363 chunk = (pfn & (P2M_PER_PAGE * P2M_MID_PER_PAGE - 1)) ? in xen_rebuild_p2m_list()364 P2M_PER_PAGE : P2M_PER_PAGE * P2M_MID_PER_PAGE; in xen_rebuild_p2m_list()