Lines Matching refs:filename
2082 static uint64_t uv__read_uint64(const char* filename) { in uv__read_uint64() argument
2087 if (0 == uv__slurp(filename, buf, sizeof(buf))) in uv__read_uint64()
2123 char filename[4097]; in uv__get_cgroup1_memory_limits() local
2131 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2133 *high = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2135 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2137 *max = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2163 char filename[4097]; in uv__get_cgroup2_memory_limits() local
2172 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.max", n, p); in uv__get_cgroup2_memory_limits()
2173 *max = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2174 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.high", n, p); in uv__get_cgroup2_memory_limits()
2175 *high = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2205 char filename[4097]; in uv__get_cgroup1_current_memory() local
2213 snprintf(filename, sizeof(filename), in uv__get_cgroup1_current_memory()
2215 current = uv__read_uint64(filename); in uv__get_cgroup1_current_memory()
2229 char filename[4097]; in uv__get_cgroup2_current_memory() local
2237 snprintf(filename, sizeof(filename), in uv__get_cgroup2_current_memory()
2239 return uv__read_uint64(filename); in uv__get_cgroup2_current_memory()