Home
last modified time | relevance | path

Searched refs:cgroup_workdir (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c47 char cgroup_workdir[PATH_MAX + 1]; in setup_cgroup_environment() local
49 format_cgroup_path(cgroup_workdir, ""); in setup_cgroup_environment()
69 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment()
144 char cgroup_workdir[PATH_MAX + 1]; in cleanup_cgroup_environment() local
146 format_cgroup_path(cgroup_workdir, ""); in cleanup_cgroup_environment()
148 nftw(cgroup_workdir, nftwfunc, WALK_FD_LIMIT, FTW_DEPTH | FTW_MOUNT); in cleanup_cgroup_environment()
196 char cgroup_workdir[PATH_MAX + 1]; in get_cgroup_id() local
200 format_cgroup_path(cgroup_workdir, path); in get_cgroup_id()
210 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id()
222 err = name_to_handle_at(dirfd, cgroup_workdir, fhp2, &mount_id, flags); in get_cgroup_id()