Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/
Dcgroup_helpers.c44 int enable_all_controllers(char *cgroup_path) in enable_all_controllers() argument
52 snprintf(path, sizeof(path), "%s/cgroup.controllers", cgroup_path); in enable_all_controllers()
72 snprintf(path, sizeof(path), "%s/cgroup.subtree_control", cgroup_path); in enable_all_controllers()
143 static int join_cgroup_from_top(char *cgroup_path) in join_cgroup_from_top() argument
150 "%s/cgroup.procs", cgroup_path); in join_cgroup_from_top()
180 char cgroup_path[PATH_MAX + 1]; in join_cgroup() local
182 format_cgroup_path(cgroup_path, path); in join_cgroup()
183 return join_cgroup_from_top(cgroup_path); in join_cgroup()
220 char cgroup_path[PATH_MAX + 1]; in create_and_get_cgroup() local
223 format_cgroup_path(cgroup_path, path); in create_and_get_cgroup()
[all …]
/Linux-v5.4/kernel/cgroup/
Dcgroup-internal.h34 cgroup_path(cgrp, trace_cgroup_path, \
/Linux-v5.4/include/linux/
Dcgroup.h652 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
Dblk-cgroup.h488 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
/Linux-v5.4/kernel/sched/
Ddebug.c427 cgroup_path(tg->css.cgroup, group_path, PATH_MAX); in task_group_path()
Dfair.c286 cgroup_path(cfs_rq->tg->css.cgroup, path, len); in cfs_rq_tg_path()
/Linux-v5.4/block/
Dblk-iocost.c201 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \