Home
last modified time | relevance | path

Searched refs:tgt_skel (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dglobal_func_dead_code.c10 struct verifier_global_subprogs *tgt_skel = NULL; in test_global_func_dead_code() local
16 tgt_skel = verifier_global_subprogs__open(); in test_global_func_dead_code()
17 if (!ASSERT_OK_PTR(tgt_skel, "tgt_skel_good_open")) in test_global_func_dead_code()
20 bpf_program__set_autoload(tgt_skel->progs.chained_global_func_calls_success, true); in test_global_func_dead_code()
22 err = verifier_global_subprogs__load(tgt_skel); in test_global_func_dead_code()
26 tgt_fd = bpf_program__fd(tgt_skel->progs.chained_global_func_calls_success); in test_global_func_dead_code()
58 verifier_global_subprogs__destroy(tgt_skel); in test_global_func_dead_code()
Dfexit_bpf2bpf.c531 struct xdp_dummy *tgt_skel = NULL; in test_func_replace_progmap() local
539 tgt_skel = xdp_dummy__open_and_load(); in test_func_replace_progmap()
540 if (!ASSERT_OK_PTR(tgt_skel, "tgt_prog_load")) in test_func_replace_progmap()
544 bpf_program__fd(tgt_skel->progs.xdp_dummy_prog), in test_func_replace_progmap()
567 xdp_dummy__destroy(tgt_skel); in test_func_replace_progmap()