Home
last modified time | relevance | path

Searched refs:parent_cg_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcgroup_hierarchical_stats.c88 __u64 parent_cg_id = parent ? cgroup_id(parent) : 0; in BPF_PROG() local
119 if (!delta || !parent_cg_id) in BPF_PROG()
124 &parent_cg_id); in BPF_PROG()
128 create_attach_counter(parent_cg_id, 0, delta); in BPF_PROG()
Dtest_sock_fields.c55 __u64 parent_cg_id = 0; variable
188 parent_cg_id = bpf_sk_ancestor_cgroup_id(ktp, 2); in egress_read_sock_fields()
189 if (!parent_cg_id) in egress_read_sock_fields()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c43 static __u64 parent_cg_id; variable
202 CHECK(skel->bss->parent_cg_id != parent_cg_id, in check_result()
204 (size_t)skel->bss->parent_cg_id, (size_t)parent_cg_id); in check_result()
360 parent_cg_id = get_cgroup_id(PARENT_CGROUP); in serial_test_sock_fields()
361 if (CHECK_FAIL(!parent_cg_id)) in serial_test_sock_fields()