Home
last modified time | relevance | path

Searched refs:MAX_ORDER_NR_PAGES (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/mm/
Dinternal.h209 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()
Dmemory_hotplug.c725 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()
Dcompaction.c322 if ((low_pfn & (MAX_ORDER_NR_PAGES - 1)) == 0) { in isolate_migratepages()
324 low_pfn += MAX_ORDER_NR_PAGES - 1; in isolate_migratepages()
Dpage_alloc.c4403 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()
Dmemory.c4031 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()
Dhugetlb.c497 if (unlikely(pages_per_huge_page(h) > MAX_ORDER_NR_PAGES)) { in copy_huge_page()
/linux-3.4.99/lib/
Dshow_mem.c32 if (unlikely(!(i % MAX_ORDER_NR_PAGES))) in show_mem()
/linux-3.4.99/arch/ia64/mm/
Dcontig.c64 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()
Ddiscontig.c641 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()
/linux-3.4.99/arch/arm/mm/
Dinit.c501 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()
/linux-3.4.99/arch/unicore32/mm/
Dinit.c393 prev_bank_end = ALIGN(bank_pfn_end(bank), MAX_ORDER_NR_PAGES); in free_unused_memmap()
/linux-3.4.99/include/linux/
Dmmzone.h28 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) macro