Home
last modified time | relevance | path

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

/linux-6.12.1/include/asm-generic/
Dmemory_model.h26 extern unsigned long max_mapnr; in pfn_valid()
29 return pfn >= pfn_offset && (pfn - pfn_offset) < max_mapnr; in pfn_valid()
/linux-6.12.1/arch/microblaze/mm/
Dinit.c113 max_mapnr = memory_size >> PAGE_SHIFT; in setup_memory()
117 pr_info("%s: max_mapnr: %#lx\n", __func__, max_mapnr); in setup_memory()
/linux-6.12.1/arch/mips/mm/
Dinit.c427 max_mapnr = max_low_pfn; in paging_init()
429 max_mapnr = highend_pfn; in paging_init()
431 max_mapnr = max_low_pfn; in paging_init()
434 max_mapnr = max_low_pfn; in paging_init()
/linux-6.12.1/arch/nios2/kernel/
Dsetup.c159 max_mapnr = max_low_pfn; in setup_arch()
/linux-6.12.1/arch/nios2/mm/
Dinit.c54 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init()
/linux-6.12.1/arch/arc/mm/
Dinit.c160 max_mapnr = max_low_pfn - min_low_pfn; in setup_arch_memory()
/linux-6.12.1/arch/sparc/include/asm/
Dpage_32.h133 #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr)
/linux-6.12.1/arch/openrisc/mm/
Dinit.c196 max_mapnr = max_low_pfn; in mem_init()
/linux-6.12.1/arch/xtensa/mm/
Dinit.c117 max_mapnr = max_pfn - ARCH_PFN_OFFSET; in mem_init()
/linux-6.12.1/arch/um/kernel/
Dphysmem.c39 max_mapnr = total_pages; in mem_total_pages()
/linux-6.12.1/arch/loongarch/mm/
Dinit.c81 max_mapnr = max_low_pfn; in mem_init()
/linux-6.12.1/arch/sparc/mm/
Dinit_32.c278 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
/linux-6.12.1/arch/powerpc/mm/
Dmem.c305 for (pfn = highmem_mapnr; pfn < max_mapnr; ++pfn) { in mem_init()
/linux-6.12.1/mm/
Dnommu.c48 unsigned long max_mapnr; variable
49 EXPORT_SYMBOL(max_mapnr);
Dmemory.c100 unsigned long max_mapnr; variable
101 EXPORT_SYMBOL(max_mapnr);
/linux-6.12.1/arch/x86/mm/
Dinit_32.c654 max_mapnr = IS_ENABLED(CONFIG_HIGHMEM) ? highend_pfn : max_low_pfn; in initmem_init()
/linux-6.12.1/include/linux/
Dmm.h48 extern unsigned long max_mapnr;
52 max_mapnr = limit; in set_max_mapnr()