Searched refs:read_text (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 19 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 93 if (read_text(path, buf, len) >= 0) in cg_read() 180 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root() 383 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled() 419 return read_text(path, buf, size); in proc_read_text()
|