Home
last modified time | relevance | path

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

123

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcg_storage_multi.c151 bpf_link__destroy(parent_link); in test_egress_only()
153 bpf_link__destroy(child_link); in test_egress_only()
268 bpf_link__destroy(parent_egress1_link); in test_isolated()
270 bpf_link__destroy(parent_egress2_link); in test_isolated()
272 bpf_link__destroy(parent_ingress_link); in test_isolated()
274 bpf_link__destroy(child_egress1_link); in test_isolated()
276 bpf_link__destroy(child_egress2_link); in test_isolated()
278 bpf_link__destroy(child_ingress_link); in test_isolated()
379 bpf_link__destroy(parent_egress1_link); in test_shared()
381 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.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(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()
88 bpf_link__destroy(link); in test_link_pinning_subtest()
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()
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()
Dcgroup_link.c110 bpf_link__destroy(links[last_cg]); in test_cgroup_link()
131 bpf_link__destroy(links[last_cg]); in test_cgroup_link()
151 bpf_link__destroy(tmp_link); in test_cgroup_link()
253 bpf_link__destroy(links[i]); in test_cgroup_link()
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()
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(link); in test_rdonly_buf_out_of_bound()
Drdonly_maps.c70 bpf_link__destroy(link); in test_rdonly_maps()
90 bpf_link__destroy(link); in test_rdonly_maps()
Dsk_lookup.c548 bpf_link__destroy(link[2]); in query_lookup_prog()
550 bpf_link__destroy(link[1]); in query_lookup_prog()
552 bpf_link__destroy(link[0]); in query_lookup_prog()
627 bpf_link__destroy(lookup_link); in run_lookup_prog()
864 bpf_link__destroy(lookup_link); in drop_on_lookup()
959 bpf_link__destroy(lookup_link); in drop_on_reuseport()
1049 bpf_link__destroy(lookup_link); in run_sk_assign()
1098 bpf_link__destroy(lookup_link); in run_sk_assign_connected()
1199 bpf_link__destroy(link2); in run_multi_prog_lookup()
1201 bpf_link__destroy(link1); in run_multi_prog_lookup()
Dfexit_bpf2bpf.c120 bpf_link__destroy(link[i]); in test_fexit_bpf2bpf_common()
219 bpf_link__destroy(link); in test_second_attach()
282 bpf_link__destroy(freplace_link); in test_fmod_ret_freplace()
Dbpf_tcp_ca.c200 bpf_link__destroy(link); in test_cubic()
225 bpf_link__destroy(link); in test_dctcp()
Dstacktrace_map_raw_tp.c63 bpf_link__destroy(link); in test_stacktrace_map_raw_tp()
Dstacktrace_map.c72 bpf_link__destroy(link); in test_stacktrace_map()
Dcgroup_skb_sk_lookup.c68 bpf_link__destroy(link); in run_cgroup_bpf_test()
/Linux-v5.10/samples/bpf/
Dtracex1_user.c47 bpf_link__destroy(link); in main()
Dtracex7_user.c48 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.c98 bpf_link__destroy(link); in main()
Dtracex4_user.c99 bpf_link__destroy(links[j]); in main()
Dtest_current_task_under_cgroup_user.c110 bpf_link__destroy(link); in main()
Dtrace_output_user.c104 bpf_link__destroy(link); in main()
Dspintest_user.c95 bpf_link__destroy(links[j]); in main()
/Linux-v5.10/tools/bpf/bpftool/
Diter.c86 bpf_link__destroy(link); in do_pin()

123