Lines Matching refs:prog_array

12 	struct bpf_map *prog_array;  in test_tailcall_1()  local
36 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
37 if (CHECK_FAIL(!prog_array)) in test_tailcall_1()
40 map_fd = bpf_map__fd(prog_array); in test_tailcall_1()
44 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
60 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
74 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
94 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
95 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
111 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
112 j = bpf_map__max_entries(prog_array) - 1 - i; in test_tailcall_1()
127 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_1()
148 struct bpf_map *prog_array; in test_tailcall_2() local
172 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_2()
173 if (CHECK_FAIL(!prog_array)) in test_tailcall_2()
176 map_fd = bpf_map__fd(prog_array); in test_tailcall_2()
180 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_2()
224 struct bpf_map *prog_array, *data_map; in test_tailcall_count() local
247 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_count()
248 if (CHECK_FAIL(!prog_array)) in test_tailcall_count()
251 map_fd = bpf_map__fd(prog_array); in test_tailcall_count()
320 struct bpf_map *prog_array, *data_map; in test_tailcall_4() local
345 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_4()
346 if (CHECK_FAIL(!prog_array)) in test_tailcall_4()
349 map_fd = bpf_map__fd(prog_array); in test_tailcall_4()
361 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
377 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
387 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_4()
410 struct bpf_map *prog_array, *data_map; in test_tailcall_5() local
435 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_5()
436 if (CHECK_FAIL(!prog_array)) in test_tailcall_5()
439 map_fd = bpf_map__fd(prog_array); in test_tailcall_5()
451 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
467 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
477 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_5()
500 struct bpf_map *prog_array; in test_tailcall_bpf2bpf_1() local
523 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_1()
524 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_1()
527 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_1()
532 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_1()
584 struct bpf_map *prog_array, *data_map; in test_tailcall_bpf2bpf_2() local
607 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_2()
608 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_2()
611 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_2()
664 struct bpf_map *prog_array; in test_tailcall_bpf2bpf_3() local
687 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_3()
688 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_3()
691 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_3()
695 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_3()
759 struct bpf_map *prog_array, *data_map; in test_tailcall_bpf2bpf_4() local
782 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_bpf2bpf_4()
783 if (CHECK_FAIL(!prog_array)) in test_tailcall_bpf2bpf_4()
786 map_fd = bpf_map__fd(prog_array); in test_tailcall_bpf2bpf_4()
790 for (i = 0; i < bpf_map__max_entries(prog_array); i++) { in test_tailcall_bpf2bpf_4()