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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt.c185 struct bpf_cubic *cubic_skel = NULL; local
202 cubic_skel = bpf_cubic__open_and_load();
203 if (!ASSERT_OK_PTR(cubic_skel, "cubic_skel"))
205 cubic_link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic);
223 bpf_cubic__destroy(cubic_skel);
H A Dbpf_tcp_ca.c171 struct bpf_cubic *cubic_skel; local
174 cubic_skel = bpf_cubic__open_and_load();
175 if (!ASSERT_OK_PTR(cubic_skel, "bpf_cubic__open_and_load"))
178 link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic);
180 bpf_cubic__destroy(cubic_skel);
186 ASSERT_EQ(cubic_skel->bss->bpf_cubic_acked_called, 1, "pkts_acked called");
189 bpf_cubic__destroy(cubic_skel);

Completed in 201 milliseconds