Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c63 cgroup_path); in __enable_controllers()
115 char cgroup_path[PATH_MAX + 1]; in enable_controllers() local
156 char cgroup_path[PATH_MAX - 24]; in write_cgroup_file() local
177 char cgroup_path[PATH_MAX - 24]; in write_cgroup_file_parent() local
244 "%s/cgroup.procs", cgroup_path); in join_cgroup_from_top()
274 char cgroup_path[PATH_MAX + 1]; in join_cgroup() local
302 char cgroup_path[PATH_MAX + 1]; in join_parent_cgroup() local
360 char cgroup_path[PATH_MAX + 1]; in remove_cgroup() local
363 if (rmdir(cgroup_path)) in remove_cgroup()
379 char cgroup_path[PATH_MAX + 1]; in create_and_get_cgroup() local
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh29 if [[ -z "$cgroup_path" ]]; then
30 cgroup_path=/dev/cgroup/memory
31 mount -t cgroup2 none $cgroup_path
37 if [[ -z "$cgroup_path" ]]; then
38 cgroup_path=/dev/cgroup/memory
43 export cgroup_path
47 echo $$ >$cgroup_path/cgroup.procs
49 echo $$ >$cgroup_path/tasks
96 mkdir $cgroup_path/$name
582 umount $cgroup_path
[all …]
H A Dwrite_hugetlb_memory.sh17 echo $$ > ${cgroup_path:-/dev/cgroup/memory}/"$cgroup"/cgroup.procs
/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c635 char cgroup_path[MAX_PATH - strlen("/cgroup.procs")]; in set_pid_cgroup() local
641 retval = find_mount("cgroup2", cgroup_path, sizeof(cgroup_path)); in set_pid_cgroup()
648 retval = get_self_cgroup(&cgroup_path[strlen(cgroup_path)], in set_pid_cgroup()
649 sizeof(cgroup_path) - strlen(cgroup_path)); in set_pid_cgroup()
655 snprintf(&cgroup_path[strlen(cgroup_path)], in set_pid_cgroup()
656 sizeof(cgroup_path) - strlen(cgroup_path), "%s/", cgroup); in set_pid_cgroup()
706 retval = find_mount("cgroup2", cgroup_path, sizeof(cgroup_path)); in set_comm_cgroup()
713 retval = get_self_cgroup(&cgroup_path[strlen(cgroup_path)], in set_comm_cgroup()
714 sizeof(cgroup_path) - strlen(cgroup_path)); in set_comm_cgroup()
720 snprintf(&cgroup_path[strlen(cgroup_path)], in set_comm_cgroup()
[all …]
/openbmc/linux/mm/
H A Dmmap_lock.c82 cgroup_path(memcg->css.cgroup, buf, buflen); in get_mm_memcg_path()
H A Dvmscan.c5952 cgroup_path(memcg->css.cgroup, m->private, PATH_MAX); in lru_gen_seq_show()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c57 static bool connect_send(const char *cgroup_path) in connect_send() argument
63 if (join_cgroup(cgroup_path)) in connect_send()
/openbmc/linux/kernel/cgroup/
H A Dcgroup-internal.h33 cgroup_path(cgrp, trace_cgroup_path, \
/openbmc/linux/block/
H A Dblk-cgroup.h312 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
H A Dblk-iocost.c200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
/openbmc/linux/include/linux/
H A Dcgroup.h599 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
/openbmc/linux/kernel/sched/
H A Ddebug.c548 cgroup_path(tg->css.cgroup, path, plen); in task_group_path()
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch552 char *cgroup_path;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch552 char *cgroup_path;
/openbmc/linux/mm/damon/
H A Dsysfs-schemes.c1500 cgroup_path(memcg->css.cgroup, memcg_path_buf, PATH_MAX); in damon_sysfs_memcg_path_eq()
/openbmc/linux/kernel/events/
H A Dcore.c8610 cgroup_path(cgrp, pathname, PATH_MAX - sizeof(u64)); in perf_event_cgroup()