Lines Matching refs:cgroup_workdir
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()
287 err = name_to_handle_at(dirfd, cgroup_workdir, fhp2, &mount_id, flags); in get_cgroup_id()
336 char cgroup_workdir[PATH_MAX + 1]; in setup_classid_environment() local
338 format_classid_path(cgroup_workdir); in setup_classid_environment()
369 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_classid_environment()
389 char cgroup_workdir[PATH_MAX - 42]; in set_classid() local
393 format_classid_path(cgroup_workdir); in set_classid()
395 "%s/net_cls.classid", cgroup_workdir); in set_classid()
423 char cgroup_workdir[PATH_MAX + 1]; in join_classid() local
425 format_classid_path(cgroup_workdir); in join_classid()
426 return join_cgroup_from_top(cgroup_workdir); in join_classid()
439 char cgroup_workdir[PATH_MAX + 1]; in cleanup_classid_environment() local
441 format_classid_path(cgroup_workdir); in cleanup_classid_environment()
443 nftw(cgroup_workdir, nftwfunc, WALK_FD_LIMIT, FTW_DEPTH | FTW_MOUNT); in cleanup_classid_environment()