Lines Matching refs:filename
2097 static uint64_t uv__read_uint64(const char* filename) { in uv__read_uint64() argument
2102 if (0 == uv__slurp(filename, buf, sizeof(buf))) in uv__read_uint64()
2138 char filename[4097]; in uv__get_cgroup1_memory_limits() local
2146 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2148 *high = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2150 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2152 *max = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2178 char filename[4097]; in uv__get_cgroup2_memory_limits() local
2187 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.max", n, p); in uv__get_cgroup2_memory_limits()
2188 *max = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2189 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.high", n, p); in uv__get_cgroup2_memory_limits()
2190 *high = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2220 char filename[4097]; in uv__get_cgroup1_current_memory() local
2228 snprintf(filename, sizeof(filename), in uv__get_cgroup1_current_memory()
2230 current = uv__read_uint64(filename); in uv__get_cgroup1_current_memory()
2244 char filename[4097]; in uv__get_cgroup2_current_memory() local
2252 snprintf(filename, sizeof(filename), in uv__get_cgroup2_current_memory()
2254 return uv__read_uint64(filename); in uv__get_cgroup2_current_memory()