Lines Matching refs:max
2152 uint64_t* max) { in uv__get_cgroup1_memory_limits() argument
2167 *max = uv__read_uint64(filename); in uv__get_cgroup1_memory_limits()
2172 if (*high != 0 && *max != 0) in uv__get_cgroup1_memory_limits()
2178 *max = uv__read_uint64("/sys/fs/cgroup/memory/memory.limit_in_bytes"); in uv__get_cgroup1_memory_limits()
2187 if (*max == cgroup1_max) in uv__get_cgroup1_memory_limits()
2188 *max = UINT64_MAX; in uv__get_cgroup1_memory_limits()
2192 uint64_t* max) { in uv__get_cgroup2_memory_limits() argument
2203 *max = uv__read_uint64(filename); in uv__get_cgroup2_memory_limits()
2210 uint64_t max; 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()