Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c58 struct bpf_link *link_set_eunatch = NULL, *link_get_retval = NULL; in test_setsockopt_set_and_get() local
73 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_set_and_get()
75 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_set_and_get()
93 bpf_link__destroy(link_get_retval); in test_setsockopt_set_and_get()
101 struct bpf_link *link_get_retval = NULL; in test_setsockopt_default_zero() local
112 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero()
114 if (!ASSERT_OK_PTR(link_get_retval, "cg-attach-get_retval")) in test_setsockopt_default_zero()
129 bpf_link__destroy(link_get_retval); in test_setsockopt_default_zero()
137 struct bpf_link *link_get_retval = NULL, *link_set_eunatch = NULL; in test_setsockopt_default_zero_and_set() local
149 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero_and_set()
[all …]