Searched refs:proc_read_text (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 58 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size);
|
H A D | cgroup_util.c | 559 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() function 578 if (proc_read_text(pid, thread, item, buf, sizeof(buf)) < 0) in proc_read_strstr()
|
H A D | test_freezer.c | 648 len = proc_read_text(pid, 0, "stat", buf, sizeof(buf)); in proc_check_stopped()
|