Searched refs:cgroup_path (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 86 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/ |
D | cgroup-internal.h | 29 cgroup_path(cgrp, trace_cgroup_path, \
|
/Linux-v4.19/include/linux/ |
D | cgroup.h | 645 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
|
D | blk-cgroup.h | 443 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
|
/Linux-v4.19/kernel/sched/ |
D | debug.c | 440 cgroup_path(tg->css.cgroup, group_path, PATH_MAX); in task_group_path()
|