/Linux-v4.19/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-v4.19/kernel/dma/ |
D | contiguous.c | 72 unsigned long total_pages = 0; in cma_early_percent_memory() local 79 total_pages += memblock_region_memory_end_pfn(reg) - in cma_early_percent_memory() 82 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; in cma_early_percent_memory()
|
/Linux-v4.19/arch/parisc/kernel/ |
D | pci-dma.c | 340 unsigned long total_pages = pcxl_res_size << 3; /* 8 bits per byte */ in proc_pcxl_dma_show() local 343 PCXL_DMA_MAP_SIZE, total_pages); in proc_pcxl_dma_show() 352 seq_printf(m, "pages %8ld %8ld %8ld %8ld%%\n", total_pages, in proc_pcxl_dma_show() 353 total_pages - pcxl_used_pages, pcxl_used_pages, in proc_pcxl_dma_show() 354 (pcxl_used_pages * 100 / total_pages)); in proc_pcxl_dma_show()
|
/Linux-v4.19/mm/ |
D | frontswap.c | 425 unsigned long total_pages = 0, total_pages_to_unuse; in __frontswap_shrink() local 429 total_pages = __frontswap_curr_pages(); in __frontswap_shrink() 430 if (total_pages <= target_pages) { in __frontswap_shrink() 435 total_pages_to_unuse = total_pages - target_pages; in __frontswap_shrink()
|
D | bootmem.c | 309 unsigned long total_pages = 0; in free_all_bootmem() local 315 total_pages += free_all_bootmem_core(bdata); in free_all_bootmem() 317 totalram_pages += total_pages; in free_all_bootmem() 319 return total_pages; in free_all_bootmem()
|
D | mempolicy.c | 2640 unsigned long total_pages = node_present_pages(nid); in numa_policy_init() local 2643 if (largest < total_pages) { in numa_policy_init() 2644 largest = total_pages; in numa_policy_init() 2649 if ((total_pages << PAGE_SHIFT) >= (16 << 20)) in numa_policy_init()
|
D | zsmalloc.c | 598 unsigned long total_objs = 0, total_used_objs = 0, total_pages = 0; in zs_stats_size_show() local 634 total_pages += pages_used; in zs_stats_size_show() 642 total_used_objs, total_pages, "", total_freeable); in zs_stats_size_show()
|
D | filemap.c | 328 int total_pages = 0; in page_cache_tree_delete_batch() local 364 total_pages++; in page_cache_tree_delete_batch() 366 mapping->nrpages -= total_pages; in page_cache_tree_delete_batch()
|
/Linux-v4.19/drivers/xen/ |
D | balloon.c | 345 - balloon_stats.total_pages; in reserve_additional_memory() 406 balloon_stats.total_pages += balloon_hotplug; in reserve_additional_memory() 718 balloon_stats.total_pages += extra_pfn_end - start_pfn; in balloon_add_region() 739 balloon_stats.total_pages = balloon_stats.current_pages; in balloon_init()
|
/Linux-v4.19/include/xen/ |
D | balloon.h | 16 unsigned long total_pages; member
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | cmm.c | 294 signed long total_pages = totalram_pages + loaned_pages; in cmm_get_mpp() local 305 if (target < 0 || total_pages < min_mem_pages) in cmm_get_mpp() 313 active_pages_target = total_pages - target; in cmm_get_mpp() 316 target = total_pages - min_mem_pages; in cmm_get_mpp()
|
/Linux-v4.19/drivers/parisc/ |
D | ccio-dma.c | 1050 unsigned int total_pages = ioc->res_size << 3; in ccio_proc_info() local 1062 total_pages * 8, total_pages); in ccio_proc_info() 1066 total_pages - ioc->used_pages, ioc->used_pages, in ccio_proc_info() 1067 (int)(ioc->used_pages * 100 / total_pages)); in ccio_proc_info() 1071 ioc->res_size, total_pages); in ccio_proc_info()
|
D | sba_iommu.c | 1800 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */ in sba_proc_info() local 1812 total_pages); in sba_proc_info() 1831 total_pages - ioc->used_pages, ioc->used_pages, in sba_proc_info() 1832 (int)(ioc->used_pages * 100 / total_pages)); in sba_proc_info()
|
/Linux-v4.19/tools/vm/ |
D | page-types.c | 212 static unsigned long total_pages; variable 458 total_pages, pages2mb(total_pages)); in show_summary() 669 total_pages++; in add_page() 733 total_pages++; in walk_swap()
|
/Linux-v4.19/kernel/ |
D | kexec_core.c | 154 unsigned long total_pages = 0; in sanity_check_segment_list() local 223 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list() 226 if (total_pages > totalram_pages / 2) in sanity_check_segment_list()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 116 int total_pages; in gvt_unpin_guest_page() local 120 total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; in gvt_unpin_guest_page() 122 for (npage = 0; npage < total_pages; npage++) { in gvt_unpin_guest_page() 135 int total_pages; in gvt_pin_guest_page() local 139 total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; in gvt_pin_guest_page() 144 for (npage = 0; npage < total_pages; npage++) { in gvt_pin_guest_page()
|
/Linux-v4.19/drivers/md/ |
D | raid5-cache.c | 1638 int total_pages; /* total allocated pages */ member 1653 ctx->total_pages = 0; in r5l_recovery_allocate_ra_pool() 1654 while (ctx->total_pages < R5L_RECOVERY_PAGE_POOL_SIZE) { in r5l_recovery_allocate_ra_pool() 1659 ctx->ra_pool[ctx->total_pages] = page; in r5l_recovery_allocate_ra_pool() 1660 ctx->total_pages += 1; in r5l_recovery_allocate_ra_pool() 1663 if (ctx->total_pages == 0) { in r5l_recovery_allocate_ra_pool() 1677 for (i = 0; i < ctx->total_pages; ++i) in r5l_recovery_free_ra_pool() 1700 while (ctx->valid_pages < ctx->total_pages) { in r5l_recovery_fetch_ra_pool()
|
/Linux-v4.19/drivers/edac/ |
D | edac_mc_sysfs.c | 804 int total_pages = 0, csrow_idx, j; in mci_size_mb_show() local 812 total_pages += dimm->nr_pages; in mci_size_mb_show() 816 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
|
/Linux-v4.19/drivers/scsi/ |
D | mvumi.h | 427 u8 total_pages; member
|
D | mvumi.c | 1151 ((struct mvumi_hs_page1 *) hs_header)->total_pages; in mvumi_handshake()
|
/Linux-v4.19/fs/ceph/ |
D | addr.c | 711 int num_pages, total_pages = 0; in writepages_finish() local 745 total_pages += num_pages; in writepages_finish() 775 ceph_put_wrbuffer_cap_refs(ci, total_pages, snapc); in writepages_finish()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2719 int total_pages; in qp_get_mtt_size() local 2726 total_pages = in qp_get_mtt_size() 2730 return total_pages; in qp_get_mtt_size()
|