Home
last modified time | relevance | path

Searched refs:num_physpages (Results 1 – 25 of 48) sorted by relevance

12

/linux-3.4.99/arch/m32r/mm/
Dinit.c143 num_physpages = 0; in mem_init()
145 num_physpages += MAX_LOW_PFN(nid) - START_PFN(nid) + 1; in mem_init()
147 num_physpages -= hole_pages; in mem_init()
150 max_mapnr = num_physpages; in mem_init()
174 num_physpages << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/arch/frv/mm/
Dinit.c81 if (num_physpages - num_mappedpages) { in paging_init()
99 zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages; in paging_init()
134 for (pfn = num_physpages - 1; pfn >= num_mappedpages; pfn--) { in mem_init()
/linux-3.4.99/arch/x86/mm/
Dnuma_32.c86 num_physpages = highend_pfn; in initmem_init()
89 num_physpages = max_low_pfn; in initmem_init()
Dinit_32.c648 num_physpages = highend_pfn; in initmem_init()
651 num_physpages = max_low_pfn; in initmem_init()
659 max_mapnr = num_physpages; in initmem_init()
769 num_physpages << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/arch/mips/sgi-ip27/
Dip27-memory.c360 num_physpages = 0; in szmem()
384 num_physpages += slot_psize; in szmem()
485 high_memory = (void *) __va(num_physpages << PAGE_SHIFT); in mem_init()
504 num_physpages << (PAGE_SHIFT-10), in mem_init()
506 (num_physpages - tmp) << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/arch/mn10300/mm/
Dinit.c110 max_mapnr = num_physpages = MAX_LOW_PFN - START_PFN; in mem_init()
120 for (tmp = 0; tmp < num_physpages; tmp++) in mem_init()
/linux-3.4.99/arch/blackfin/mm/
Dinit.c105 max_mapnr = num_physpages = MAP_NR(high_memory); in mem_init()
106 printk(KERN_DEBUG "Kernel managed physical pages: %lu\n", num_physpages); in mem_init()
/linux-3.4.99/arch/unicore32/mm/
Dinit.c442 num_physpages = 0; in mem_init()
446 num_physpages += pages; in mem_init()
449 printk(" = %luMB total\n", num_physpages >> (20 - PAGE_SHIFT)); in mem_init()
485 if (PAGE_SIZE >= 16384 && num_physpages <= 128) { in mem_init()
/linux-3.4.99/arch/m68k/mm/
Dinit_mm.c119 totalram_pages = num_physpages = 0; in mem_init()
121 num_physpages += pgdat->node_present_pages; in mem_init()
Dinit_no.c88 max_mapnr = num_physpages = (((unsigned long) high_memory) - PAGE_OFFSET) >> PAGE_SHIFT; in mem_init()
/linux-3.4.99/arch/sparc/mm/
Dinit_32.c446 num_physpages += sp_banks[i].num_bytes >> PAGE_SHIFT; in mem_init()
474 num_physpages << (PAGE_SHIFT - 10), in mem_init()
499 num_physpages++; in free_initmem()
521 num_physpages++; in free_initrd_mem()
/linux-3.4.99/arch/sparc/kernel/
Dleon_smp.c283 num_physpages++; in leon_smp_done()
290 num_physpages++; in leon_smp_done()
297 num_physpages++; in leon_smp_done()
/linux-3.4.99/arch/m32r/include/asm/
Dmmzone.h29 #define pfn_valid(pfn) ((pfn) < num_physpages)
/linux-3.4.99/arch/parisc/mm/
Dinit.c205 num_physpages = 0; in setup_bootmem()
220 num_physpages += pmem_ranges[i].pages; in setup_bootmem()
223 num_physpages += pmem_ranges[i].pages; in setup_bootmem()
528 num_physpages++; in free_initmem()
646 num_physpages << (PAGE_SHIFT-10), in mem_init()
1107 num_physpages++; in free_initrd_mem()
/linux-3.4.99/arch/frv/kernel/
Dsetup.c896 max_mapnr = num_physpages = (memory_end - memory_start) >> PAGE_SHIFT; in setup_linux_memory()
900 if (num_physpages > low_top_pfn) { in setup_linux_memory()
902 high_mem = num_physpages - low_top_pfn; in setup_linux_memory()
904 max_mapnr = num_physpages = low_top_pfn; in setup_linux_memory()
908 low_top_pfn = num_physpages; in setup_linux_memory()
982 max_mapnr = num_physpages = ((unsigned long) high_memory - PAGE_OFFSET) >> PAGE_SHIFT; in setup_uclinux_memory()
/linux-3.4.99/arch/cris/mm/
Dinit.c35 max_mapnr = num_physpages = max_low_pfn - min_low_pfn; in mem_init()
/linux-3.4.99/arch/tile/kernel/
Dsetup.c370 if (num_physpages + PFN_DOWN(range.size) > maxmem_pfn) { in setup_memory()
371 int max_size = maxmem_pfn - num_physpages; in setup_memory()
428 num_physpages += size; in setup_memory()
447 if (num_physpages > cap) { in setup_memory()
458 num_physpages -= dropped_pages; in setup_memory()
461 num_physpages >> (20 - PAGE_SHIFT), in setup_memory()
479 highmem_pages = (long) (num_physpages - lowmem_pages); in setup_memory()
496 num_physpages = MAXMEM_PFN; in setup_memory()
/linux-3.4.99/arch/arm/mm/
Dinit.c633 num_physpages = 0; in mem_init()
637 num_physpages += pages; in mem_init()
640 printk(" = %luMB total\n", num_physpages >> (20 - PAGE_SHIFT)); in mem_init()
712 if (PAGE_SIZE >= 16384 && num_physpages <= 128) { in mem_init()
/linux-3.4.99/arch/sh/mm/
Dinit.c415 num_physpages = 0; in mem_init()
423 num_physpages += pgdat->node_present_pages; in mem_init()
453 num_physpages << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/arch/ia64/mm/
Ddiscontig.c40 unsigned long num_physpages; member
735 mem_data[node].num_physpages += len >> PAGE_SHIFT; in count_node_pages()
781 num_physpages += mem_data[node].num_physpages; in paging_init()
Dcontig.c316 num_physpages = 0; in paging_init()
317 efi_memmap_walk(count_pages, &num_physpages); in paging_init()
/linux-3.4.99/arch/score/mm/
Dinit.c97 num_physpages = ram; in mem_init()
/linux-3.4.99/net/ipv4/
Dinet_fragment.c64 f->rnd = (u32) ((num_physpages ^ (num_physpages>>7)) ^ in inet_frags_init()
/linux-3.4.99/arch/alpha/mm/
Dnuma.c131 num_physpages += node_max_pfn - node_min_pfn; in setup_memory_node()
354 num_physpages << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/arch/h8300/mm/
Dinit.c140 max_mapnr = num_physpages = MAP_NR(high_memory); in mem_init()

12