/linux-3.4.99/arch/m32r/mm/ |
D | init.c | 143 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/ |
D | init.c | 81 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/ |
D | numa_32.c | 86 num_physpages = highend_pfn; in initmem_init() 89 num_physpages = max_low_pfn; in initmem_init()
|
D | init_32.c | 648 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/ |
D | ip27-memory.c | 360 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/ |
D | init.c | 110 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/ |
D | init.c | 105 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/ |
D | init.c | 442 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/ |
D | init_mm.c | 119 totalram_pages = num_physpages = 0; in mem_init() 121 num_physpages += pgdat->node_present_pages; in mem_init()
|
D | init_no.c | 88 max_mapnr = num_physpages = (((unsigned long) high_memory) - PAGE_OFFSET) >> PAGE_SHIFT; in mem_init()
|
/linux-3.4.99/arch/sparc/mm/ |
D | init_32.c | 446 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/ |
D | leon_smp.c | 283 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/ |
D | mmzone.h | 29 #define pfn_valid(pfn) ((pfn) < num_physpages)
|
/linux-3.4.99/arch/parisc/mm/ |
D | init.c | 205 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/ |
D | setup.c | 896 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/ |
D | init.c | 35 max_mapnr = num_physpages = max_low_pfn - min_low_pfn; in mem_init()
|
/linux-3.4.99/arch/tile/kernel/ |
D | setup.c | 370 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/ |
D | init.c | 633 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/ |
D | init.c | 415 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/ |
D | discontig.c | 40 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()
|
D | contig.c | 316 num_physpages = 0; in paging_init() 317 efi_memmap_walk(count_pages, &num_physpages); in paging_init()
|
/linux-3.4.99/arch/score/mm/ |
D | init.c | 97 num_physpages = ram; in mem_init()
|
/linux-3.4.99/net/ipv4/ |
D | inet_fragment.c | 64 f->rnd = (u32) ((num_physpages ^ (num_physpages>>7)) ^ in inet_frags_init()
|
/linux-3.4.99/arch/alpha/mm/ |
D | numa.c | 131 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/ |
D | init.c | 140 max_mapnr = num_physpages = MAP_NR(high_memory); in mem_init()
|