Home
last modified time | relevance | path

Searched refs:bpf_link__destroy (Results 1 – 25 of 132) sorted by relevance

123456

/linux/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_eperm); in test_setsockopt_legacy_eperm()
[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_link); in test_shared()
[all …]
H A Dbpf_cookie.c66 bpf_link__destroy(link1); in kprobe_subtest()
67 bpf_link__destroy(link2); in kprobe_subtest()
68 bpf_link__destroy(retlink1); in kprobe_subtest()
69 bpf_link__destroy(retlink2); in kprobe_subtest()
250 bpf_link__destroy(link2); in uprobe_multi_test_run()
251 bpf_link__destroy(link1); in uprobe_multi_test_run()
331 bpf_link__destroy(link2); in uprobe_subtest()
332 bpf_link__destroy(link1); in uprobe_subtest()
384 bpf_link__destroy(link1); in tp_subtest()
385 bpf_link__destroy(link in tp_subtest()
[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_tcp_ca.c120 bpf_link__destroy(link); in test_cubic()
181 bpf_link__destroy(link); in test_dctcp()
316 bpf_link__destroy(link); in test_dctcp_fallback()
356 bpf_link__destroy(link); in test_write_sk_pacing()
375 bpf_link__destroy(link); in test_incompl_cong_ops()
429 bpf_link__destroy(link); in test_update_ca()
466 bpf_link__destroy(link); in test_update_wrong()
501 bpf_link__destroy(link); in test_mixed_links()
502 bpf_link__destroy(link_nl); in test_mixed_links()
518 bpf_link__destroy(link); 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 Dkprobe_multi_test.c170 bpf_link__destroy(link2); in test_attach_api()
171 bpf_link__destroy(link1); in test_attach_api()
387 bpf_link__destroy(link); in test_attach_api_fails()
429 bpf_link__destroy(link); in test_session_skel_api()
461 bpf_link__destroy(link); in test_session_cookie_skel_api()
480 bpf_link__destroy(link); in test_unique_match()
485 bpf_link__destroy(link); in test_unique_match()
506 bpf_link__destroy(link); in do_bench_test()
587 bpf_link__destroy(link); in test_attach_override()
599 bpf_link__destroy(link); in test_attach_override()
[all …]
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()
517 bpf_link__destroy(link); in misc()
H A Dcgroup1_hierarchy.c24 err = bpf_link__destroy(lsm_link); in bpf_cgroup1()
42 err = bpf_link__destroy(lsm_link); in bpf_cgroup1_sleepable()
61 err = bpf_link__destroy(fentry_link); in bpf_cgroup1_invalid_id()
65 err = bpf_link__destroy(lsm_link); in bpf_cgroup1_invalid_id()
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 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 Dmodule_attach.c155 bpf_link__destroy(link);
H A Dcgroup_iter.c92 bpf_link__destroy(link); in read_from_cgroup_iter()
109 bpf_link__destroy(link); in test_invalid_cgroup()
127 bpf_link__destroy(link); in test_invalid_cgroup_spec()
238 bpf_link__destroy(link); in test_walk_dead_self_only()
272 bpf_link__destroy(link); in test_walk_self_only_css_task()
H A Dcgroup_mprog_opts.c251 bpf_link__destroy(link4); in test_link_attach_detach()
255 bpf_link__destroy(link3); in test_link_attach_detach()
264 bpf_link__destroy(link2); in test_link_attach_detach()
268 bpf_link__destroy(link1); in test_link_attach_detach()
463 bpf_link__destroy(link4); in test_preorder_link_attach_detach()
467 bpf_link__destroy(link3); in test_preorder_link_attach_detach()
471 bpf_link__destroy(link2); in test_preorder_link_attach_detach()
475 bpf_link__destroy(link1); in test_preorder_link_attach_detach()
H A Dxdp_bonding.c198 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in link_cleanup()
412 bpf_link__destroy(link); in test_xdp_bonding_attach()
425 bpf_link__destroy(link); in test_xdp_bonding_attach()
438 bpf_link__destroy(link); in test_xdp_bonding_attach()
456 bpf_link__destroy(link); in test_xdp_bonding_attach()
457 bpf_link__destroy(link2); in test_xdp_bonding_attach()
495 bpf_link__destroy(link); in test_xdp_bonding_nested()
696 bpf_link__destroy(link); in test_xdp_bonding_features()
H A Dstruct_ops_private_stack.c32 bpf_link__destroy(link); in test_private_stack()
75 bpf_link__destroy(link); in test_private_stack_recur()
H A Dcgroup_link.c106 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link()
126 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link()
146 bpf_link__destroy(tmp_link); in serial_test_cgroup_link()
246 bpf_link__destroy(links[i]); in serial_test_cgroup_link()
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 Dcgroup_tcp_skb.c43 bpf_link__destroy(*egress_link); in uninstall_filters()
45 bpf_link__destroy(*ingress_link); in uninstall_filters()
340 bpf_link__destroy(egress_link); in test_cgroup_tcp_skb()
341 bpf_link__destroy(ingress_link); in test_cgroup_tcp_skb()
H A Dtc_links.c469 bpf_link__destroy(link); in test_tc_links_revision_target()
726 bpf_link__destroy(link); in test_tc_links_replace_target()
740 bpf_link__destroy(link); in test_tc_links_replace_target()
753 bpf_link__destroy(link); in test_tc_links_replace_target()
888 bpf_link__destroy(link); in test_tc_links_invalid_target()
900 bpf_link__destroy(link); in test_tc_links_invalid_target()
912 bpf_link__destroy(link); in test_tc_links_invalid_target()
924 bpf_link__destroy(link); in test_tc_links_invalid_target()
937 bpf_link__destroy(link); in test_tc_links_invalid_target()
949 bpf_link__destroy(lin in test_tc_links_invalid_target()
[all...]
H A Drdonly_maps.c67 bpf_link__destroy(link); in test_rdonly_maps()
87 bpf_link__destroy(link); in test_rdonly_maps()
H A Dbpf_iter.c70 bpf_link__destroy(link); in do_dummy_read_opts()
97 bpf_link__destroy(link); in do_read_map_iter_fd()
102 bpf_link__destroy(link); in do_read_map_iter_fd()
200 bpf_link__destroy(link); in check_bpf_link_info()
508 bpf_link__destroy(link); in do_btf_read()
712 bpf_link__destroy(link); in test_file_iter()
832 bpf_link__destroy(link); in test_overflow()
929 bpf_link__destroy(link); in test_bpf_hash_map()
1012 bpf_link__destroy(link); in test_bpf_percpu_hash_map()
1098 bpf_link__destroy(link); in test_bpf_array_map()
[all …]
H A Dtest_struct_ops_module.c54 bpf_link__destroy(link); in attach_ops_and_check()
177 bpf_link__destroy(link); in test_struct_ops_incompatible()
297 bpf_link__destroy(link); in test_detach_link()
/linux/tools/testing/selftests/sched_ext/
H A Dpeek_dsq.c105 bpf_link__destroy(link); in run()
123 bpf_link__destroy(link); in run()
133 bpf_link__destroy(link); in run()
142 bpf_link__destroy(link); in run()
/linux/samples/bpf/
H A Dibumad_user.c62 bpf_link__destroy(tp_links[--tp_cnt]); in dump_exit()
154 bpf_link__destroy(tp_links[--tp_cnt]); in main()

123456