Home
last modified time | relevance | path

Searched refs:total (Results 1 – 12 of 12) sorted by relevance

/mm/
Dmapping_dirty_helpers.c20 unsigned long total; member
43 wpwalk->total++; in wp_pte()
101 wpwalk->total++; in clean_record_pte()
277 struct wp_walk wpwalk = { .total = 0 }; in wp_shared_mapping_range()
284 return wpwalk.total; in wp_shared_mapping_range()
332 .base = { .total = 0 }, in clean_record_shared_mapping_range()
347 return cwalk.base.total; in clean_record_shared_mapping_range()
Dzbud.c173 unsigned int total = 0; in zbud_zpool_shrink() local
176 while (total < pages) { in zbud_zpool_shrink()
180 total++; in zbud_zpool_shrink()
184 *reclaimed = total; in zbud_zpool_shrink()
Dnommu.c980 unsigned long total, point; in do_mmap_private() local
1010 total = 1 << order; in do_mmap_private()
1014 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) in do_mmap_private()
1015 total = point; in do_mmap_private()
1017 base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); in do_mmap_private()
1021 atomic_long_add(total, &mmap_pages_allocated); in do_mmap_private()
1026 region->vm_top = region->vm_start + (total << PAGE_SHIFT); in do_mmap_private()
Dfrontswap.c382 static int __frontswap_unuse_pages(unsigned long total, unsigned long *unused, in __frontswap_unuse_pages() argument
388 unsigned long total_pages_to_unuse = total; in __frontswap_unuse_pages()
Dzswap.c237 u64 total = 0; in zswap_update_total_size() local
242 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size()
246 zswap_pool_total_size = total; in zswap_update_total_size()
Dz3fold.c1760 unsigned int total = 0; in z3fold_zpool_shrink() local
1763 while (total < pages) { in z3fold_zpool_shrink()
1767 total++; in z3fold_zpool_shrink()
1771 *reclaimed = total; in z3fold_zpool_shrink()
Dslub.c4910 unsigned long total = 0; in show_slab_objects() local
4940 total += x; in show_slab_objects()
4952 total += x; in show_slab_objects()
4982 total += x; in show_slab_objects()
4998 total += x; in show_slab_objects()
5002 x = sprintf(buf, "%lu", total); in show_slab_objects()
Dpage-writeback.c307 static unsigned long highmem_dirtyable_memory(unsigned long total) in highmem_dirtyable_memory() argument
353 return min(x, total); in highmem_dirtyable_memory()
Dhuge_memory.c2922 unsigned long total = 0, split = 0; in split_huge_pages_set() local
2943 total++; in split_huge_pages_set()
2953 pr_info("%lu of %lu THP split\n", split, total); in split_huge_pages_set()
Dmemcontrol.c1781 int total = 0; in mem_cgroup_soft_reclaim() local
1801 if (!total) in mem_cgroup_soft_reclaim()
1809 if (total >= (excess >> 2) || in mem_cgroup_soft_reclaim()
1815 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
1822 return total; in mem_cgroup_soft_reclaim()
Dhugetlb.c3529 unsigned long total = 0; in hugetlb_report_meminfo() local
3537 total += (PAGE_SIZE << huge_page_order(h)) * count; in hugetlb_report_meminfo()
3553 seq_printf(m, "Hugetlb: %8lu kB\n", total / 1024); in hugetlb_report_meminfo()
Dpage_alloc.c5861 unsigned long nr[MAX_ORDER], flags, total = 0; in show_free_areas() local
5875 total += nr[order] << order; in show_free_areas()
5890 printk(KERN_CONT "= %lukB\n", K(total)); in show_free_areas()