Searched refs:tgt_obj (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fexit_bpf2bpf.c | 63 struct bpf_object *obj = NULL, *tgt_obj; in test_fexit_bpf2bpf_common() local 77 &tgt_obj, &tgt_fd); in test_fexit_bpf2bpf_common() 87 btf = bpf_object__btf(tgt_obj); in test_fexit_bpf2bpf_common() 169 bpf_object__close(tgt_obj); in test_fexit_bpf2bpf_common() 234 struct bpf_object *tgt_obj; in test_second_attach() local 248 &tgt_obj, &tgt_fd); in test_second_attach() 268 bpf_object__close(tgt_obj); in test_second_attach()
|
| H A D | tailcalls.c | 1016 struct bpf_object *tgt_obj = NULL, *fentry_obj = NULL; in test_tailcall_bpf2bpf_fentry_entry() 1031 &tgt_obj, &prog_fd); in test_tailcall_bpf2bpf_fentry_entry() 1032 if (!ASSERT_OK(err, "load tgt_obj")) in test_tailcall_bpf2bpf_fentry_entry() 1035 prog_array = bpf_object__find_map_by_name(tgt_obj, "jmp_table"); in test_tailcall_bpf2bpf_fentry_entry() 1043 prog = bpf_object__find_program_by_name(tgt_obj, "classifier_0"); in test_tailcall_bpf2bpf_fentry_entry() 1081 data_map = bpf_object__find_map_by_name(tgt_obj, "tailcall.bss"); in test_tailcall_bpf2bpf_fentry_entry() 1113 bpf_object__close(tgt_obj); in test_tailcall_bpf2bpf_fentry_entry() 1015 struct bpf_object *tgt_obj = NULL, *fentry_obj = NULL; test_tailcall_bpf2bpf_fentry_entry() local
|