Lines Matching refs:high
2346 if (page_counter_read(&memcg->memory) <= memcg->high) in reclaim_high()
2420 unsigned long usage, high, clamped_high; in mem_cgroup_handle_over_high() local
2446 high = READ_ONCE(memcg->high); in mem_cgroup_handle_over_high()
2448 if (usage <= high) in mem_cgroup_handle_over_high()
2455 clamped_high = max(high, 1UL); in mem_cgroup_handle_over_high()
2457 overage = div_u64((u64)(usage - high) << MEMCG_DELAY_PRECISION_SHIFT, in mem_cgroup_handle_over_high()
2663 if (page_counter_read(&memcg->memory) > memcg->high) { in try_charge()
4382 unsigned long ceiling = min(memcg->memory.max, memcg->high); in mem_cgroup_wb_stats()
5103 memcg->high = PAGE_COUNTER_MAX; in mem_cgroup_css_alloc()
5256 memcg->high = PAGE_COUNTER_MAX; in mem_cgroup_css_reset()
6073 return seq_puts_memcg_tunable(m, READ_ONCE(mem_cgroup_from_seq(m)->high)); in memory_high_show()
6081 unsigned long high; in memory_high_write() local
6085 err = page_counter_memparse(buf, "max", &high); in memory_high_write()
6089 memcg->high = high; in memory_high_write()
6092 if (nr_pages > high) in memory_high_write()
6093 try_to_free_mem_cgroup_pages(memcg, nr_pages - high, in memory_high_write()