Searched refs:read_text (Results 1 – 4 of 4) sorted by relevance
| /tools/testing/selftests/sched_ext/ |
| A D | util.c | 14 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 52 if (read_text(path, buf, sizeof(buf)) <= 0) in file_read_long()
|
| /tools/testing/selftests/cgroup/lib/ |
| A D | cgroup_util.c | 25 ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 95 ret = read_text(path, buf, len); in cg_read() 229 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_root() 518 read = read_text("/proc/mounts", buf, sizeof(buf)); in proc_mount_contains() 536 ret = read_text(path, buf, size); in proc_read_text()
|
| /tools/testing/selftests/cgroup/lib/include/ |
| A D | cgroup_util.h | 28 extern ssize_t read_text(const char *path, char *buf, size_t max_len);
|
| /tools/testing/selftests/cgroup/ |
| A D | test_memcontrol.c | 75 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled()
|
Completed in 7 milliseconds