Searched refs:cgroup_path (Results 1 – 11 of 11) sorted by relevance
/linux/tools/testing/selftests/vm/ |
A D | charge_reserved_hugetlb.sh | 27 cgroup_path=/dev/cgroup/memory 28 if [[ ! -e $cgroup_path ]]; then 29 mkdir -p $cgroup_path 31 mount -t cgroup2 none $cgroup_path 43 echo $$ >$cgroup_path/cgroup.procs 45 echo $$ >$cgroup_path/tasks 54 rmdir $cgroup_path/hugetlb_cgroup_test 57 rmdir $cgroup_path/hugetlb_cgroup_test1 92 mkdir $cgroup_path/$name 577 umount $cgroup_path [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | cgroup_helpers.c | 52 static int enable_all_controllers(char *cgroup_path) in enable_all_controllers() argument 150 static int join_cgroup_from_top(const char *cgroup_path) in join_cgroup_from_top() argument 157 "%s/cgroup.procs", cgroup_path); in join_cgroup_from_top() 187 char cgroup_path[PATH_MAX + 1]; in join_cgroup() local 189 format_cgroup_path(cgroup_path, path); in join_cgroup() 190 return join_cgroup_from_top(cgroup_path); in join_cgroup() 227 char cgroup_path[PATH_MAX + 1]; in create_and_get_cgroup() local 230 format_cgroup_path(cgroup_path, path); in create_and_get_cgroup() 231 if (mkdir(cgroup_path, 0777) && errno != EEXIST) { in create_and_get_cgroup() 232 log_err("mkdiring cgroup %s .. %s", path, cgroup_path); in create_and_get_cgroup() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | cg_storage_multi.c | 57 static bool connect_send(const char *cgroup_path) in connect_send() argument 62 if (join_cgroup(cgroup_path)) in connect_send()
|
/linux/mm/ |
A D | mmap_lock.c | 213 cgroup_path(memcg->css.cgroup, buf, MEMCG_PATH_BUF_SIZE); in get_mm_memcg_path()
|
/linux/kernel/cgroup/ |
A D | cgroup-internal.h | 34 cgroup_path(cgrp, trace_cgroup_path, \
|
/linux/include/linux/ |
A D | blk-cgroup.h | 452 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
|
A D | cgroup.h | 659 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
|
/linux/kernel/sched/ |
A D | debug.c | 504 cgroup_path(tg->css.cgroup, path, plen); in task_group_path()
|
A D | fair.c | 292 cgroup_path(cfs_rq->tg->css.cgroup, path, len); in cfs_rq_tg_path()
|
/linux/block/ |
A D | blk-iocost.c | 200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
|
/linux/kernel/events/ |
A D | core.c | 8195 cgroup_path(cgrp, pathname, PATH_MAX - sizeof(u64)); in perf_event_cgroup()
|
Completed in 67 milliseconds