/linux-4.4.14/arch/um/kernel/ |
D | physmem.c | 30 unsigned long iomem_pages, total_pages; in mem_total_pages() local 36 total_pages = phys_pages + iomem_pages + highmem_pages; in mem_total_pages() 38 max_mapnr = total_pages; in mem_total_pages()
|
/linux-4.4.14/drivers/base/ |
D | dma-contiguous.c | 76 unsigned long total_pages = 0; in cma_early_percent_memory() local 83 total_pages += memblock_region_memory_end_pfn(reg) - in cma_early_percent_memory() 86 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; in cma_early_percent_memory()
|
/linux-4.4.14/mm/ |
D | frontswap.c | 430 unsigned long total_pages = 0, total_pages_to_unuse; in __frontswap_shrink() local 434 total_pages = __frontswap_curr_pages(); in __frontswap_shrink() 435 if (total_pages <= target_pages) { in __frontswap_shrink() 440 total_pages_to_unuse = total_pages - target_pages; in __frontswap_shrink()
|
D | bootmem.c | 276 unsigned long total_pages = 0; in free_all_bootmem() local 282 total_pages += free_all_bootmem_core(bdata); in free_all_bootmem() 284 totalram_pages += total_pages; in free_all_bootmem() 286 return total_pages; in free_all_bootmem()
|
D | zsmalloc.c | 507 unsigned long total_objs = 0, total_used_objs = 0, total_pages = 0; in zs_stats_size_show() local 541 total_pages += pages_used; in zs_stats_size_show() 548 total_used_objs, total_pages); in zs_stats_size_show()
|
D | mempolicy.c | 2590 unsigned long total_pages = node_present_pages(nid); in numa_policy_init() local 2593 if (largest < total_pages) { in numa_policy_init() 2594 largest = total_pages; in numa_policy_init() 2599 if ((total_pages << PAGE_SHIFT) >= (16 << 20)) in numa_policy_init()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | pci-dma.c | 345 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()
|
/linux-4.4.14/arch/metag/mm/ |
D | init.c | 141 unsigned long total_pages, paddr; in bootmem_init_one_node() local 157 total_pages = bootmem_bootmap_pages(end_pfn - p->node_start_pfn); in bootmem_init_one_node() 159 paddr = memblock_alloc(total_pages << PAGE_SHIFT, PAGE_SIZE); in bootmem_init_one_node()
|
/linux-4.4.14/include/xen/ |
D | balloon.h | 15 unsigned long total_pages; member
|
/linux-4.4.14/drivers/xen/ |
D | balloon.c | 311 - balloon_stats.total_pages; in reserve_additional_memory() 363 balloon_stats.total_pages += balloon_hotplug; in reserve_additional_memory() 728 balloon_stats.total_pages += extra_pfn_end - start_pfn; in balloon_add_region() 746 balloon_stats.total_pages = balloon_stats.current_pages; in balloon_init()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | cmm.c | 260 signed long total_pages = totalram_pages + loaned_pages; in cmm_get_mpp() local 271 if (target < 0 || total_pages < min_mem_pages) in cmm_get_mpp() 279 active_pages_target = total_pages - target; in cmm_get_mpp() 282 target = total_pages - min_mem_pages; in cmm_get_mpp()
|
/linux-4.4.14/arch/sh/mm/ |
D | init.c | 224 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()
|
/linux-4.4.14/drivers/parisc/ |
D | ccio-dma.c | 1025 unsigned int total_pages = ioc->res_size << 3; in ccio_proc_info() local 1037 total_pages * 8, total_pages); in ccio_proc_info() 1041 total_pages - ioc->used_pages, ioc->used_pages, in ccio_proc_info() 1042 (int)(ioc->used_pages * 100 / total_pages)); in ccio_proc_info() 1046 ioc->res_size, total_pages); in ccio_proc_info()
|
D | sba_iommu.c | 1772 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */ in sba_proc_info() local 1784 total_pages); in sba_proc_info() 1803 total_pages - ioc->used_pages, ioc->used_pages, in sba_proc_info() 1804 (int)(ioc->used_pages * 100 / total_pages)); in sba_proc_info()
|
/linux-4.4.14/drivers/lightnvm/ |
D | gennvm.c | 101 sector_t max_pages = dev->total_pages * (dev->sec_size >> 9); in gennvm_block_map() 108 if (unlikely(elba > dev->total_pages)) { in gennvm_block_map() 198 ret = dev->ops->get_l2p_tbl(dev, 0, dev->total_pages, in gennvm_blocks_init()
|
D | rrpc.c | 959 sector_t max_pages = dev->total_pages * (dev->sec_size >> 9); in rrpc_l2p_update() 963 if (unlikely(elba > dev->total_pages)) { in rrpc_l2p_update() 1019 ret = dev->ops->get_l2p_tbl(dev, 0, dev->total_pages, in rrpc_map_init()
|
D | core.c | 239 dev->total_pages = dev->total_blocks * dev->pgs_per_blk; in nvm_core_init()
|
/linux-4.4.14/tools/vm/ |
D | page-types.c | 201 static unsigned long total_pages; variable 410 total_pages, pages2mb(total_pages)); in show_summary() 588 total_pages++; in add_page()
|
/linux-4.4.14/drivers/edac/ |
D | edac_mc_sysfs.c | 770 int total_pages = 0, csrow_idx, j; in mci_size_mb_show() local 778 total_pages += dimm->nr_pages; in mci_size_mb_show() 782 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | tracefile.c | 945 int total_pages = 0; in cfs_trace_get_debug_mb() local 950 total_pages += tcd->tcd_max_pages; in cfs_trace_get_debug_mb() 954 return (total_pages >> (20 - PAGE_CACHE_SHIFT)) + 1; in cfs_trace_get_debug_mb()
|
/linux-4.4.14/include/linux/ |
D | lightnvm.h | 271 unsigned long total_pages; member
|
/linux-4.4.14/drivers/scsi/ |
D | mvumi.h | 427 u8 total_pages; member
|
D | mvumi.c | 1163 ((struct mvumi_hs_page1 *) hs_header)->total_pages; in mvumi_handshake()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2652 int total_pages; in qp_get_mtt_size() local 2659 total_pages = in qp_get_mtt_size() 2663 return total_pages; in qp_get_mtt_size()
|