Searched refs:MAX_ORDER_NR_PAGES (Results 1 – 12 of 12) sorted by relevance
209 if (unlikely(offset >= MAX_ORDER_NR_PAGES)) in mem_map_offset()221 if (unlikely((offset & (MAX_ORDER_NR_PAGES - 1)) == 0)) { in mem_map_next()
725 pfn += MAX_ORDER_NR_PAGES) { in test_pages_in_a_zone()728 while ((i < MAX_ORDER_NR_PAGES) && !pfn_valid_within(pfn + i)) in test_pages_in_a_zone()730 if (i == MAX_ORDER_NR_PAGES) in test_pages_in_a_zone()
322 if ((low_pfn & (MAX_ORDER_NR_PAGES - 1)) == 0) { in isolate_migratepages()324 low_pfn += MAX_ORDER_NR_PAGES - 1; in isolate_migratepages()
4403 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map()4405 end = ALIGN(end, MAX_ORDER_NR_PAGES); in alloc_node_mem_map()4600 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()4705 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
4031 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page()4068 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in copy_user_huge_page()
497 if (unlikely(pages_per_huge_page(h) > MAX_ORDER_NR_PAGES)) { in copy_huge_page()
32 if (unlikely(!(i % MAX_ORDER_NR_PAGES))) in show_mem()
64 if (unlikely(i % MAX_ORDER_NR_PAGES == 0)) in show_mem()337 map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
641 if (unlikely(i % MAX_ORDER_NR_PAGES == 0)) in show_mem()773 VMALLOC_END -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
501 bank_start = round_down(bank_start, MAX_ORDER_NR_PAGES); in free_unused_memmap()515 prev_bank_end = ALIGN(bank_pfn_end(bank), MAX_ORDER_NR_PAGES); in free_unused_memmap()
393 prev_bank_end = ALIGN(bank_pfn_end(bank), MAX_ORDER_NR_PAGES); in free_unused_memmap()
28 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) macro