Searched refs:cgroup_size (Results 1 – 1 of 1) sorted by relevance
/libuv/src/unix/ |
H A D | linux.c | 2308 int cgroup_size; in uv__get_cgroupv2_constrained_cpu() local 2317 cgroup_size = (int)strcspn(cgroup_trimmed, "\n"); /* Find the first slash */ in uv__get_cgroupv2_constrained_cpu() 2320 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.max", cgroup_size, in uv__get_cgroupv2_constrained_cpu() 2336 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.weight", cgroup_size, in uv__get_cgroupv2_constrained_cpu() 2352 int* cgroup_size) { in uv__cgroup1_find_cpu_controller() argument 2360 *cgroup_size = (int)strcspn(cgroup_cpu, "\n"); in uv__cgroup1_find_cpu_controller() 2371 int cgroup_size; in uv__get_cgroupv1_constrained_cpu() local 2374 cgroup_cpu = uv__cgroup1_find_cpu_controller(cgroup, &cgroup_size); in uv__get_cgroupv1_constrained_cpu() 2381 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu() 2391 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu() [all …]
|
Completed in 15 milliseconds