Lines Matching refs:min
1327 margin = min(margin, limit - count); in mem_cgroup_margin()
1564 swap_max = min(swap_max, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1565 max = min(max + swap_max, memsw_max); in mem_cgroup_get_max()
2478 penalty_jiffies = min(penalty_jiffies, MEMCG_MAX_HIGH_DELAY_JIFFIES); in mem_cgroup_handle_over_high()
3879 memory = min(memory, mi->memory.max); in memcg_stat_show()
3880 memsw = min(memsw, mi->memsw.max); in memcg_stat_show()
4382 unsigned long ceiling = min(memcg->memory.max, memcg->high); in mem_cgroup_wb_stats()
4385 *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); in mem_cgroup_wb_stats()
6028 READ_ONCE(mem_cgroup_from_seq(m)->memory.min)); in memory_min_show()
6035 unsigned long min; in memory_min_write() local
6039 err = page_counter_memparse(buf, "max", &min); in memory_min_write()
6043 page_counter_set_min(&memcg->memory, min); in memory_min_write()
6387 emin = memcg->memory.min; in mem_cgroup_protected()
6399 emin = min(emin, parent_emin); in mem_cgroup_protected()
6403 min_usage = min(usage, memcg->memory.min); in mem_cgroup_protected()
6408 emin = min(emin, parent_emin * min_usage / in mem_cgroup_protected()
6413 elow = min(elow, parent_elow); in mem_cgroup_protected()
6417 low_usage = min(usage, memcg->memory.low); in mem_cgroup_protected()
6422 elow = min(elow, parent_elow * low_usage / in mem_cgroup_protected()