Searched refs:MAX_ORDER_NR_PAGES (Results 1 – 17 of 17) sorted by relevance
/linux-6.6.21/scripts/gdb/linux/ |
D | page_owner.py | 151 … while ((not self.p_ops.pfn_valid(pfn)) and (pfn & (self.p_ops.MAX_ORDER_NR_PAGES - 1))) != 0: 159 … if ((pfn & (self.p_ops.MAX_ORDER_NR_PAGES - 1)) == 0) and (not self.p_ops.pfn_valid(pfn)): 160 pfn += (self.p_ops.MAX_ORDER_NR_PAGES - 1)
|
D | mm.py | 64 self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_ORDER - 1)
|
/linux-6.6.21/mm/ |
D | page_ext.c | 172 MAX_ORDER_NR_PAGES); in lookup_page_ext() 191 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext() 192 !IS_ALIGNED(node_end_pfn(nid), MAX_ORDER_NR_PAGES)) in alloc_node_page_ext() 193 nr_pages += MAX_ORDER_NR_PAGES; in alloc_node_page_ext()
|
D | page_owner.c | 298 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print() 526 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner() 543 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner() 544 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner() 636 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
|
D | debug.c | 70 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page()
|
D | mm_init.c | 441 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes() 552 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes() 1644 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map() 1657 end = ALIGN(end, MAX_ORDER_NR_PAGES); in alloc_node_mem_map() 1981 if (nr_pages == MAX_ORDER_NR_PAGES && IS_MAX_ORDER_ALIGNED(pfn)) { in deferred_free_range() 2118 unsigned long mo_pfn = ALIGN(*start_pfn + 1, MAX_ORDER_NR_PAGES); in deferred_init_maxorder()
|
D | page_isolation.c | 329 start_pfn = max(ALIGN_DOWN(isolate_pageblock, MAX_ORDER_NR_PAGES), in isolate_single_pageblock()
|
D | page_alloc.c | 6623 __mod_zone_freepage_state(zone, -MAX_ORDER_NR_PAGES, MIGRATE_MOVABLE); in try_to_accept_memory_one() 6624 __mod_zone_page_state(zone, NR_UNACCEPTED, -MAX_ORDER_NR_PAGES); in try_to_accept_memory_one() 6652 to_accept -= MAX_ORDER_NR_PAGES; in try_to_accept_memory() 6675 __mod_zone_freepage_state(zone, MAX_ORDER_NR_PAGES, MIGRATE_MOVABLE); in __free_unaccepted() 6676 __mod_zone_page_state(zone, NR_UNACCEPTED, MAX_ORDER_NR_PAGES); in __free_unaccepted()
|
D | memory.c | 6015 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page() 6076 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) in copy_user_large_folio()
|
/linux-6.6.21/drivers/s390/char/ |
D | hmcdrv_cache.h | 15 #define HMCDRV_CACHE_SIZE_DFLT (MAX_ORDER_NR_PAGES * PAGE_SIZE / 2UL)
|
/linux-6.6.21/tools/testing/memblock/linux/ |
D | mmzone.h | 21 #define MAX_ORDER_NR_PAGES (1 << MAX_ORDER) macro
|
/linux-6.6.21/kernel/dma/ |
D | pool.c | 197 pages = min_t(unsigned long, pages, MAX_ORDER_NR_PAGES); in dma_atomic_pool_init()
|
/linux-6.6.21/mm/kfence/ |
D | core.c | 928 if (nr_pages_pool > MAX_ORDER_NR_PAGES || in kfence_init_late() 929 nr_pages_meta > MAX_ORDER_NR_PAGES) { in kfence_init_late()
|
/linux-6.6.21/include/linux/ |
D | mmzone.h | 33 #define MAX_ORDER_NR_PAGES (1 << MAX_ORDER) macro 35 #define IS_MAX_ORDER_ALIGNED(pfn) IS_ALIGNED(pfn, MAX_ORDER_NR_PAGES)
|
/linux-6.6.21/drivers/md/bcache/ |
D | bcache.h | 774 MAX_ORDER_NR_PAGES); in meta_bucket_pages()
|
/linux-6.6.21/fs/proc/ |
D | kcore.c | 492 if (page_offline_frozen++ % MAX_ORDER_NR_PAGES == 0) { in read_kcore_iter()
|
/linux-6.6.21/drivers/nvme/host/ |
D | pci.c | 2001 u64 min_chunk = min_t(u64, preferred, PAGE_SIZE * MAX_ORDER_NR_PAGES); in nvme_alloc_host_mem()
|