Searched refs:read_text (Results 1 – 1 of 1) sorted by relevance
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 20 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 94 if (read_text(path, buf, len) >= 0) in cg_read() 197 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root() 502 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled() 542 return read_text(path, buf, size); in proc_read_text()
|