/mm/ |
D | mapping_dirty_helpers.c | 20 unsigned long total; member 44 wpwalk->total++; in wp_pte() 103 wpwalk->total++; in clean_record_pte() 281 struct wp_walk wpwalk = { .total = 0 }; in wp_shared_mapping_range() 288 return wpwalk.total; in wp_shared_mapping_range() 336 .base = { .total = 0 }, in clean_record_shared_mapping_range() 351 return cwalk.base.total; in clean_record_shared_mapping_range()
|
D | zbud.c | 571 unsigned int total = 0; in zbud_zpool_shrink() local 574 while (total < pages) { in zbud_zpool_shrink() 578 total++; in zbud_zpool_shrink() 582 *reclaimed = total; in zbud_zpool_shrink()
|
D | nommu.c | 975 unsigned long total, point; in do_mmap_private() local 1005 total = 1 << order; in do_mmap_private() 1009 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) in do_mmap_private() 1010 total = point; in do_mmap_private() 1012 base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); in do_mmap_private() 1016 atomic_long_add(total, &mmap_pages_allocated); in do_mmap_private() 1021 region->vm_top = region->vm_start + (total << PAGE_SHIFT); in do_mmap_private()
|
D | frontswap.c | 386 static int __frontswap_unuse_pages(unsigned long total, unsigned long *unused, in __frontswap_unuse_pages() argument 392 unsigned long total_pages_to_unuse = total; in __frontswap_unuse_pages()
|
D | huge_memory.c | 2905 unsigned long total = 0, split = 0; in split_huge_pages_all() local 2925 total++; in split_huge_pages_all() 2938 pr_debug("%lu of %lu THP split\n", split, total); in split_huge_pages_all() 2953 unsigned long total = 0, split = 0; in split_huge_pages_pid() local 3013 total++; in split_huge_pages_pid() 3031 pr_debug("%lu of %lu THP split\n", split, total); in split_huge_pages_pid() 3046 unsigned long total = 0, split = 0; in split_huge_pages_in_file() local 3072 total++; in split_huge_pages_in_file() 3090 pr_debug("%lu of %lu file-backed THP split\n", split, total); in split_huge_pages_in_file()
|
D | vmscan.c | 3393 unsigned long total; member 3405 pos->total = lrugen->avg_total[type][tier] + in read_ctrl_pos() 3408 pos->total += lrugen->protected[hist][type][tier - 1]; in read_ctrl_pos() 3457 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <= in positive_ctrl_err() 3458 (sp->refaulted + 1) * pv->total * pv->gain; in positive_ctrl_err() 3691 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument 3696 return young * n >= total; in suitable_to_scan() 3706 int total = 0; in walk_pte_range() local 3727 total++; in walk_pte_range() 3767 return suitable_to_scan(total, young); in walk_pte_range() [all …]
|
D | zswap.c | 247 u64 total = 0; in zswap_update_total_size() local 252 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size() 256 zswap_pool_total_size = total; in zswap_update_total_size()
|
D | z3fold.c | 1745 unsigned int total = 0; in z3fold_zpool_shrink() local 1748 while (total < pages) { in z3fold_zpool_shrink() 1752 total++; in z3fold_zpool_shrink() 1756 *reclaimed = total; in z3fold_zpool_shrink()
|
D | slub.c | 5250 unsigned long total = 0; in show_slab_objects() local 5281 total += x; in show_slab_objects() 5293 total += x; in show_slab_objects() 5323 total += x; in show_slab_objects() 5339 total += x; in show_slab_objects() 5344 len += sysfs_emit_at(buf, len, "%lu", total); in show_slab_objects()
|
D | page-writeback.c | 298 static unsigned long highmem_dirtyable_memory(unsigned long total) in highmem_dirtyable_memory() argument 344 return min(x, total); in highmem_dirtyable_memory()
|
D | memcontrol.c | 1691 int total = 0; in mem_cgroup_soft_reclaim() local 1711 if (!total) in mem_cgroup_soft_reclaim() 1719 if (total >= (excess >> 2) || in mem_cgroup_soft_reclaim() 1725 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim() 1732 return total; in mem_cgroup_soft_reclaim()
|
D | hugetlb.c | 3990 unsigned long total = 0; in hugetlb_report_meminfo() local 3998 total += huge_page_size(h) * count; in hugetlb_report_meminfo() 4014 seq_printf(m, "Hugetlb: %8lu kB\n", total / SZ_1K); in hugetlb_report_meminfo()
|
D | page_alloc.c | 6445 unsigned long nr[MAX_ORDER], flags, total = 0; in show_free_areas() local 6459 total += nr[order] << order; in show_free_areas() 6474 printk(KERN_CONT "= %lukB\n", K(total)); in show_free_areas()
|