Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dcgroup_helpers.c86 static int join_cgroup_from_top(char *cgroup_path) in join_cgroup_from_top() argument
93 "%s/cgroup.procs", cgroup_path); in join_cgroup_from_top()
123 char cgroup_path[PATH_MAX + 1]; in join_cgroup() local
125 format_cgroup_path(cgroup_path, path); in join_cgroup()
126 return join_cgroup_from_top(cgroup_path); in join_cgroup()
163 char cgroup_path[PATH_MAX + 1]; in create_and_get_cgroup() local
166 format_cgroup_path(cgroup_path, path); in create_and_get_cgroup()
167 if (mkdir(cgroup_path, 0777) && errno != EEXIST) { in create_and_get_cgroup()
168 log_err("mkdiring cgroup %s .. %s", path, cgroup_path); in create_and_get_cgroup()
172 fd = open(cgroup_path, O_RDONLY); in create_and_get_cgroup()
/Linux-v4.19/kernel/cgroup/
Dcgroup-internal.h29 cgroup_path(cgrp, trace_cgroup_path, \
/Linux-v4.19/include/linux/
Dcgroup.h645 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
Dblk-cgroup.h443 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
/Linux-v4.19/kernel/sched/
Ddebug.c440 cgroup_path(tg->css.cgroup, group_path, PATH_MAX); in task_group_path()