• Home
  • Raw
  • Download

Lines Matching refs:m

3117 static int memcg_numa_stat_show(struct seq_file *m, void *v)  in memcg_numa_stat_show()  argument
3133 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memcg_numa_stat_show()
3137 seq_printf(m, "%s=%lu", stat->name, nr); in memcg_numa_stat_show()
3141 seq_printf(m, " N%d=%lu", nid, nr); in memcg_numa_stat_show()
3143 seq_putc(m, '\n'); in memcg_numa_stat_show()
3152 seq_printf(m, "hierarchical_%s=%lu", stat->name, nr); in memcg_numa_stat_show()
3158 seq_printf(m, " N%d=%lu", nid, nr); in memcg_numa_stat_show()
3160 seq_putc(m, '\n'); in memcg_numa_stat_show()
3167 static int memcg_stat_show(struct seq_file *m, void *v) in memcg_stat_show() argument
3169 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memcg_stat_show()
3183 seq_printf(m, "%s %lu\n", mem_cgroup_stat_names[i], in memcg_stat_show()
3188 seq_printf(m, "%s %lu\n", mem_cgroup_events_names[i], in memcg_stat_show()
3192 seq_printf(m, "%s %lu\n", mem_cgroup_lru_names[i], in memcg_stat_show()
3201 seq_printf(m, "hierarchical_memory_limit %llu\n", in memcg_stat_show()
3204 seq_printf(m, "hierarchical_memsw_limit %llu\n", in memcg_stat_show()
3214 seq_printf(m, "total_%s %llu\n", mem_cgroup_stat_names[i], val); in memcg_stat_show()
3222 seq_printf(m, "total_%s %llu\n", in memcg_stat_show()
3231 seq_printf(m, "total_%s %llu\n", mem_cgroup_lru_names[i], val); in memcg_stat_show()
3252 seq_printf(m, "recent_rotated_anon %lu\n", recent_rotated[0]); in memcg_stat_show()
3253 seq_printf(m, "recent_rotated_file %lu\n", recent_rotated[1]); in memcg_stat_show()
3254 seq_printf(m, "recent_scanned_anon %lu\n", recent_scanned[0]); in memcg_stat_show()
3255 seq_printf(m, "recent_scanned_file %lu\n", recent_scanned[1]); in memcg_stat_show()
5179 static int memory_low_show(struct seq_file *m, void *v) in memory_low_show() argument
5181 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memory_low_show()
5185 seq_puts(m, "max\n"); in memory_low_show()
5187 seq_printf(m, "%llu\n", (u64)low * PAGE_SIZE); in memory_low_show()
5209 static int memory_high_show(struct seq_file *m, void *v) in memory_high_show() argument
5211 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memory_high_show()
5215 seq_puts(m, "max\n"); in memory_high_show()
5217 seq_printf(m, "%llu\n", (u64)high * PAGE_SIZE); in memory_high_show()
5246 static int memory_max_show(struct seq_file *m, void *v) in memory_max_show() argument
5248 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memory_max_show()
5252 seq_puts(m, "max\n"); in memory_max_show()
5254 seq_printf(m, "%llu\n", (u64)max * PAGE_SIZE); in memory_max_show()
5308 static int memory_events_show(struct seq_file *m, void *v) in memory_events_show() argument
5310 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memory_events_show()
5312 seq_printf(m, "low %lu\n", mem_cgroup_read_events(memcg, MEMCG_LOW)); in memory_events_show()
5313 seq_printf(m, "high %lu\n", mem_cgroup_read_events(memcg, MEMCG_HIGH)); in memory_events_show()
5314 seq_printf(m, "max %lu\n", mem_cgroup_read_events(memcg, MEMCG_MAX)); in memory_events_show()
5315 seq_printf(m, "oom %lu\n", mem_cgroup_read_events(memcg, MEMCG_OOM)); in memory_events_show()