Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_multi.c11 struct bpf_link *link_child = NULL; in run_getsockopt_test() local
44 link_child = bpf_program__attach_cgroup(obj->progs._getsockopt_child, in run_getsockopt_test()
46 if (!ASSERT_OK_PTR(link_child, "cg-attach-getsockopt_child")) in run_getsockopt_test()
114 bpf_link__destroy(link_child); in run_getsockopt_test()
115 link_child = NULL; in run_getsockopt_test()
152 bpf_link__destroy(link_child); in run_getsockopt_test()
162 struct bpf_link *link_child = NULL; in run_setsockopt_test() local
192 link_child = bpf_program__attach_cgroup(obj->progs._setsockopt, in run_setsockopt_test()
194 if (!ASSERT_OK_PTR(link_child, "cg-attach-setsockopt_child")) in run_setsockopt_test()
247 bpf_link__destroy(link_child); in run_setsockopt_test()