Lines Matching refs:obj
14 struct bpf_object *obj; in test_tailcall_1() local
19 err = bpf_prog_load("tailcall1.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_1()
24 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_1()
32 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
43 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_1()
75 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_1()
97 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_1()
140 bpf_object__close(obj); in test_tailcall_1()
152 struct bpf_object *obj; in test_tailcall_2() local
157 err = bpf_prog_load("tailcall2.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_2()
162 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_2()
170 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_2()
181 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_2()
219 bpf_object__close(obj); in test_tailcall_2()
230 struct bpf_object *obj; in test_tailcall_3() local
234 err = bpf_prog_load("tailcall3.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_3()
239 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_3()
247 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_3()
255 prog = bpf_object__find_program_by_title(obj, "classifier/0"); in test_tailcall_3()
273 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_3()
296 bpf_object__close(obj); in test_tailcall_3()
308 struct bpf_object *obj; in test_tailcall_4() local
314 err = bpf_prog_load("tailcall4.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_4()
319 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_4()
327 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_4()
335 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_4()
346 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_4()
385 bpf_object__close(obj); in test_tailcall_4()
396 struct bpf_object *obj; in test_tailcall_5() local
402 err = bpf_prog_load("tailcall5.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_5()
407 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_5()
415 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_5()
423 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_5()
434 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_5()
473 bpf_object__close(obj); in test_tailcall_5()
484 struct bpf_object *obj; in test_tailcall_bpf2bpf_1() local
489 &obj, &prog_fd); in test_tailcall_bpf2bpf_1()
493 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_bpf2bpf_1()
501 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_1()
513 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_bpf2bpf_1()
556 bpf_object__close(obj); in test_tailcall_bpf2bpf_1()
568 struct bpf_object *obj; in test_tailcall_bpf2bpf_2() local
573 &obj, &prog_fd); in test_tailcall_bpf2bpf_2()
577 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_bpf2bpf_2()
585 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_2()
593 prog = bpf_object__find_program_by_title(obj, "classifier/0"); in test_tailcall_bpf2bpf_2()
611 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_bpf2bpf_2()
634 bpf_object__close(obj); in test_tailcall_bpf2bpf_2()
646 struct bpf_object *obj; in test_tailcall_bpf2bpf_3() local
651 &obj, &prog_fd); in test_tailcall_bpf2bpf_3()
655 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_bpf2bpf_3()
663 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_3()
674 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_bpf2bpf_3()
715 bpf_object__close(obj); in test_tailcall_bpf2bpf_3()
743 struct bpf_object *obj; in test_tailcall_bpf2bpf_4() local
748 &obj, &prog_fd); in test_tailcall_bpf2bpf_4()
752 prog = bpf_object__find_program_by_title(obj, "classifier"); in test_tailcall_bpf2bpf_4()
760 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_4()
771 prog = bpf_object__find_program_by_title(obj, prog_name); in test_tailcall_bpf2bpf_4()
784 data_map = bpf_object__find_map_by_name(obj, "tailcall.bss"); in test_tailcall_bpf2bpf_4()
810 bpf_object__close(obj); in test_tailcall_bpf2bpf_4()