Lines Matching defs:high
2183 static void uv__get_cgroup1_memory_limits(char buf[static 1024], uint64_t* high,
2195 *high = uv__read_uint64(filename);
2204 if (*high != 0 && *max != 0)
2209 *high = uv__read_uint64("/sys/fs/cgroup/memory/memory.soft_limit_in_bytes");
2217 if (*high == cgroup1_max)
2218 *high = UINT64_MAX;
2223 static void uv__get_cgroup2_memory_limits(char buf[static 1024], uint64_t* high,
2236 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.high", n, p);
2237 *high = uv__read_uint64(filename);
2241 uint64_t high;
2246 uv__get_cgroup1_memory_limits(buf, &high, &max);
2248 uv__get_cgroup2_memory_limits(buf, &high, &max);
2250 if (high == 0 || max == 0)
2253 return high < max ? high : max;