Home
last modified time | relevance | path

Searched refs:read_text (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/tools/testing/selftests/cgroup/
Dcgroup_util.c19 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function
83 if (read_text(path, buf, len) >= 0) in cg_read()
170 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root()
343 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled()