Searched refs:total (Results 1 – 11 of 11) sorted by relevance
/mm/ |
D | zbud.c | 173 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()
|
D | nommu.c | 1005 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()
|
D | frontswap.c | 382 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()
|
D | z3fold.c | 1514 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()
|
D | zswap.c | 220 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()
|
D | slub.c | 4790 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()
|
D | page-writeback.c | 304 static unsigned long highmem_dirtyable_memory(unsigned long total) in highmem_dirtyable_memory() argument 350 return min(x, total); in highmem_dirtyable_memory()
|
D | huge_memory.c | 2981 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()
|
D | memcontrol.c | 1702 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()
|
D | hugetlb.c | 3162 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()
|
D | page_alloc.c | 5408 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()
|