Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpage_ext.c138 MAX_ORDER_NR_PAGES); in lookup_page_ext()
157 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext()
158 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) in alloc_node_page_ext()
159 nr_pages += MAX_ORDER_NR_PAGES; in alloc_node_page_ext()
Dpage_owner.c287 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
484 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
495 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
496 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
573 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
Dinternal.h598 if (unlikely(offset >= MAX_ORDER_NR_PAGES)) in mem_map_offset()
610 if (unlikely((offset & (MAX_ORDER_NR_PAGES - 1)) == 0)) { in mem_map_next()
Dmemory_hotplug.c622 for (pfn = start_pfn; pfn < end_pfn; pfn += MAX_ORDER_NR_PAGES) in online_pages_range()
1207 pfn += MAX_ORDER_NR_PAGES) { in test_pages_in_a_zone()
1210 while ((i < MAX_ORDER_NR_PAGES) && in test_pages_in_a_zone()
1213 if (i == MAX_ORDER_NR_PAGES || pfn + i >= end_pfn) in test_pages_in_a_zone()
Ddebug.c75 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page()
Dpage_alloc.c1847 unsigned long mo_pfn = ALIGN(*start_pfn + 1, MAX_ORDER_NR_PAGES); in deferred_init_maxorder()
2145 p += MAX_ORDER_NR_PAGES; in init_cma_reserved_pageblock()
2146 } while (i -= MAX_ORDER_NR_PAGES); in init_cma_reserved_pageblock()
7185 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map()
7198 end = ALIGN(end, MAX_ORDER_NR_PAGES); in alloc_node_mem_map()
7457 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
7568 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
8578 return pfn & ~(max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_down()
8584 return ALIGN(pfn, max_t(unsigned long, MAX_ORDER_NR_PAGES, in pfn_max_align_up()
Dmemory.c5298 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page()
5351 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in copy_user_huge_page()
Dmigrate.c589 if (unlikely(nr_pages > MAX_ORDER_NR_PAGES)) { in copy_huge_page()
/kernel/linux/linux-5.10/drivers/s390/char/
Dhmcdrv_cache.h15 #define HMCDRV_CACHE_SIZE_DFLT (MAX_ORDER_NR_PAGES * PAGE_SIZE / 2UL)
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/dma/
Dpool.c200 pages = min_t(unsigned long, pages, MAX_ORDER_NR_PAGES); in dma_atomic_pool_init()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dinit.c542 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap()
/kernel/linux/linux-5.10/drivers/md/bcache/
Dbcache.h767 MAX_ORDER_NR_PAGES); in meta_bucket_pages()
/kernel/linux/linux-5.10/include/linux/
Dmmzone.h31 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) macro
/kernel/linux/linux-5.10/drivers/nvme/host/
Dpci.c2012 u64 min_chunk = min_t(u64, preferred, PAGE_SIZE * MAX_ORDER_NR_PAGES); in nvme_alloc_host_mem()