Searched refs:cgroup_workdir (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 194 char cgroup_workdir[PATH_MAX - 24]; in setup_cgroup_environment() local 196 format_cgroup_path(cgroup_workdir, ""); in setup_cgroup_environment() 216 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment() 223 __enable_controllers(cgroup_workdir, NULL)) in setup_cgroup_environment() 323 char cgroup_workdir[PATH_MAX + 1]; in cleanup_cgroup_environment() local 325 format_cgroup_path(cgroup_workdir, ""); in cleanup_cgroup_environment() 327 nftw(cgroup_workdir, nftwfunc, WALK_FD_LIMIT, FTW_DEPTH | FTW_MOUNT); in cleanup_cgroup_environment() 412 char cgroup_workdir[PATH_MAX + 1]; in get_cgroup_id() local 416 format_cgroup_path(cgroup_workdir, relative_path); in get_cgroup_id() 426 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id() [all …]
|