/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 63 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 D | charge_reserved_hugetlb.sh | 29 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 D | write_hugetlb_memory.sh | 17 echo $$ > ${cgroup_path:-/dev/cgroup/memory}/"$cgroup"/cgroup.procs
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | utils.c | 635 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 D | mmap_lock.c | 82 cgroup_path(memcg->css.cgroup, buf, buflen); in get_mm_memcg_path()
|
H A D | vmscan.c | 5952 cgroup_path(memcg->css.cgroup, m->private, PATH_MAX); in lru_gen_seq_show()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cg_storage_multi.c | 57 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 D | cgroup-internal.h | 33 cgroup_path(cgrp, trace_cgroup_path, \
|
/openbmc/linux/block/ |
H A D | blk-cgroup.h | 312 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
|
H A D | blk-iocost.c | 200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
|
/openbmc/linux/include/linux/ |
H A D | cgroup.h | 599 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() function
|
/openbmc/linux/kernel/sched/ |
H A D | debug.c | 548 cgroup_path(tg->css.cgroup, path, plen); in task_group_path()
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0003-src-basic-missing.h-check-for-missing-strndupa.patch | 552 char *cgroup_path;
|
/openbmc/linux/mm/damon/ |
H A D | sysfs-schemes.c | 1500 cgroup_path(memcg->css.cgroup, memcg_path_buf, PATH_MAX); in damon_sysfs_memcg_path_eq()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0003-src-basic-missing.h-check-for-missing-strndupa.patch | 552 char *cgroup_path;
|
/openbmc/linux/kernel/events/ |
H A D | core.c | 8610 cgroup_path(cgrp, pathname, PATH_MAX - sizeof(u64)); in perf_event_cgroup()
|