Home
last modified time | relevance | path

Searched refs:total_pages (Results 1 – 6 of 6) sorted by relevance

/arch/um/kernel/
Dphysmem.c30 unsigned long iomem_len, iomem_pages, total_len, total_pages; in init_maps() local
42 total_pages = phys_pages + iomem_pages + highmem_pages; in init_maps()
49 for (i = 0; i < total_pages; i++) { in init_maps()
56 max_mapnr = total_pages; in init_maps()
/arch/powerpc/mm/
Dmem.c186 unsigned long total_pages; in do_init_bootmem() local
191 total_pages = (memblock_end_of_DRAM() - memstart_addr) >> PAGE_SHIFT; in do_init_bootmem()
193 total_pages = total_lowmem >> PAGE_SHIFT; in do_init_bootmem()
202 bootmap_pages = bootmem_bootmap_pages(total_pages); in do_init_bootmem()
/arch/parisc/kernel/
Dpci-dma.c345 unsigned long total_pages = pcxl_res_size << 3; /* 8 bits per byte */ in proc_pcxl_dma_show() local
348 PCXL_DMA_MAP_SIZE, total_pages); in proc_pcxl_dma_show()
357 seq_printf(m, "pages %8ld %8ld %8ld %8ld%%\n", total_pages, in proc_pcxl_dma_show()
358 total_pages - pcxl_used_pages, pcxl_used_pages, in proc_pcxl_dma_show()
359 (pcxl_used_pages * 100 / total_pages)); in proc_pcxl_dma_show()
/arch/metag/mm/
Dinit.c142 unsigned long total_pages, paddr; in bootmem_init_one_node() local
158 total_pages = bootmem_bootmap_pages(end_pfn - p->node_start_pfn); in bootmem_init_one_node()
160 paddr = memblock_alloc(total_pages << PAGE_SHIFT, PAGE_SIZE); in bootmem_init_one_node()
/arch/powerpc/platforms/pseries/
Dcmm.c262 signed long total_pages = totalram_pages + loaned_pages; in cmm_get_mpp() local
273 if (target < 0 || total_pages < min_mem_pages) in cmm_get_mpp()
281 active_pages_target = total_pages - target; in cmm_get_mpp()
284 target = total_pages - min_mem_pages; in cmm_get_mpp()
/arch/sh/mm/
Dinit.c224 unsigned long total_pages, paddr; in bootmem_init_one_node() local
236 total_pages = bootmem_bootmap_pages(p->node_spanned_pages); in bootmem_init_one_node()
238 paddr = memblock_alloc(total_pages << PAGE_SHIFT, PAGE_SIZE); in bootmem_init_one_node()