Lines Matching refs:high
2136 static void uv__get_cgroup1_memory_limits(char buf[static 1024], uint64_t* high, in uv__get_cgroup1_memory_limits() argument
2148 *high = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2157 if (*high != 0 && *max != 0) in uv__get_cgroup1_memory_limits()
2162 *high = uv__read_uint64("/sys/fs/cgroup/memory/memory.soft_limit_in_bytes"); in uv__get_cgroup1_memory_limits()
2170 if (*high == cgroup1_max) in uv__get_cgroup1_memory_limits()
2171 *high = UINT64_MAX; in uv__get_cgroup1_memory_limits()
2176 static void uv__get_cgroup2_memory_limits(char buf[static 1024], uint64_t* high, in uv__get_cgroup2_memory_limits() argument
2190 *high = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2194 uint64_t high; in uv__get_cgroup_constrained_memory() local
2199 uv__get_cgroup1_memory_limits(buf, &high, &max); in uv__get_cgroup_constrained_memory()
2201 uv__get_cgroup2_memory_limits(buf, &high, &max); in uv__get_cgroup_constrained_memory()
2203 if (high == 0 || max == 0) in uv__get_cgroup_constrained_memory()
2206 return high < max ? high : max; in uv__get_cgroup_constrained_memory()