Home
last modified time | relevance | path

Searched refs:MAXMEM_PFN (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_32.c622 max_low_pfn = MAXMEM_PFN; in highmem_pfn_init()
625 highmem_pages = max_pfn - MAXMEM_PFN; in highmem_pfn_init()
627 if (highmem_pages + MAXMEM_PFN < max_pfn) in highmem_pfn_init()
628 max_pfn = MAXMEM_PFN + highmem_pages; in highmem_pfn_init()
630 if (highmem_pages + MAXMEM_PFN > max_pfn) { in highmem_pfn_init()
632 pages_to_mb(max_pfn - MAXMEM_PFN), in highmem_pfn_init()
643 max_pfn = MAXMEM_PFN; in highmem_pfn_init()
661 if (max_pfn <= MAXMEM_PFN) in find_low_pfn_range()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dsetup.c264 if (max_pfn - ram_start_pfn <= MAXMEM_PFN) in setup_memory()
267 max_low_pfn = MAXMEM_PFN + ram_start_pfn; in setup_memory()
269 max_pfn = MAXMEM_PFN + ram_start_pfn; in setup_memory()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsetup.h18 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpgtable.h69 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro