Searched refs:NUM_4K_PAGES_IN_2MB_PAGE (Results 1 – 3 of 3) sorted by relevance
51 #define NUM_4K_PAGES_IN_2MB_PAGE (SZ_2M / SZ_4K) macro176 return (PFN_DOWN(as_phys_addr_t(t)) & (NUM_4K_PAGES_IN_2MB_PAGE - 1)); in index_in_large_page()
568 round_up(*num_pages_aligned, NUM_4K_PAGES_IN_2MB_PAGE); in entry_find_large_page_to_reuse()608 *pma = &target_interface->pma[page_index / NUM_4K_PAGES_IN_2MB_PAGE]; in entry_find_large_page_to_reuse()
631 unsigned int vindex = fault_pfn & (NUM_4K_PAGES_IN_2MB_PAGE - 1); in set_gwt_element_page_addr_and_size()638 element->num_pages = NUM_4K_PAGES_IN_2MB_PAGE; in set_gwt_element_page_addr_and_size()