Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dpage_owner.c160 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
171 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
172 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
225 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
Dpage_ext.c116 MAX_ORDER_NR_PAGES); in lookup_page_ext()
135 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext()
136 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) in alloc_node_page_ext()
137 nr_pages += MAX_ORDER_NR_PAGES; in alloc_node_page_ext()
Dinternal.h310 if (unlikely(offset >= MAX_ORDER_NR_PAGES)) in mem_map_offset()
322 if (unlikely((offset & (MAX_ORDER_NR_PAGES - 1)) == 0)) { in mem_map_next()
Dmemory_hotplug.c1345 pfn += MAX_ORDER_NR_PAGES) { in test_pages_in_a_zone()
1348 while ((i < MAX_ORDER_NR_PAGES) && !pfn_valid_within(pfn + i)) in test_pages_in_a_zone()
1350 if (i == MAX_ORDER_NR_PAGES) in test_pages_in_a_zone()
Dpage_alloc.c896 p += MAX_ORDER_NR_PAGES; in init_cma_reserved_pageblock()
897 } while (i -= MAX_ORDER_NR_PAGES); in init_cma_reserved_pageblock()
5044 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map()
5046 end = ALIGN(end, MAX_ORDER_NR_PAGES); in alloc_node_mem_map()
5274 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
5379 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
6359 return pfn & ~(max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_down()
6365 return ALIGN(pfn, max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_up()
Dvmstat.c1048 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
Dmigrate.c468 if (unlikely(nr_pages > MAX_ORDER_NR_PAGES)) { in copy_huge_page()
Dmemory.c3803 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page()
3840 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in copy_user_huge_page()
/linux-4.1.27/drivers/s390/char/
Dhmcdrv_cache.h14 #define HMCDRV_CACHE_SIZE_DFLT (MAX_ORDER_NR_PAGES * PAGE_SIZE / 2UL)
/linux-4.1.27/arch/ia64/mm/
Dcontig.c257 map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
Ddiscontig.c708 VMALLOC_END -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
/linux-4.1.27/arch/arm/mm/
Dinit.c386 start = round_down(start, MAX_ORDER_NR_PAGES); in free_unused_memmap()
401 MAX_ORDER_NR_PAGES); in free_unused_memmap()
/linux-4.1.27/arch/arm64/mm/
Dinit.c266 MAX_ORDER_NR_PAGES); in free_unused_memmap()
/linux-4.1.27/arch/unicore32/mm/
Dinit.c372 prev_bank_end = ALIGN(bank_pfn_end(bank), MAX_ORDER_NR_PAGES); in free_unused_memmap()
/linux-4.1.27/include/linux/
Dmmzone.h28 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) macro