Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter_setsockopt.c185 struct bpf_cubic *cubic_skel = NULL; in test_bpf_iter_setsockopt() local
202 cubic_skel = bpf_cubic__open_and_load(); in test_bpf_iter_setsockopt()
203 if (!ASSERT_OK_PTR(cubic_skel, "cubic_skel")) in test_bpf_iter_setsockopt()
205 cubic_link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in test_bpf_iter_setsockopt()
223 bpf_cubic__destroy(cubic_skel); in test_bpf_iter_setsockopt()
Dbpf_tcp_ca.c171 struct bpf_cubic *cubic_skel; in test_cubic() local
174 cubic_skel = bpf_cubic__open_and_load(); in test_cubic()
175 if (CHECK(!cubic_skel, "bpf_cubic__open_and_load", "failed\n")) in test_cubic()
178 link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in test_cubic()
180 bpf_cubic__destroy(cubic_skel); in test_cubic()
187 bpf_cubic__destroy(cubic_skel); in test_cubic()