Searched refs:proc_read_text (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 51 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size);
|
H A D | cgroup_util.c | 532 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() function 549 if (proc_read_text(pid, thread, item, buf, sizeof(buf)) < 0) in proc_read_strstr()
|
H A D | test_freezer.c | 705 len = proc_read_text(pid, 0, "stat", buf, sizeof(buf)); in proc_check_stopped()
|
/kernel/linux/linux-6.6/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 | 557 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() function 576 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()
|
Completed in 4 milliseconds