Home
last modified time | relevance | path

Searched refs:bpf_link__destroy (Results 1 - 25 of 131) sorted by relevance

123456

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c50 bpf_link__destroy(link_set_eunatch); in test_setsockopt_set()
92 bpf_link__destroy(link_set_eunatch); in test_setsockopt_set_and_get()
93 bpf_link__destroy(link_get_retval); in test_setsockopt_set_and_get()
129 bpf_link__destroy(link_get_retval); in test_setsockopt_default_zero()
172 bpf_link__destroy(link_get_retval); in test_setsockopt_default_zero_and_set()
173 bpf_link__destroy(link_set_eunatch); in test_setsockopt_default_zero_and_set()
221 bpf_link__destroy(link_set_eunatch); in test_setsockopt_override()
222 bpf_link__destroy(link_set_eisconn); in test_setsockopt_override()
223 bpf_link__destroy(link_get_retval); in test_setsockopt_override()
267 bpf_link__destroy(link_legacy_eper in test_setsockopt_legacy_eperm()
[all...]
H A Dbpf_loop.c40 bpf_link__destroy(link); in check_nr_loops()
62 bpf_link__destroy(link); in check_callback_fn_stop()
81 bpf_link__destroy(link); in check_null_callback_ctx()
97 bpf_link__destroy(link); in check_invalid_flags()
120 bpf_link__destroy(link); in check_nested_calls()
139 bpf_link__destroy(link); in check_non_constant_callback()
178 bpf_link__destroy(link); in check_stack()
H A Dbpf_cookie.c65 bpf_link__destroy(link1); in kprobe_subtest()
66 bpf_link__destroy(link2); in kprobe_subtest()
67 bpf_link__destroy(retlink1); in kprobe_subtest()
68 bpf_link__destroy(retlink2); in kprobe_subtest()
239 bpf_link__destroy(link2); in kprobe_multi_attach_api_subtest()
240 bpf_link__destroy(link1); in kprobe_multi_attach_api_subtest()
313 bpf_link__destroy(link2); in uprobe_multi_attach_api_subtest()
314 bpf_link__destroy(link1); in uprobe_multi_attach_api_subtest()
366 bpf_link__destroy(link1); in uprobe_subtest()
367 bpf_link__destroy(link in uprobe_subtest()
[all...]
H A Dcg_storage_multi.c152 bpf_link__destroy(parent_link); in test_egress_only()
153 bpf_link__destroy(child_link); in test_egress_only()
261 bpf_link__destroy(parent_egress1_link); in test_isolated()
262 bpf_link__destroy(parent_egress2_link); in test_isolated()
263 bpf_link__destroy(parent_ingress_link); in test_isolated()
264 bpf_link__destroy(child_egress1_link); in test_isolated()
265 bpf_link__destroy(child_egress2_link); in test_isolated()
266 bpf_link__destroy(child_ingress_link); in test_isolated()
360 bpf_link__destroy(parent_egress1_link); in test_shared()
361 bpf_link__destroy(parent_egress2_lin in test_shared()
[all...]
H A Dbpf_tcp_ca.c190 bpf_link__destroy(link); in test_cubic()
214 bpf_link__destroy(link); in test_dctcp()
307 bpf_link__destroy(link); in test_dctcp_fallback()
347 bpf_link__destroy(link); in test_write_sk_pacing()
366 bpf_link__destroy(link); in test_incompl_cong_ops()
412 bpf_link__destroy(link); in test_update_ca()
440 bpf_link__destroy(link); in test_update_wrong()
466 bpf_link__destroy(link); in test_mixed_links()
467 bpf_link__destroy(link_nl); in test_mixed_links()
482 bpf_link__destroy(lin in test_multi_links()
[all...]
H A Dtest_overhead.c114 bpf_link__destroy(link); in test_test_overhead()
122 bpf_link__destroy(link); in test_test_overhead()
129 bpf_link__destroy(link); in test_test_overhead()
136 bpf_link__destroy(link); in test_test_overhead()
143 bpf_link__destroy(link); in test_test_overhead()
H A Dtcp_hdr_options.c324 bpf_link__destroy(link); in fastopen_estab()
329 bpf_link__destroy(link); in fastopen_estab()
368 bpf_link__destroy(link); in syncookie_estab()
373 bpf_link__destroy(link); in syncookie_estab()
400 bpf_link__destroy(link); in fin()
405 bpf_link__destroy(link); in fin()
439 bpf_link__destroy(link); in __simple_estab()
444 bpf_link__destroy(link); in __simple_estab()
476 bpf_link__destroy(link); in misc()
513 bpf_link__destroy(lin in misc()
[all...]
H A Dlink_pinning.c45 bpf_link__destroy(link); in test_link_pinning_subtest()
70 bpf_link__destroy(link); in test_link_pinning_subtest()
87 bpf_link__destroy(link); in test_link_pinning_subtest()
H A Dsockopt_multi.c114 bpf_link__destroy(link_child); in run_getsockopt_test()
152 bpf_link__destroy(link_child); in run_getsockopt_test()
153 bpf_link__destroy(link_parent); in run_getsockopt_test()
247 bpf_link__destroy(link_child); in run_setsockopt_test()
248 bpf_link__destroy(link_parent); in run_setsockopt_test()
H A Dxdp_bonding.c199 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in bonding_cleanup()
407 bpf_link__destroy(link); in test_xdp_bonding_attach()
420 bpf_link__destroy(link); in test_xdp_bonding_attach()
433 bpf_link__destroy(link); in test_xdp_bonding_attach()
451 bpf_link__destroy(link); in test_xdp_bonding_attach()
452 bpf_link__destroy(link2); in test_xdp_bonding_attach()
490 bpf_link__destroy(link); in test_xdp_bonding_nested()
607 bpf_link__destroy(link); in test_xdp_bonding_features()
H A Dmodule_attach.c93 bpf_link__destroy(link); in test_module_attach()
100 bpf_link__destroy(link); in test_module_attach()
107 bpf_link__destroy(link); in test_module_attach()
H A Dtc_links.c467 bpf_link__destroy(link); in test_tc_links_revision_target()
724 bpf_link__destroy(link); in test_tc_links_replace_target()
738 bpf_link__destroy(link); in test_tc_links_replace_target()
751 bpf_link__destroy(link); in test_tc_links_replace_target()
886 bpf_link__destroy(link); in test_tc_links_invalid_target()
898 bpf_link__destroy(link); in test_tc_links_invalid_target()
910 bpf_link__destroy(link); in test_tc_links_invalid_target()
922 bpf_link__destroy(link); in test_tc_links_invalid_target()
935 bpf_link__destroy(link); in test_tc_links_invalid_target()
947 bpf_link__destroy(lin in test_tc_links_invalid_target()
[all...]
H A Dcgroup_iter.c91 bpf_link__destroy(link); in read_from_cgroup_iter()
108 bpf_link__destroy(link); in test_invalid_cgroup()
126 bpf_link__destroy(link); in test_invalid_cgroup_spec()
227 bpf_link__destroy(link); in test_walk_dead_self_only()
261 bpf_link__destroy(link); in test_walk_dead_self_only()
H A Dxdp_link.c56 bpf_link__destroy(link); in serial_test_xdp_link()
99 bpf_link__destroy(link); in serial_test_xdp_link()
103 bpf_link__destroy(skel1->links.xdp_handler); in serial_test_xdp_link()
H A Dnetfilter_link_attach.c70 if (!ASSERT_OK(bpf_link__destroy(link), "link destroy")) in test_netfilter_link_attach()
76 if (!ASSERT_OK(bpf_link__destroy(link2), "link destroy")) in test_netfilter_link_attach()
H A Drdonly_maps.c67 bpf_link__destroy(link); in test_rdonly_maps()
87 bpf_link__destroy(link); in test_rdonly_maps()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c155 bpf_link__destroy(parent_link); in test_egress_only()
157 bpf_link__destroy(child_link); in test_egress_only()
272 bpf_link__destroy(parent_egress1_link); in test_isolated()
274 bpf_link__destroy(parent_egress2_link); in test_isolated()
276 bpf_link__destroy(parent_ingress_link); in test_isolated()
278 bpf_link__destroy(child_egress1_link); in test_isolated()
280 bpf_link__destroy(child_egress2_link); in test_isolated()
282 bpf_link__destroy(child_ingress_link); in test_isolated()
383 bpf_link__destroy(parent_egress1_link); in test_shared()
385 bpf_link__destroy(parent_egress2_lin in test_shared()
[all...]
H A Dtest_overhead.c114 bpf_link__destroy(link); in test_test_overhead()
122 bpf_link__destroy(link); in test_test_overhead()
129 bpf_link__destroy(link); in test_test_overhead()
136 bpf_link__destroy(link); in test_test_overhead()
143 bpf_link__destroy(link); in test_test_overhead()
H A Dtcp_hdr_options.c361 bpf_link__destroy(link); in fastopen_estab()
366 bpf_link__destroy(link); in fastopen_estab()
406 bpf_link__destroy(link); in syncookie_estab()
411 bpf_link__destroy(link); in syncookie_estab()
439 bpf_link__destroy(link); in fin()
444 bpf_link__destroy(link); in fin()
479 bpf_link__destroy(link); in __simple_estab()
484 bpf_link__destroy(link); in __simple_estab()
517 bpf_link__destroy(link); in misc()
560 bpf_link__destroy(lin in misc()
[all...]
H A Dlink_pinning.c45 bpf_link__destroy(link); in test_link_pinning_subtest()
70 bpf_link__destroy(link); in test_link_pinning_subtest()
88 bpf_link__destroy(link); in test_link_pinning_subtest()
H A Dtrampoline_count.c100 bpf_link__destroy(link); in test_trampoline_count()
119 bpf_link__destroy(inst[i].link_fentry); in test_trampoline_count()
120 bpf_link__destroy(inst[i].link_fexit); in test_trampoline_count()
H A Dkfree_skb.c148 bpf_link__destroy(link); in test_kfree_skb()
150 bpf_link__destroy(link_fentry); in test_kfree_skb()
152 bpf_link__destroy(link_fexit); in test_kfree_skb()
H A Dxdp_link.c55 bpf_link__destroy(link); in test_xdp_link()
99 bpf_link__destroy(link); in test_xdp_link()
103 bpf_link__destroy(skel1->links.xdp_handler); in test_xdp_link()
H A Dbpf_iter.c63 bpf_link__destroy(link); in do_dummy_read()
216 bpf_link__destroy(link); in do_btf_read()
421 bpf_link__destroy(link); in test_file_iter()
555 bpf_link__destroy(link); in test_overflow()
657 bpf_link__destroy(link); in test_bpf_hash_map()
748 bpf_link__destroy(link); in test_bpf_percpu_hash_map()
834 bpf_link__destroy(link); in test_bpf_array_map()
911 bpf_link__destroy(link); in test_bpf_percpu_array_map()
980 bpf_link__destroy(link); in test_bpf_sk_storage_map()
1007 bpf_link__destroy(lin in test_rdonly_buf_out_of_bound()
[all...]
H A Drdonly_maps.c70 bpf_link__destroy(link); in test_rdonly_maps()
90 bpf_link__destroy(link); in test_rdonly_maps()

Completed in 13 milliseconds

123456