Home
last modified time | relevance | path

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

/mm/
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.c1005 unsigned long total, point; in do_mmap_private() local
1035 total = 1 << order; in do_mmap_private()
1039 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) in do_mmap_private()
1040 total = point; in do_mmap_private()
1042 base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); in do_mmap_private()
1046 atomic_long_add(total, &mmap_pages_allocated); in do_mmap_private()
1051 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()
Dz3fold.c1514 unsigned int total = 0; in z3fold_zpool_shrink() local
1517 while (total < pages) { in z3fold_zpool_shrink()
1521 total++; in z3fold_zpool_shrink()
1525 *reclaimed = total; in z3fold_zpool_shrink()
Dzswap.c220 u64 total = 0; in zswap_update_total_size() local
225 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size()
229 zswap_pool_total_size = total; in zswap_update_total_size()
Dslub.c4790 unsigned long total = 0; in show_slab_objects() local
4820 total += x; in show_slab_objects()
4832 total += x; in show_slab_objects()
4862 total += x; in show_slab_objects()
4878 total += x; in show_slab_objects()
4882 x = sprintf(buf, "%lu", total); in show_slab_objects()
Dpage-writeback.c304 static unsigned long highmem_dirtyable_memory(unsigned long total) in highmem_dirtyable_memory() argument
350 return min(x, total); in highmem_dirtyable_memory()
Dhuge_memory.c2981 unsigned long total = 0, split = 0; in split_huge_pages_set() local
3002 total++; in split_huge_pages_set()
3012 pr_info("%lu of %lu THP split\n", split, total); in split_huge_pages_set()
Dmemcontrol.c1702 int total = 0; in mem_cgroup_soft_reclaim() local
1723 if (!total) in mem_cgroup_soft_reclaim()
1731 if (total >= (excess >> 2) || in mem_cgroup_soft_reclaim()
1737 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
1744 return total; in mem_cgroup_soft_reclaim()
Dhugetlb.c3162 unsigned long total = 0; in hugetlb_report_meminfo() local
3170 total += (PAGE_SIZE << huge_page_order(h)) * count; in hugetlb_report_meminfo()
3186 seq_printf(m, "Hugetlb: %8lu kB\n", total / 1024); in hugetlb_report_meminfo()
Dpage_alloc.c5408 unsigned long nr[MAX_ORDER], flags, total = 0; in show_free_areas() local
5422 total += nr[order] << order; in show_free_areas()
5437 printk(KERN_CONT "= %lukB\n", K(total)); in show_free_areas()