Home
last modified time | relevance | path

Searched refs:highmem_pages (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/x86/mm/
Dinit_32.c540 static unsigned int highmem_pages = -1; variable
552 highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; in parse_highmem()
572 if (highmem_pages == -1) in lowmem_pfn_init()
573 highmem_pages = 0; in lowmem_pfn_init()
575 if (highmem_pages >= max_pfn) { in lowmem_pfn_init()
577 pages_to_mb(highmem_pages), pages_to_mb(max_pfn)); in lowmem_pfn_init()
578 highmem_pages = 0; in lowmem_pfn_init()
580 if (highmem_pages) { in lowmem_pfn_init()
581 if (max_low_pfn - highmem_pages < 64*1024*1024/PAGE_SIZE) { in lowmem_pfn_init()
583 pages_to_mb(highmem_pages)); in lowmem_pfn_init()
[all …]
/linux-6.1.9/arch/um/kernel/
Dphysmem.c29 unsigned long phys_pages, highmem_pages; in mem_total_pages() local
34 highmem_pages = highmem >> PAGE_SHIFT; in mem_total_pages()
36 total_pages = phys_pages + iomem_pages + highmem_pages; in mem_total_pages()