Lines Matching refs:path
33 char path[PATH_MAX + 1];
41 scnprintf(path, PATH_MAX, "%s/%s", mnt, name);
43 fd = open(path, O_RDONLY);
45 fprintf(stderr, "no access to cgroup %s\n", path);
53 char path[PATH_MAX + 1];
64 scnprintf(path, PATH_MAX, "%s/%s", mnt, cgrp->name);
67 if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0)
304 /* cgroup_name will have a full path, skip the root directory */
456 /* cgroup_name might have a full path, skip the prefix */
512 bool create, const char *path)
538 cgrp->name = strdup(path);
555 const char *path)
560 cgrp = __cgroup__findnew(&env->cgroups.tree, id, true, path);