Lines Matching defs:total
809 * than batch_size objects in total and we are really tight on memory,
815 * We detect the "tight on memory" situations by looking at the total
817 * than the total number of objects on slab (freeable), we must be
2841 * total target max
3098 * pressure by how much of the total memory used is
3110 * again by how much of the total memory used is under
3659 unsigned long total;
3671 pos->total = lrugen->avg_total[type][tier] +
3674 pos->total += lrugen->protected[hist][type][tier - 1];
3720 * refaulted/total than the SP.
3723 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <=
3724 (sp->refaulted + 1) * pv->total * pv->gain;
3954 static bool suitable_to_scan(int total, int young)
3959 return young * n >= total;
3969 int total = 0;
3991 total++;
4029 return suitable_to_scan(total, young);
4511 unsigned long total = 0;
4525 total += max(READ_ONCE(lrugen->nr_pages[gen][type][zone]), 0L);
4530 return mem_cgroup_online(memcg) ? (total >> sc->priority) : total;
5227 unsigned long total = 0;
5249 total += size;
5259 *nr_to_scan = total;
5263 *nr_to_scan = total >> sc->priority;
5275 * of the total number of pages for each generation. A reasonable range
5280 if (young * MIN_NR_GENS > total)
5282 if (old * (MIN_NR_GENS + 2) < total)
5542 * (total >> priority) * reclaimed_to_scanned_ratio = nr_to_reclaim,
5543 * where reclaimed_to_scanned_ratio = inactive / total.