Home
last modified time | relevance | path

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

123

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dbpf_cookie.c54 bpf_link__destroy(link1); in kprobe_subtest()
55 bpf_link__destroy(link2); in kprobe_subtest()
56 bpf_link__destroy(retlink1); in kprobe_subtest()
57 bpf_link__destroy(retlink2); in kprobe_subtest()
108 bpf_link__destroy(link1); in uprobe_subtest()
109 bpf_link__destroy(link2); in uprobe_subtest()
110 bpf_link__destroy(retlink1); in uprobe_subtest()
111 bpf_link__destroy(retlink2); in uprobe_subtest()
143 bpf_link__destroy(link1); in tp_subtest()
161 bpf_link__destroy(link1); in tp_subtest()
[all …]
Dcg_storage_multi.c148 bpf_link__destroy(parent_link); in test_egress_only()
149 bpf_link__destroy(child_link); in test_egress_only()
257 bpf_link__destroy(parent_egress1_link); in test_isolated()
258 bpf_link__destroy(parent_egress2_link); in test_isolated()
259 bpf_link__destroy(parent_ingress_link); in test_isolated()
260 bpf_link__destroy(child_egress1_link); in test_isolated()
261 bpf_link__destroy(child_egress2_link); in test_isolated()
262 bpf_link__destroy(child_ingress_link); in test_isolated()
356 bpf_link__destroy(parent_egress1_link); in test_shared()
357 bpf_link__destroy(parent_egress2_link); in test_shared()
[all …]
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()
Dtcp_hdr_options.c360 bpf_link__destroy(link); in fastopen_estab()
365 bpf_link__destroy(link); in fastopen_estab()
404 bpf_link__destroy(link); in syncookie_estab()
409 bpf_link__destroy(link); in syncookie_estab()
436 bpf_link__destroy(link); in fin()
441 bpf_link__destroy(link); in fin()
475 bpf_link__destroy(link); in __simple_estab()
480 bpf_link__destroy(link); in __simple_estab()
512 bpf_link__destroy(link); in misc()
555 bpf_link__destroy(link); in misc()
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()
Dtrampoline_count.c101 bpf_link__destroy(link); in test_trampoline_count()
121 bpf_link__destroy(inst[i].link_fentry); in test_trampoline_count()
122 bpf_link__destroy(inst[i].link_fexit); in test_trampoline_count()
Dxdp_bonding.c206 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in bonding_cleanup()
410 bpf_link__destroy(link); in test_xdp_bonding_attach()
423 bpf_link__destroy(link); in test_xdp_bonding_attach()
436 bpf_link__destroy(link); in test_xdp_bonding_attach()
454 bpf_link__destroy(link); in test_xdp_bonding_attach()
455 bpf_link__destroy(link2); in test_xdp_bonding_attach()
493 bpf_link__destroy(link); in test_xdp_bonding_nested()
Dkfree_skb.c145 bpf_link__destroy(link); in test_kfree_skb()
146 bpf_link__destroy(link_fentry); in test_kfree_skb()
147 bpf_link__destroy(link_fexit); in test_kfree_skb()
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()
Dcgroup_link.c109 bpf_link__destroy(links[last_cg]); in test_cgroup_link()
129 bpf_link__destroy(links[last_cg]); in test_cgroup_link()
149 bpf_link__destroy(tmp_link); in test_cgroup_link()
249 bpf_link__destroy(links[i]); in test_cgroup_link()
Drdonly_maps.c67 bpf_link__destroy(link); in test_rdonly_maps()
87 bpf_link__destroy(link); in test_rdonly_maps()
Dmodule_attach.c101 bpf_link__destroy(link); in test_module_attach()
108 bpf_link__destroy(link); in test_module_attach()
Dbpf_iter.c66 bpf_link__destroy(link); in do_dummy_read()
229 bpf_link__destroy(link); in do_btf_read()
447 bpf_link__destroy(link); in test_file_iter()
581 bpf_link__destroy(link); in test_overflow()
681 bpf_link__destroy(link); in test_bpf_hash_map()
772 bpf_link__destroy(link); in test_bpf_percpu_hash_map()
858 bpf_link__destroy(link); in test_bpf_array_map()
935 bpf_link__destroy(link); in test_bpf_percpu_array_map()
994 bpf_link__destroy(link); in test_bpf_sk_storage_delete()
1117 bpf_link__destroy(link); in test_bpf_sk_storage_map()
[all …]
Dbpf_tcp_ca.c186 bpf_link__destroy(link); in test_cubic()
210 bpf_link__destroy(link); in test_dctcp()
298 bpf_link__destroy(link); in test_dctcp_fallback()
Dfexit_bpf2bpf.c149 bpf_link__destroy(link[i]); in test_fexit_bpf2bpf_common()
247 bpf_link__destroy(link); in test_second_attach()
306 bpf_link__destroy(freplace_link); in test_fmod_ret_freplace()
Dsk_lookup.c590 bpf_link__destroy(link[2]); in query_lookup_prog()
592 bpf_link__destroy(link[1]); in query_lookup_prog()
594 bpf_link__destroy(link[0]); in query_lookup_prog()
669 bpf_link__destroy(lookup_link); in run_lookup_prog()
906 bpf_link__destroy(lookup_link); in drop_on_lookup()
1001 bpf_link__destroy(lookup_link); in drop_on_reuseport()
1151 bpf_link__destroy(lookup_link); in run_sk_assign_connected()
1252 bpf_link__destroy(link2); in run_multi_prog_lookup()
1254 bpf_link__destroy(link1); in run_multi_prog_lookup()
Dbpf_iter_setsockopt.c221 bpf_link__destroy(cubic_link); in test_bpf_iter_setsockopt()
222 bpf_link__destroy(dctcp_link); in test_bpf_iter_setsockopt()
Dstacktrace_map_raw_tp.c62 bpf_link__destroy(link); in test_stacktrace_map_raw_tp()
/Linux-v5.15/samples/bpf/
Dibumad_user.c63 bpf_link__destroy(tp_links[--tp_cnt]); in dump_exit()
155 bpf_link__destroy(tp_links[--tp_cnt]); in main()
Dtask_fd_query_user.c170 bpf_link__destroy(link); in test_nondebug_fs_kuprobe_common()
307 bpf_link__destroy(link); in test_debug_fs_uprobe()
420 bpf_link__destroy(links[i]); in main()
Dtracex1_user.c47 bpf_link__destroy(link); in main()
Dtracex7_user.c53 bpf_link__destroy(link); in main()
Dtest_cgrp2_sock2.c92 bpf_link__destroy(link); in main()
Dtrace_event_user.c174 bpf_link__destroy(links[i]); in test_perf_event_all_cpu()
211 bpf_link__destroy(link); in test_perf_event_task()
Dtracex5_user.c95 bpf_link__destroy(link); in main()

123