Home
last modified time | relevance | path

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

/linux-6.6.21/scripts/gdb/linux/
Dpage_owner.py151 … 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)
Dmm.py64 self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_ORDER - 1)
/linux-6.6.21/mm/
Dpage_ext.c172 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()
Dpage_owner.c298 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()
Ddebug.c70 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page()
Dmm_init.c441 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()
Dpage_isolation.c329 start_pfn = max(ALIGN_DOWN(isolate_pageblock, MAX_ORDER_NR_PAGES), in isolate_single_pageblock()
Dpage_alloc.c6623 __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()
Dmemory.c6015 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/
Dhmcdrv_cache.h15 #define HMCDRV_CACHE_SIZE_DFLT (MAX_ORDER_NR_PAGES * PAGE_SIZE / 2UL)
/linux-6.6.21/tools/testing/memblock/linux/
Dmmzone.h21 #define MAX_ORDER_NR_PAGES (1 << MAX_ORDER) macro
/linux-6.6.21/kernel/dma/
Dpool.c197 pages = min_t(unsigned long, pages, MAX_ORDER_NR_PAGES); in dma_atomic_pool_init()
/linux-6.6.21/mm/kfence/
Dcore.c928 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/
Dmmzone.h33 #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/
Dbcache.h774 MAX_ORDER_NR_PAGES); in meta_bucket_pages()
/linux-6.6.21/fs/proc/
Dkcore.c492 if (page_offline_frozen++ % MAX_ORDER_NR_PAGES == 0) { in read_kcore_iter()
/linux-6.6.21/drivers/nvme/host/
Dpci.c2001 u64 min_chunk = min_t(u64, preferred, PAGE_SIZE * MAX_ORDER_NR_PAGES); in nvme_alloc_host_mem()