Home
last modified time | relevance | path

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

/arch/x86/mm/
Dinit_32.c544 static unsigned int highmem_pages = -1; variable
556 highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; in parse_highmem()
576 if (highmem_pages == -1) in lowmem_pfn_init()
577 highmem_pages = 0; in lowmem_pfn_init()
579 if (highmem_pages >= max_pfn) { in lowmem_pfn_init()
581 pages_to_mb(highmem_pages), pages_to_mb(max_pfn)); in lowmem_pfn_init()
582 highmem_pages = 0; in lowmem_pfn_init()
584 if (highmem_pages) { in lowmem_pfn_init()
585 if (max_low_pfn - highmem_pages < 64*1024*1024/PAGE_SIZE) { in lowmem_pfn_init()
587 pages_to_mb(highmem_pages)); in lowmem_pfn_init()
[all …]
/arch/um/kernel/
Dphysmem.c29 unsigned long phys_len, phys_pages, highmem_len, highmem_pages; in init_maps() local
39 highmem_pages = highmem >> PAGE_SHIFT; in init_maps()
40 highmem_len = highmem_pages * sizeof(struct page); in init_maps()
42 total_pages = phys_pages + iomem_pages + highmem_pages; in init_maps()
/arch/tile/kernel/
Dsetup.c324 long highmem_pages; in setup_memory() local
500 highmem_pages = (long) (num_physpages - lowmem_pages); in setup_memory()
503 pages_to_mb(highmem_pages > 0 ? highmem_pages : 0)); in setup_memory()