/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_getset_retval.c | 48 bpf_link__destroy(link_set_eunatch); in test_setsockopt_set() 88 bpf_link__destroy(link_set_eunatch); in test_setsockopt_set_and_get() 89 bpf_link__destroy(link_get_retval); in test_setsockopt_set_and_get() 123 bpf_link__destroy(link_get_retval); in test_setsockopt_default_zero() 164 bpf_link__destroy(link_get_retval); in test_setsockopt_default_zero_and_set() 165 bpf_link__destroy(link_set_eunatch); in test_setsockopt_default_zero_and_set() 211 bpf_link__destroy(link_set_eunatch); in test_setsockopt_override() 212 bpf_link__destroy(link_set_eisconn); in test_setsockopt_override() 213 bpf_link__destroy(link_get_retval); in test_setsockopt_override() 255 bpf_link__destroy(link_legacy_eperm); in test_setsockopt_legacy_eperm() [all …]
|
D | cg_storage_multi.c | 148 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 …]
|
D | bpf_cookie.c | 64 bpf_link__destroy(link1); in kprobe_subtest() 65 bpf_link__destroy(link2); in kprobe_subtest() 66 bpf_link__destroy(retlink1); in kprobe_subtest() 67 bpf_link__destroy(retlink2); in kprobe_subtest() 238 bpf_link__destroy(link2); in kprobe_multi_attach_api_subtest() 239 bpf_link__destroy(link1); in kprobe_multi_attach_api_subtest() 290 bpf_link__destroy(link1); in uprobe_subtest() 291 bpf_link__destroy(link2); in uprobe_subtest() 292 bpf_link__destroy(retlink1); in uprobe_subtest() 293 bpf_link__destroy(retlink2); in uprobe_subtest() [all …]
|
D | bpf_loop.c | 40 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()
|
D | test_overhead.c | 114 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()
|
D | tcp_hdr_options.c | 324 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() 511 bpf_link__destroy(link); in misc()
|
D | link_pinning.c | 45 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()
|
D | xdp_bonding.c | 206 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in bonding_cleanup() 414 bpf_link__destroy(link); in test_xdp_bonding_attach() 427 bpf_link__destroy(link); in test_xdp_bonding_attach() 440 bpf_link__destroy(link); in test_xdp_bonding_attach() 458 bpf_link__destroy(link); in test_xdp_bonding_attach() 459 bpf_link__destroy(link2); in test_xdp_bonding_attach() 497 bpf_link__destroy(link); in test_xdp_bonding_nested()
|
D | bpf_tcp_ca.c | 187 bpf_link__destroy(link); in test_cubic() 211 bpf_link__destroy(link); in test_dctcp() 304 bpf_link__destroy(link); in test_dctcp_fallback() 344 bpf_link__destroy(link); in test_write_sk_pacing() 363 bpf_link__destroy(link); in test_incompl_cong_ops()
|
D | bpf_iter.c | 71 bpf_link__destroy(link); in do_dummy_read_opts() 98 bpf_link__destroy(link); in do_read_map_iter_fd() 103 bpf_link__destroy(link); in do_read_map_iter_fd() 206 bpf_link__destroy(link); in check_bpf_link_info() 428 bpf_link__destroy(link); in do_btf_read() 633 bpf_link__destroy(link); in test_file_iter() 760 bpf_link__destroy(link); in test_overflow() 857 bpf_link__destroy(link); in test_bpf_hash_map() 938 bpf_link__destroy(link); in test_bpf_percpu_hash_map() 1019 bpf_link__destroy(link); in test_bpf_array_map() [all …]
|
D | cgroup_link.c | 106 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()
|
D | xdp_link.c | 56 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()
|
D | cgroup_iter.c | 91 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()
|
D | rdonly_maps.c | 67 bpf_link__destroy(link); in test_rdonly_maps() 87 bpf_link__destroy(link); in test_rdonly_maps()
|
D | module_attach.c | 97 bpf_link__destroy(link); in test_module_attach() 104 bpf_link__destroy(link); in test_module_attach()
|
D | kprobe_multi_test.c | 162 bpf_link__destroy(link2); in test_attach_api() 163 bpf_link__destroy(link1); in test_attach_api() 303 bpf_link__destroy(link); in test_attach_api_fails() 435 bpf_link__destroy(link); in serial_test_kprobe_multi_bench_attach()
|
D | bpf_iter_setsockopt.c | 221 bpf_link__destroy(cubic_link); in serial_test_bpf_iter_setsockopt() 222 bpf_link__destroy(dctcp_link); in serial_test_bpf_iter_setsockopt()
|
D | usdt.c | 128 bpf_link__destroy(skel->links.usdt3); in subtest_basic_usdt() 242 bpf_link__destroy(skel->links.usdt_100); in subtest_multispec_usdt() 265 bpf_link__destroy(skel->links.usdt_100); in subtest_multispec_usdt()
|
D | sk_lookup.c | 589 bpf_link__destroy(link[2]); in query_lookup_prog() 591 bpf_link__destroy(link[1]); in query_lookup_prog() 593 bpf_link__destroy(link[0]); in query_lookup_prog() 668 bpf_link__destroy(lookup_link); in run_lookup_prog() 905 bpf_link__destroy(lookup_link); in drop_on_lookup() 1031 bpf_link__destroy(lookup_link); in drop_on_reuseport() 1181 bpf_link__destroy(lookup_link); in run_sk_assign_connected() 1282 bpf_link__destroy(link2); in run_multi_prog_lookup() 1284 bpf_link__destroy(link1); in run_multi_prog_lookup()
|
D | bloom_filter_map.c | 95 bpf_link__destroy(link); in check_bloom() 131 bpf_link__destroy(link); in test_inner_map()
|
/Linux-v6.1/samples/bpf/ |
D | ibumad_user.c | 62 bpf_link__destroy(tp_links[--tp_cnt]); in dump_exit() 154 bpf_link__destroy(tp_links[--tp_cnt]); in main()
|
D | task_fd_query_user.c | 169 bpf_link__destroy(link); in test_nondebug_fs_kuprobe_common() 306 bpf_link__destroy(link); in test_debug_fs_uprobe() 419 bpf_link__destroy(links[i]); in main()
|
D | tracex1_user.c | 47 bpf_link__destroy(link); in main()
|
D | tracex7_user.c | 53 bpf_link__destroy(link); in main()
|
D | test_cgrp2_sock2.c | 92 bpf_link__destroy(link); in main()
|