Searched refs:cgroup_workdir (Results 1 – 1 of 1) sorted by relevance
/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 110 char cgroup_workdir[PATH_MAX - 24]; in setup_cgroup_environment() local 112 format_cgroup_path(cgroup_workdir, ""); in setup_cgroup_environment() 132 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment() 137 if (enable_all_controllers(cgroup_workdir)) in setup_cgroup_environment() 209 char cgroup_workdir[PATH_MAX + 1]; in cleanup_cgroup_environment() local 211 format_cgroup_path(cgroup_workdir, ""); in cleanup_cgroup_environment() 213 nftw(cgroup_workdir, nftwfunc, WALK_FD_LIMIT, FTW_DEPTH | FTW_MOUNT); in cleanup_cgroup_environment() 261 char cgroup_workdir[PATH_MAX + 1]; in get_cgroup_id() local 265 format_cgroup_path(cgroup_workdir, path); in get_cgroup_id() 275 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id() [all …]
|