Lines Matching refs:buf
1522 char *buf; in mem_cgroup_print_oom_meminfo() local
1543 buf = memory_stat_format(memcg); in mem_cgroup_print_oom_meminfo()
1544 if (!buf) in mem_cgroup_print_oom_meminfo()
1546 pr_info("%s", buf); in mem_cgroup_print_oom_meminfo()
1547 kfree(buf); in mem_cgroup_print_oom_meminfo()
3292 char *buf, size_t nbytes, in mem_cgroup_force_empty_write() argument
3613 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write() argument
3619 buf = strstrip(buf); in mem_cgroup_write()
3620 ret = page_counter_memparse(buf, "-1", &nr_pages); in mem_cgroup_write()
3656 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset() argument
4624 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control() argument
4637 buf = strstrip(buf); in memcg_write_event_control()
4639 efd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control()
4642 buf = endp + 1; in memcg_write_event_control()
4644 cfd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control()
4647 buf = endp + 1; in memcg_write_event_control()
4725 ret = event->register_event(memcg, event->eventfd, buf); in memcg_write_event_control()
6032 char *buf, size_t nbytes, loff_t off) in memory_min_write() argument
6038 buf = strstrip(buf); in memory_min_write()
6039 err = page_counter_memparse(buf, "max", &min); in memory_min_write()
6055 char *buf, size_t nbytes, loff_t off) in memory_low_write() argument
6061 buf = strstrip(buf); in memory_low_write()
6062 err = page_counter_memparse(buf, "max", &low); in memory_low_write()
6077 char *buf, size_t nbytes, loff_t off) in memory_high_write() argument
6084 buf = strstrip(buf); in memory_high_write()
6085 err = page_counter_memparse(buf, "max", &high); in memory_high_write()
6107 char *buf, size_t nbytes, loff_t off) in memory_max_write() argument
6115 buf = strstrip(buf); in memory_max_write()
6116 err = page_counter_memparse(buf, "max", &max); in memory_max_write()
6184 char *buf; in memory_stat_show() local
6186 buf = memory_stat_format(memcg); in memory_stat_show()
6187 if (!buf) in memory_stat_show()
6189 seq_puts(m, buf); in memory_stat_show()
6190 kfree(buf); in memory_stat_show()
6204 char *buf, size_t nbytes, loff_t off) in memory_oom_group_write() argument
6209 buf = strstrip(buf); in memory_oom_group_write()
6210 if (!buf) in memory_oom_group_write()
6213 ret = kstrtoint(buf, 0, &oom_group); in memory_oom_group_write()
7190 char *buf, size_t nbytes, loff_t off) in swap_max_write() argument
7196 buf = strstrip(buf); in swap_max_write()
7197 err = page_counter_memparse(buf, "max", &max); in swap_max_write()