Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 9 of 9) sorted by relevance

/tools/lib/api/fs/
Dcgroup.c12 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()
Dfs.h43 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys);
/tools/testing/selftests/cgroup/
Dtest_stress.sh4 ./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core
/tools/perf/util/
Dcgroup.h52 int cgroup_is_v2(const char *subsys);
Dcgroup.c79 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/
Dvmlinux.h84 struct cgroup_subsys_state *subsys[13]; member
/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h267 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/
Dbperf_cgroup.bpf.c97 cgrp = BPF_CORE_READ(p, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_v1_idx()
Doff_cpu.bpf.c136 cgrp = BPF_CORE_READ(t, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_id()