Lines Matching refs:prog_array

15 	struct bpf_map *prog_array;  in test_tailcall_1()  local
39 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
40 if (CHECK_FAIL(!prog_array)) in test_tailcall_1()
43 map_fd = bpf_map__fd(prog_array); in test_tailcall_1()
47 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
63 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
77 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
97 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
98 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
114 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
115 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
130 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
151 struct bpf_map *prog_array; in test_tailcall_2() local
175 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_2()
176 if (CHECK_FAIL(!prog_array)) in test_tailcall_2()
179 map_fd = bpf_map__fd(prog_array); in test_tailcall_2()
183 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_2()
230 struct bpf_map *prog_array, *data_map; in test_tailcall_count() local
252 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_count()
253 if (CHECK_FAIL(!prog_array)) in test_tailcall_count()
256 map_fd = bpf_map__fd(prog_array); in test_tailcall_count()
411 struct bpf_map *prog_array, *data_map; in test_tailcall_4() local
436 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_4()
437 if (CHECK_FAIL(!prog_array)) in test_tailcall_4()
440 map_fd = bpf_map__fd(prog_array); in test_tailcall_4()
452 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
468 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
478 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
501 struct bpf_map *prog_array, *data_map; in test_tailcall_5() local
526 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_5()
527 if (CHECK_FAIL(!prog_array)) in test_tailcall_5()
530 map_fd = bpf_map__fd(prog_array); in test_tailcall_5()
542 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
558 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
568 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
591 struct bpf_map *prog_array; in test_tailcall_bpf2bpf_1() local
614 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_1()
615 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_1()
618 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_1()
623 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_1()
675 struct bpf_map *prog_array, *data_map; in test_tailcall_bpf2bpf_2() local
698 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_2()
699 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_2()
702 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_2()
755 struct bpf_map *prog_array; in test_tailcall_bpf2bpf_3() local
778 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_3()
779 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_3()
782 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_3()
786 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_3()
850 struct bpf_map *prog_array, *data_map; in test_tailcall_bpf2bpf_4() local
873 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_4()
874 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_4()
877 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_4()
881 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_4()
1013 struct bpf_map *prog_array, *data_map; in test_tailcall_bpf2bpf_fentry_entry() local
1030 prog_array = bpf_object__find_map_by_name(tgt_obj, "jmp_table"); in test_tailcall_bpf2bpf_fentry_entry()
1031 if (!ASSERT_OK_PTR(prog_array, "find jmp_table map")) in test_tailcall_bpf2bpf_fentry_entry()
1034 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_fentry_entry()