Searched refs:subsys (Results 1 – 9 of 9) sorted by relevance
/tools/lib/api/fs/ |
D | cgroup.c | 12 char subsys[32]; member 19 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys) in cgroupfs_find_mountpoint() argument 27 if (cached && !strcmp(cached->subsys, subsys)) { in cgroupfs_find_mountpoint() 80 p = strstr(p, subsys); in cgroupfs_find_mountpoint() 85 if (!strchr(" ,", p[-1]) || !strchr(" ,", p[strlen(subsys)])) in cgroupfs_find_mountpoint() 98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1); in cgroupfs_find_mountpoint()
|
D | fs.h | 43 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys);
|
/tools/testing/selftests/cgroup/ |
D | test_stress.sh | 4 ./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core
|
/tools/perf/util/ |
D | cgroup.h | 52 int cgroup_is_v2(const char *subsys);
|
D | cgroup.c | 79 int cgroup_is_v2(const char *subsys) in cgroup_is_v2() argument 84 if (cgroupfs_find_mountpoint(mnt, PATH_MAX + 1, subsys)) in cgroup_is_v2()
|
/tools/perf/util/bpf_skel/vmlinux/ |
D | vmlinux.h | 84 struct cgroup_subsys_state *subsys[13]; member
|
/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 267 struct cgroup_subsys_state* subsys = in populate_cgroup_info() local 268 BPF_CORE_READ(task, cgroups, subsys[i]); in populate_cgroup_info() 269 if (subsys != NULL) { in populate_cgroup_info() 270 int subsys_id = BPF_CORE_READ(subsys, ss, id); in populate_cgroup_info() 272 proc_kernfs = BPF_CORE_READ(subsys, cgroup, kn); in populate_cgroup_info() 273 root_kernfs = BPF_CORE_READ(subsys, ss, root, kf_root, kn); in populate_cgroup_info()
|
/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 97 cgrp = BPF_CORE_READ(p, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_v1_idx()
|
D | off_cpu.bpf.c | 136 cgrp = BPF_CORE_READ(t, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_id()
|