Searched refs:total (Results 1 - 5 of 5) sorted by relevance

/mm/
H A Dnommu.c82 * Return the total memory allocated for this pointer, not
1129 unsigned long total, point, n; local
1165 total = 1 << order;
1166 atomic_long_add(total, &mmap_pages_allocated);
1172 if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages) {
1173 while (total > point) {
1174 order = ilog2(total - point);
1176 kdebug("shave %lu/%lu @%lu", n, total - point, total);
1178 total
[all...]
H A Dmemcontrol.c643 u64 total = 0; local
648 total += MEM_CGROUP_ZSTAT(mz, idx);
650 return total;
656 u64 total = 0; local
659 total += mem_cgroup_get_zonestat_node(mem, nid, idx);
660 return total;
1161 u64 total = 0; local
1165 total += mem_cgroup_node_nr_file_lru_pages(memcg, nid);
1167 return total;
1172 u64 total local
1190 u64 total = 0; local
1203 u64 total = 0; local
1213 u64 total = 0; local
1722 int ret, total = 0; local
[all...]
H A Dpage-writeback.c73 * free highmem will not be subtracted from the total free memory
357 static unsigned long highmem_dirtyable_memory(unsigned long total) argument
372 * than the number of the total dirtyable memory. This can only
376 return min(x, total);
778 * We used to scale dirty pages according to how total memory
784 * is now applied to total non-HIGHPAGE memory (by subtracting
H A Dslub.c48 * (Note that the total number of slabs is an atomic value that may be
3968 unsigned long total = 0; local
3996 total += x;
4017 total += x;
4033 total += x;
4037 x = sprintf(buf, "%lu", total);
H A Dpage_alloc.c2694 unsigned long nr[MAX_ORDER], flags, order, total = 0; local
2704 total += nr[order] << order;
2709 printk("= %lukB\n", K(total));
2712 printk("%ld total pagecache pages\n", global_page_state(NR_FILE_PAGES));
5123 /* Calculate total number of !ZONE_HIGHMEM pages */
5181 * total target max
5324 * cpu. It is the fraction of total pages in each zone that a hot per cpu pagelist
5366 * - limit is the number of hash buckets, not the total allocation size
5408 /* limit allocation size to 1/16 total memory by default */

Completed in 121 milliseconds