Searched refs:read_text (Results 1 – 2 of 2) sorted by relevance
| /linux/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()
|
| /linux/tools/testing/selftests/cgroup/ |
| A D | cgroup_util.c | 23 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 93 ret = read_text(path, buf, len); in cg_read() 226 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root() 539 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled() 574 read = read_text("/proc/mounts", buf, sizeof(buf)); in proc_mount_contains() 592 ret = read_text(path, buf, size); in proc_read_text()
|
Completed in 7 milliseconds