Lines Matching refs:high
2151 static void uv__get_cgroup1_memory_limits(char buf[static 1024], uint64_t* high, in uv__get_cgroup1_memory_limits() argument
2163 *high = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2172 if (*high != 0 && *max != 0) in uv__get_cgroup1_memory_limits()
2177 *high = uv__read_uint64("/sys/fs/cgroup/memory/memory.soft_limit_in_bytes"); in uv__get_cgroup1_memory_limits()
2185 if (*high == cgroup1_max) in uv__get_cgroup1_memory_limits()
2186 *high = UINT64_MAX; in uv__get_cgroup1_memory_limits()
2191 static void uv__get_cgroup2_memory_limits(char buf[static 1024], uint64_t* high, in uv__get_cgroup2_memory_limits() argument
2205 *high = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2209 uint64_t high; in uv__get_cgroup_constrained_memory() local
2214 uv__get_cgroup1_memory_limits(buf, &high, &max); in uv__get_cgroup_constrained_memory()
2216 uv__get_cgroup2_memory_limits(buf, &high, &max); in uv__get_cgroup_constrained_memory()
2218 if (high == 0 || max == 0) in uv__get_cgroup_constrained_memory()
2221 return high < max ? high : max; in uv__get_cgroup_constrained_memory()