Searched refs:cgroup_workdir (Results 1 – 1 of 1) sorted by relevance
/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 101 char cgroup_workdir[PATH_MAX - 24]; in setup_cgroup_environment() local 103 format_cgroup_path(cgroup_workdir, ""); in setup_cgroup_environment() 123 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment() 128 if (enable_all_controllers(cgroup_workdir)) in setup_cgroup_environment() 201 char cgroup_workdir[PATH_MAX + 1]; in cleanup_cgroup_environment() local 203 format_cgroup_path(cgroup_workdir, ""); in cleanup_cgroup_environment() 205 nftw(cgroup_workdir, nftwfunc, WALK_FD_LIMIT, FTW_DEPTH | FTW_MOUNT); in cleanup_cgroup_environment() 253 char cgroup_workdir[PATH_MAX + 1]; in get_cgroup_id() local 257 format_cgroup_path(cgroup_workdir, path); in get_cgroup_id() 267 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id() [all …]
|