Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dcharge_reserved_hugetlb.sh24 cgroup_path=/dev/cgroup/memory
25 if [[ ! -e $cgroup_path ]]; then
26 mkdir -p $cgroup_path
28 mount -t cgroup2 none $cgroup_path
30 mount -t cgroup memory,hugetlb $cgroup_path
40 echo $$ >$cgroup_path/cgroup.procs
42 echo $$ >$cgroup_path/tasks
50 if [[ -e $cgroup_path/hugetlb_cgroup_test ]]; then
51 rmdir $cgroup_path/hugetlb_cgroup_test
53 if [[ -e $cgroup_path/hugetlb_cgroup_test1 ]]; then
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c44 static 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c57 static bool connect_send(const char *cgroup_path) in connect_send() argument
62 if (join_cgroup(cgroup_path)) in connect_send()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup-internal.h34 cgroup_path(cgrp, trace_cgroup_path, \
/OK3568_Linux_fs/kernel/include/linux/
H A Dblk-cgroup.h450 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
H A Dcgroup.h664 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
/OK3568_Linux_fs/kernel/kernel/sched/
H A Ddebug.c481 cgroup_path(tg->css.cgroup, path, plen); in task_group_path()
H A Dfair.c302 cgroup_path(cfs_rq->tg->css.cgroup, path, len); in cfs_rq_tg_path()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0005-src-basic-missing.h-check-for-missing-strndupa.patch462 char *cgroup_path;
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0005-src-basic-missing.h-check-for-missing-strndupa.patch562 char *cgroup_path;
/OK3568_Linux_fs/kernel/block/
H A Dblk-iocost.c200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c7976 cgroup_path(cgrp, pathname, PATH_MAX - sizeof(u64)); in perf_event_cgroup()