Home
last modified time | relevance | path

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

/mm/
Dnommu.c1153 unsigned long total, point, n; in do_mmap_private() local
1189 total = 1 << order; in do_mmap_private()
1190 atomic_long_add(total, &mmap_pages_allocated); in do_mmap_private()
1196 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) { in do_mmap_private()
1197 while (total > point) { in do_mmap_private()
1198 order = ilog2(total - point); in do_mmap_private()
1200 kdebug("shave %lu/%lu @%lu", n, total - point, total); in do_mmap_private()
1202 total -= n; in do_mmap_private()
1203 set_page_refcounted(pages + total); in do_mmap_private()
1204 __free_pages(pages + total, order); in do_mmap_private()
[all …]
Dzbud.c157 unsigned int total = 0; in zbud_zpool_shrink() local
160 while (total < pages) { in zbud_zpool_shrink()
164 total++; in zbud_zpool_shrink()
168 *reclaimed = total; in zbud_zpool_shrink()
Dfrontswap.c341 static int __frontswap_unuse_pages(unsigned long total, unsigned long *unused, in __frontswap_unuse_pages() argument
347 unsigned long total_pages_to_unuse = total; in __frontswap_unuse_pages()
Dpage-writeback.c196 static unsigned long highmem_dirtyable_memory(unsigned long total) in highmem_dirtyable_memory() argument
225 return min(x, total); in highmem_dirtyable_memory()
Dslub.c4251 unsigned long total = 0; in show_slab_objects() local
4281 total += x; in show_slab_objects()
4293 total += x; in show_slab_objects()
4313 total += x; in show_slab_objects()
4329 total += x; in show_slab_objects()
4333 x = sprintf(buf, "%lu", total); in show_slab_objects()
Dmemcontrol.c1937 int total = 0; in mem_cgroup_soft_reclaim() local
1958 if (!total) in mem_cgroup_soft_reclaim()
1966 if (total >= (excess >> 2) || in mem_cgroup_soft_reclaim()
1974 total += mem_cgroup_shrink_node_zone(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
1981 return total; in mem_cgroup_soft_reclaim()
Dpage_alloc.c3346 unsigned long nr[MAX_ORDER], flags, total = 0; in show_free_areas() local
3360 total += nr[order] << order; in show_free_areas()
3374 printk("= %lukB\n", K(total)); in show_free_areas()