Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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 …]
Drcu_read_lock.c26 bpf_program__set_autoload(skel->progs.get_cgroup_id, true); in test_success()
137 cgroup_id = get_cgroup_id("/rcu_read_lock"); in test_rcu_read_lock()
Dtask_under_cgroup.c27 skel->rodata->cgid = get_cgroup_id(FOO); in test_task_under_cgroup()
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()
Dcgroup_hierarchical_stats.c138 cgroups[i].id = get_cgroup_id(cgroups[i].path); in setup_cgroups()
Dcgrp_local_storage.c248 cgroup_id = get_cgroup_id("/cgrp_local_storage"); in test_cgrp_local_storage()
Dcgroup_iter.c37 cg_id[i] = get_cgroup_id(cg_path[i]); in setup_cgroups()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c122 expected_ids[0] = get_cgroup_id("/.."); /* root cgroup */ in check_ancestor_cgroup_ids()
123 expected_ids[1] = get_cgroup_id(""); in check_ancestor_cgroup_ids()
124 expected_ids[2] = get_cgroup_id(CGROUP_PATH); in check_ancestor_cgroup_ids()
Dcgroup_helpers.h22 unsigned long long get_cgroup_id(const char *relative_path);
Dget_cgroup_id_user.c136 ucgid = get_cgroup_id(TEST_CGROUP); in main()
Dcgroup_helpers.c405 unsigned long long get_cgroup_id(const char *relative_path) in get_cgroup_id() function
/Linux-v6.6/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c120 static inline __u64 get_cgroup_id(struct task_struct *t) in get_cgroup_id() function
175 __u64 cgrp_id = get_cgroup_id(t); in can_record()
218 .cgroup_id = needs_cgroup ? get_cgroup_id(next) : 0, in off_cpu_stat()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Drcu_read_lock.c30 int get_cgroup_id(void *ctx) in get_cgroup_id() function