Lines Matching refs:cgroup_cpu
2354 char* cgroup_cpu = strstr(cgroup, ":cpu,"); in uv__cgroup1_find_cpu_controller() local
2356 if (cgroup_cpu != NULL) { in uv__cgroup1_find_cpu_controller()
2358 cgroup_cpu += sizeof(":cpu,") - 1; in uv__cgroup1_find_cpu_controller()
2360 *cgroup_size = (int)strcspn(cgroup_cpu, "\n"); in uv__cgroup1_find_cpu_controller()
2363 return cgroup_cpu; in uv__cgroup1_find_cpu_controller()
2372 char* cgroup_cpu; in uv__get_cgroupv1_constrained_cpu() local
2374 cgroup_cpu = uv__cgroup1_find_cpu_controller(cgroup, &cgroup_size); in uv__get_cgroupv1_constrained_cpu()
2376 if (cgroup_cpu == NULL) 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()
2402 cgroup_cpu); in uv__get_cgroupv1_constrained_cpu()