/Linux-v5.15/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-v5.15/arch/parisc/kernel/ |
D | pci-dma.c | 344 unsigned long total_pages = pcxl_res_size << 3; /* 8 bits per byte */ in proc_pcxl_dma_show() local 347 PCXL_DMA_MAP_SIZE, total_pages); in proc_pcxl_dma_show() 356 seq_printf(m, "pages %8ld %8ld %8ld %8ld%%\n", total_pages, in proc_pcxl_dma_show() 357 total_pages - pcxl_used_pages, pcxl_used_pages, in proc_pcxl_dma_show() 358 (pcxl_used_pages * 100 / total_pages)); in proc_pcxl_dma_show()
|
/Linux-v5.15/mm/ |
D | frontswap.c | 428 unsigned long total_pages = 0, total_pages_to_unuse; in __frontswap_shrink() local 432 total_pages = __frontswap_curr_pages(); in __frontswap_shrink() 433 if (total_pages <= target_pages) { in __frontswap_shrink() 438 total_pages_to_unuse = total_pages - target_pages; in __frontswap_shrink()
|
D | mempolicy.c | 2743 unsigned long total_pages = node_present_pages(nid); in numa_policy_init() local 2746 if (largest < total_pages) { in numa_policy_init() 2747 largest = total_pages; in numa_policy_init() 2752 if ((total_pages << PAGE_SHIFT) >= (16 << 20)) in numa_policy_init()
|
D | zsmalloc.c | 595 unsigned long total_objs = 0, total_used_objs = 0, total_pages = 0; in zs_stats_size_show() local 631 total_pages += pages_used; in zs_stats_size_show() 639 total_used_objs, total_pages, "", total_freeable); in zs_stats_size_show()
|
D | filemap.c | 291 int total_pages = 0; in page_cache_delete_batch() local 330 total_pages++; in page_cache_delete_batch() 332 mapping->nrpages -= total_pages; in page_cache_delete_batch()
|
D | page_alloc.c | 6815 unsigned long total_pages; in zone_highsize() local 6823 total_pages = low_wmark_pages(zone); in zone_highsize() 6830 total_pages = zone_managed_pages(zone) / percpu_pagelist_high_fraction; in zone_highsize() 6844 high = total_pages / nr_split_cpus; in zone_highsize()
|
/Linux-v5.15/drivers/xen/ |
D | balloon.c | 279 - balloon_stats.total_pages; in reserve_additional_memory() 343 balloon_stats.total_pages += balloon_hotplug; in reserve_additional_memory() 705 balloon_stats.total_pages += extra_pfn_end - start_pfn; in balloon_add_region() 728 balloon_stats.total_pages = balloon_stats.current_pages; in balloon_init()
|
/Linux-v5.15/include/xen/ |
D | balloon.h | 18 unsigned long total_pages; member
|
/Linux-v5.15/arch/powerpc/platforms/pseries/ |
D | cmm.c | 240 const long total_pages = totalram_pages() + __loaned_pages; in cmm_get_mpp() local 258 if (target < 0 || total_pages < min_mem_pages) in cmm_get_mpp() 266 active_pages_target = total_pages - target; in cmm_get_mpp() 269 target = total_pages - min_mem_pages; in cmm_get_mpp()
|
/Linux-v5.15/drivers/parisc/ |
D | ccio-dma.c | 1038 unsigned int total_pages = ioc->res_size << 3; in ccio_proc_info() local 1050 total_pages * 8, total_pages); in ccio_proc_info() 1054 total_pages - ioc->used_pages, ioc->used_pages, in ccio_proc_info() 1055 (int)(ioc->used_pages * 100 / total_pages)); in ccio_proc_info() 1059 ioc->res_size, total_pages); in ccio_proc_info()
|
D | sba_iommu.c | 1780 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */ in sba_proc_info() local 1792 total_pages); in sba_proc_info() 1811 total_pages - ioc->used_pages, ioc->used_pages, in sba_proc_info() 1812 (int)(ioc->used_pages * 100 / total_pages)); in sba_proc_info()
|
/Linux-v5.15/kernel/dma/ |
D | contiguous.c | 116 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); in cma_early_percent_memory() local 118 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; in cma_early_percent_memory()
|
/Linux-v5.15/tools/vm/ |
D | page-types.c | 202 static unsigned long total_pages; variable 448 total_pages, pages2mb(total_pages)); in show_summary() 659 total_pages++; in add_page() 723 total_pages++; in walk_swap()
|
/Linux-v5.15/kernel/ |
D | kexec_core.c | 153 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 > nr_pages / 2) in sanity_check_segment_list()
|
/Linux-v5.15/drivers/edac/ |
D | edac_mc_sysfs.c | 800 int total_pages = 0, csrow_idx, j; in mci_size_mb_show() local 808 total_pages += dimm->nr_pages; in mci_size_mb_show() 812 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
|
/Linux-v5.15/drivers/md/ |
D | raid5-cache.c | 1627 int total_pages; /* total allocated pages */ member 1642 ctx->total_pages = 0; in r5l_recovery_allocate_ra_pool() 1643 while (ctx->total_pages < R5L_RECOVERY_PAGE_POOL_SIZE) { in r5l_recovery_allocate_ra_pool() 1648 ctx->ra_pool[ctx->total_pages] = page; in r5l_recovery_allocate_ra_pool() 1649 ctx->total_pages += 1; in r5l_recovery_allocate_ra_pool() 1652 if (ctx->total_pages == 0) { in r5l_recovery_allocate_ra_pool() 1666 for (i = 0; i < ctx->total_pages; ++i) in r5l_recovery_free_ra_pool() 1689 while (ctx->valid_pages < ctx->total_pages) { in r5l_recovery_fetch_ra_pool()
|
/Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 254 int total_pages; in gvt_unpin_guest_page() local 258 total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; in gvt_unpin_guest_page() 260 for (npage = 0; npage < total_pages; npage++) { in gvt_unpin_guest_page() 274 int total_pages; in gvt_pin_guest_page() local 278 total_pages = roundup(size, PAGE_SIZE) / PAGE_SIZE; in gvt_pin_guest_page() 283 for (npage = 0; npage < total_pages; npage++) { in gvt_pin_guest_page()
|
/Linux-v5.15/drivers/scsi/ |
D | mvumi.h | 411 u8 total_pages; member
|
D | mvumi.c | 1137 ((struct mvumi_hs_page1 *) hs_header)->total_pages; in mvumi_handshake()
|
/Linux-v5.15/fs/ceph/ |
D | addr.c | 624 int num_pages, total_pages = 0; in writepages_finish() local 662 total_pages += num_pages; in writepages_finish() 693 ceph_put_wrbuffer_cap_refs(ci, total_pages, snapc); in writepages_finish()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2730 int total_pages; in qp_get_mtt_size() local 2739 total_pages = !tot ? 1 : roundup_pow_of_two(tot); in qp_get_mtt_size() 2741 return total_pages; in qp_get_mtt_size()
|