Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/mm/
Dinit_32.c636 max_low_pfn = MAXMEM_PFN; in highmem_pfn_init()
639 highmem_pages = max_pfn - MAXMEM_PFN; in highmem_pfn_init()
641 if (highmem_pages + MAXMEM_PFN < max_pfn) in highmem_pfn_init()
642 max_pfn = MAXMEM_PFN + highmem_pages; in highmem_pfn_init()
644 if (highmem_pages + MAXMEM_PFN > max_pfn) { in highmem_pfn_init()
646 pages_to_mb(max_pfn - MAXMEM_PFN), in highmem_pfn_init()
657 max_pfn = MAXMEM_PFN; in highmem_pfn_init()
675 if (max_pfn <= MAXMEM_PFN) in find_low_pfn_range()
/Linux-v4.19/arch/nds32/kernel/
Dsetup.c253 if (max_pfn - ram_start_pfn <= MAXMEM_PFN) in setup_memory()
256 max_low_pfn = MAXMEM_PFN + ram_start_pfn; in setup_memory()
258 max_pfn = MAXMEM_PFN + ram_start_pfn; in setup_memory()
/Linux-v4.19/arch/x86/include/asm/
Dsetup.h18 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro
/Linux-v4.19/arch/nds32/include/asm/
Dpgtable.h77 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro