Home
last modified time | relevance | path

Searched refs:get_cgroup_id (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c117 key.cgroup_inode_id = get_cgroup_id(PARENT_CGROUP); in test_egress_only()
122 key.cgroup_inode_id = get_cgroup_id(CHILD_CGROUP); in test_egress_only()
140 key.cgroup_inode_id = get_cgroup_id(PARENT_CGROUP); in test_egress_only()
145 key.cgroup_inode_id = get_cgroup_id(CHILD_CGROUP); in test_egress_only()
195 key.cgroup_inode_id = get_cgroup_id(PARENT_CGROUP); in test_isolated()
206 key.cgroup_inode_id = get_cgroup_id(CHILD_CGROUP); in test_isolated()
237 key.cgroup_inode_id = get_cgroup_id(PARENT_CGROUP); in test_isolated()
248 key.cgroup_inode_id = get_cgroup_id(CHILD_CGROUP); in test_isolated()
308 key = get_cgroup_id(PARENT_CGROUP); in test_shared()
316 key = get_cgroup_id(CHILD_CGROUP); in test_shared()
[all …]
H A Diters.c219 cg_id = get_cgroup_id(cgrp_path); in subtest_css_task_iters()
274 skel->bss->root_cg_id = get_cgroup_id(cgs[0].path); in subtest_css_iters()
275 skel->bss->leaf_cg_id = get_cgroup_id(cgs[cg_nr - 1].path); in subtest_css_iters()
283 ASSERT_EQ(skel->bss->first_cg_id, get_cgroup_id(cgs[0].path), "first_cg_id"); in subtest_css_iters()
286 ASSERT_EQ(skel->bss->last_cg_id, get_cgroup_id(cgs[0].path), "last_cg_id"); in subtest_css_iters()
H A Dcgroup_ancestor.c99 expected_ids[0] = get_cgroup_id("/.."); /* root cgroup */ in check_ancestors_ids()
100 expected_ids[1] = get_cgroup_id(""); in check_ancestors_ids()
101 expected_ids[2] = get_cgroup_id(CGROUP_PATH); in check_ancestors_ids()
H A Drcu_read_lock.c26 bpf_program__set_autoload(skel->progs.get_cgroup_id, true); in test_success()
143 cgroup_id = get_cgroup_id("/rcu_read_lock"); in test_rcu_read_lock()
H A Dcgroup_get_current_cgroup_id.c37 ucgid = get_cgroup_id(TEST_CGROUP); in test_cgroup_get_current_cgroup_id()
H A Dtask_under_cgroup.c27 skel->rodata->cgid = get_cgroup_id(FOO); in test_task_under_cgroup()
H A Dsock_fields.c360 parent_cg_id = get_cgroup_id(PARENT_CGROUP); in serial_test_sock_fields()
367 child_cg_id = get_cgroup_id(CHILD_CGROUP); in serial_test_sock_fields()
H A Dcgroup_hierarchical_stats.c138 cgroups[i].id = get_cgroup_id(cgroups[i].path); in setup_cgroups()
H A Dcgrp_local_storage.c292 cgroup_id = get_cgroup_id("/cgrp_local_storage"); in cgrp2_local_storage()
H A Dcgroup_iter.c38 cg_id[i] = get_cgroup_id(cg_path[i]); in setup_cgroups()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c121 static inline __u64 get_cgroup_id(struct task_struct *t) in get_cgroup_id() function
176 __u64 cgrp_id = get_cgroup_id(t); in can_record()
219 .cgroup_id = needs_cgroup ? get_cgroup_id(next) : 0, in off_cpu_stat()
/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.h22 unsigned long long get_cgroup_id(const char *relative_path);
H A Dcgroup_helpers.c477 unsigned long long get_cgroup_id(const char *relative_path) in get_cgroup_id() function
/linux/tools/testing/selftests/bpf/progs/
H A Drcu_read_lock.c30 int get_cgroup_id(void *ctx) in get_cgroup_id() function