Searched refs:P2M_MID_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
174 #define P2M_MID_PER_PAGE (PAGE_SIZE / sizeof(unsigned long *)) macro177 #define MAX_P2M_PFN (P2M_TOP_PER_PAGE * P2M_MID_PER_PAGE * P2M_PER_PAGE)181 static RESERVE_BRK_ARRAY(unsigned long *, p2m_mid_missing, P2M_MID_PER_PAGE);182 static RESERVE_BRK_ARRAY(unsigned long, p2m_mid_missing_mfn, P2M_MID_PER_PAGE);190 RESERVE_BRK(p2m_mid, PAGE_SIZE * (MAX_DOMAIN_PAGES / (P2M_PER_PAGE * P2M_MID_PER_PAGE)));191 RESERVE_BRK(p2m_mid_mfn, PAGE_SIZE * (MAX_DOMAIN_PAGES / (P2M_PER_PAGE * P2M_MID_PER_PAGE)));200 return pfn / (P2M_MID_PER_PAGE * P2M_PER_PAGE); in p2m_top_index()205 return (pfn / P2M_PER_PAGE) % P2M_MID_PER_PAGE; in p2m_mid_index()241 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_init()249 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_mfn_init()[all …]