Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/nios2/include/asm/
Dpage.h92 extern unsigned long max_mapnr; in pfn_valid()
95 return pfn >= pfn_offset && pfn < max_mapnr; in pfn_valid()
/linux-6.1.9/arch/loongarch/include/asm/
Dpage.h90 extern unsigned long max_mapnr; in pfn_valid()
93 return pfn >= pfn_offset && pfn < max_mapnr; in pfn_valid()
/linux-6.1.9/arch/sparc/include/asm/
Dpage_32.h133 #define pfn_valid(pfn) (((pfn) >= (pfn_base)) && (((pfn)-(pfn_base)) < max_mapnr))
134 #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr)
/linux-6.1.9/arch/powerpc/include/asm/
Dpage.h121 extern unsigned long max_mapnr;
126 return pfn >= min_pfn && pfn < max_mapnr; in pfn_valid()
/linux-6.1.9/arch/mips/include/asm/
Dpage.h232 extern unsigned long max_mapnr; in pfn_valid()
235 return pfn >= pfn_offset && pfn < max_mapnr; in pfn_valid()
/linux-6.1.9/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.1.9/arch/x86/include/asm/
Dpage_32.h19 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/m68k/include/asm/
Dpage_no.h31 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/openrisc/include/asm/
Dpage.h83 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/nios2/kernel/
Dsetup.c164 max_mapnr = max_low_pfn; in setup_arch()
/linux-6.1.9/include/asm-generic/
Dpage.h87 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/linux-6.1.9/arch/alpha/include/asm/
Dpage.h91 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/arc/include/asm/
Dpage.h112 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/linux-6.1.9/arch/hexagon/include/asm/
Dpage.h98 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/nios2/mm/
Dinit.c53 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init()
/linux-6.1.9/arch/csky/include/asm/
Dpage.h42 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/linux-6.1.9/arch/microblaze/include/asm/
Dpage.h115 # define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && (pfn) < (max_mapnr + ARCH_PFN_OFFSET))
/linux-6.1.9/arch/arc/mm/
Dinit.c164 max_mapnr = max_low_pfn - min_low_pfn; in setup_arch_memory()
/linux-6.1.9/arch/um/include/asm/
Dpage.h111 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/openrisc/mm/
Dinit.c198 max_mapnr = max_low_pfn; in mem_init()
/linux-6.1.9/arch/xtensa/include/asm/
Dpage.h193 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/linux-6.1.9/arch/parisc/include/asm/
Dpage.h159 #define pfn_valid(pfn) ((pfn) < max_mapnr)
/linux-6.1.9/arch/xtensa/mm/
Dinit.c117 max_mapnr = max_pfn - ARCH_PFN_OFFSET; in mem_init()
/linux-6.1.9/arch/um/kernel/
Dphysmem.c38 max_mapnr = total_pages; in mem_total_pages()
/linux-6.1.9/arch/mips/mm/
Dinit.c457 max_mapnr = highend_pfn ? highend_pfn : max_low_pfn; in mem_init()
459 max_mapnr = max_low_pfn; in mem_init()

12