Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dpage_ext.c131 MAX_ORDER_NR_PAGES); in lookup_page_ext()
150 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext()
151 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) in alloc_node_page_ext()
152 nr_pages += MAX_ORDER_NR_PAGES; in alloc_node_page_ext()
Dpage_owner.c276 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
471 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
482 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
483 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
560 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
Dinternal.h440 if (unlikely(offset >= MAX_ORDER_NR_PAGES)) in mem_map_offset()
452 if (unlikely((offset & (MAX_ORDER_NR_PAGES - 1)) == 0)) { in mem_map_next()
Dmemory_hotplug.c621 for (pfn = start_pfn; pfn < end_pfn; pfn += MAX_ORDER_NR_PAGES) in online_pages_range()
1203 pfn += MAX_ORDER_NR_PAGES) { in test_pages_in_a_zone()
1206 while ((i < MAX_ORDER_NR_PAGES) && in test_pages_in_a_zone()
1209 if (i == MAX_ORDER_NR_PAGES || pfn + i >= end_pfn) in test_pages_in_a_zone()
Ddebug.c71 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page()
Dpage_alloc.c1838 unsigned long mo_pfn = ALIGN(*start_pfn + 1, MAX_ORDER_NR_PAGES); in deferred_init_maxorder()
2136 p += MAX_ORDER_NR_PAGES; in init_cma_reserved_pageblock()
2137 } while (i -= MAX_ORDER_NR_PAGES); in init_cma_reserved_pageblock()
6918 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map()
6931 end = ALIGN(end, MAX_ORDER_NR_PAGES); in alloc_node_mem_map()
7272 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
7381 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
8392 return pfn & ~(max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_down()
8398 return ALIGN(pfn, max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_up()
Dmemory.c5119 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page()
5172 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in copy_user_huge_page()
Dmigrate.c587 if (unlikely(nr_pages > MAX_ORDER_NR_PAGES)) { in copy_huge_page()
/Linux-v5.10/drivers/s390/char/
Dhmcdrv_cache.h15 #define HMCDRV_CACHE_SIZE_DFLT (MAX_ORDER_NR_PAGES * PAGE_SIZE / 2UL)
/Linux-v5.10/arch/ia64/mm/
Dcontig.c195 map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
Ddiscontig.c606 VMALLOC_END -= PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init()
/Linux-v5.10/arch/arm/mm/
Dinit.c323 start = round_down(start, MAX_ORDER_NR_PAGES); in free_unused_memmap()
337 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap()
/Linux-v5.10/kernel/dma/
Dpool.c200 pages = min_t(unsigned long, pages, MAX_ORDER_NR_PAGES); in dma_atomic_pool_init()
/Linux-v5.10/arch/arm64/mm/
Dinit.c488 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap()
/Linux-v5.10/drivers/md/bcache/
Dbcache.h767 MAX_ORDER_NR_PAGES); in meta_bucket_pages()
/Linux-v5.10/include/linux/
Dmmzone.h31 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) macro
/Linux-v5.10/drivers/nvme/host/
Dpci.c1964 u64 min_chunk = min_t(u64, preferred, PAGE_SIZE * MAX_ORDER_NR_PAGES); in nvme_alloc_host_mem()