Lines Matching refs:err

18 	int err, map_fd, prog_fd, main_fd, i, j;  in test_tailcall_1()  local
30 err = bpf_prog_test_load("tailcall1.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_1()
32 if (CHECK_FAIL(err)) in test_tailcall_1()
62 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
63 if (CHECK_FAIL(err)) in test_tailcall_1()
68 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
69 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
72 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1()
73 if (CHECK_FAIL(err)) in test_tailcall_1()
77 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
78 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
92 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
93 if (CHECK_FAIL(err)) in test_tailcall_1()
97 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
98 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
113 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
114 if (CHECK_FAIL(err)) in test_tailcall_1()
121 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
122 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
125 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1()
126 if (CHECK_FAIL(err)) in test_tailcall_1()
130 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
131 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
135 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_1()
136 if (CHECK_FAIL(err >= 0 || errno != ENOENT)) in test_tailcall_1()
139 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1()
140 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
154 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_2() local
166 err = bpf_prog_test_load("tailcall2.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_2()
168 if (CHECK_FAIL(err)) in test_tailcall_2()
198 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_2()
199 if (CHECK_FAIL(err)) in test_tailcall_2()
203 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2()
204 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
208 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2()
209 if (CHECK_FAIL(err)) in test_tailcall_2()
212 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2()
213 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
217 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_2()
218 if (CHECK_FAIL(err)) in test_tailcall_2()
221 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2()
222 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
233 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_count() local
243 err = bpf_prog_test_load(which, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_count()
245 if (CHECK_FAIL(err)) in test_tailcall_count()
273 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_count()
274 if (CHECK_FAIL(err)) in test_tailcall_count()
287 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_count()
289 if (!ASSERT_OK(err, "set_attach_target subprog_tail")) in test_tailcall_count()
292 err = bpf_object__load(fentry_obj); in test_tailcall_count()
293 if (!ASSERT_OK(err, "load fentry_obj")) in test_tailcall_count()
311 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_count()
313 if (!ASSERT_OK(err, "set_attach_target subprog_tail")) in test_tailcall_count()
316 err = bpf_object__load(fexit_obj); in test_tailcall_count()
317 if (!ASSERT_OK(err, "load fexit_obj")) in test_tailcall_count()
325 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_count()
326 ASSERT_OK(err, "tailcall"); in test_tailcall_count()
338 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_count()
339 ASSERT_OK(err, "tailcall count"); in test_tailcall_count()
354 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_count()
355 ASSERT_OK(err, "fentry count"); in test_tailcall_count()
371 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_count()
372 ASSERT_OK(err, "fexit count"); in test_tailcall_count()
377 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_count()
378 if (CHECK_FAIL(err)) in test_tailcall_count()
381 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_count()
382 ASSERT_OK(err, "tailcall"); in test_tailcall_count()
414 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_4() local
427 err = bpf_prog_test_load("tailcall4.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_4()
429 if (CHECK_FAIL(err)) in test_tailcall_4()
467 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_4()
468 if (CHECK_FAIL(err)) in test_tailcall_4()
473 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4()
474 if (CHECK_FAIL(err)) in test_tailcall_4()
477 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_4()
478 ASSERT_OK(err, "tailcall"); in test_tailcall_4()
483 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4()
484 if (CHECK_FAIL(err)) in test_tailcall_4()
487 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_4()
488 if (CHECK_FAIL(err)) in test_tailcall_4()
491 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_4()
492 ASSERT_OK(err, "tailcall"); in test_tailcall_4()
504 int err, map_fd, prog_fd, main_fd, data_fd, i, key[] = { 1111, 1234, 5678 }; in test_tailcall_5() local
517 err = bpf_prog_test_load("tailcall5.bpf.o", BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_5()
519 if (CHECK_FAIL(err)) in test_tailcall_5()
557 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_5()
558 if (CHECK_FAIL(err)) in test_tailcall_5()
563 err = bpf_map_update_elem(data_fd, &zero, &key[i], BPF_ANY); in test_tailcall_5()
564 if (CHECK_FAIL(err)) in test_tailcall_5()
567 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_5()
568 ASSERT_OK(err, "tailcall"); in test_tailcall_5()
573 err = bpf_map_update_elem(data_fd, &zero, &key[i], BPF_ANY); in test_tailcall_5()
574 if (CHECK_FAIL(err)) in test_tailcall_5()
577 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_5()
578 if (CHECK_FAIL(err)) in test_tailcall_5()
581 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_5()
582 ASSERT_OK(err, "tailcall"); in test_tailcall_5()
594 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_1() local
605 err = bpf_prog_test_load("tailcall_bpf2bpf1.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_1()
607 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_1()
638 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_1()
639 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_1()
643 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_1()
644 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_1()
649 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1()
650 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_1()
653 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_1()
654 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_1()
661 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_1()
662 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_1()
665 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_1()
666 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_1()
678 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_2() local
689 err = bpf_prog_test_load("tailcall_bpf2bpf2.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_2()
691 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_2()
719 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_2()
720 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_2()
723 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_2()
724 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_2()
736 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_bpf2bpf_2()
737 ASSERT_OK(err, "tailcall count"); in test_tailcall_bpf2bpf_2()
741 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_2()
742 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_2()
745 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_2()
746 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_2()
758 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_3() local
769 err = bpf_prog_test_load("tailcall_bpf2bpf3.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_3()
771 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_3()
801 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_3()
802 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_3()
806 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_3()
807 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_3()
811 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_3()
812 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_3()
815 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_3()
816 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_3()
820 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_bpf2bpf_3()
821 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_3()
824 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_3()
825 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_3()
852 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_bpf2bpf_4() local
864 err = bpf_prog_test_load("tailcall_bpf2bpf4.bpf.o", BPF_PROG_TYPE_SCHED_CLS, in test_tailcall_bpf2bpf_4()
866 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_4()
896 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_4()
897 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_4()
912 err = bpf_map_update_elem(data_fd, &i, &val, BPF_ANY); in test_tailcall_bpf2bpf_4()
913 if (CHECK_FAIL(err)) in test_tailcall_bpf2bpf_4()
916 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_4()
917 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_4()
921 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_bpf2bpf_4()
922 ASSERT_OK(err, "tailcall count"); in test_tailcall_bpf2bpf_4()
937 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_6() local
961 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_6()
962 if (!ASSERT_OK(err, "jmp_table map update")) in test_tailcall_bpf2bpf_6()
965 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_bpf2bpf_6()
966 ASSERT_OK(err, "entry prog test run"); in test_tailcall_bpf2bpf_6()
974 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_bpf2bpf_6()
975 ASSERT_OK(err, "bss map lookup"); in test_tailcall_bpf2bpf_6()
1016 int err, map_fd, prog_fd, data_fd, i, val; in test_tailcall_bpf2bpf_fentry_entry() local
1028 err = bpf_prog_test_load("tailcall_bpf2bpf2.bpf.o", in test_tailcall_bpf2bpf_fentry_entry()
1031 if (!ASSERT_OK(err, "load tgt_obj")) in test_tailcall_bpf2bpf_fentry_entry()
1051 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_fentry_entry()
1052 if (!ASSERT_OK(err, "update jmp_table")) in test_tailcall_bpf2bpf_fentry_entry()
1064 err = bpf_program__set_attach_target(prog, prog_fd, "classifier_0"); in test_tailcall_bpf2bpf_fentry_entry()
1065 if (!ASSERT_OK(err, "set_attach_target classifier_0")) in test_tailcall_bpf2bpf_fentry_entry()
1068 err = bpf_object__load(fentry_obj); in test_tailcall_bpf2bpf_fentry_entry()
1069 if (!ASSERT_OK(err, "load fentry_obj")) in test_tailcall_bpf2bpf_fentry_entry()
1076 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_tailcall_bpf2bpf_fentry_entry()
1077 ASSERT_OK(err, "tailcall"); in test_tailcall_bpf2bpf_fentry_entry()
1090 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_bpf2bpf_fentry_entry()
1091 ASSERT_OK(err, "tailcall count"); in test_tailcall_bpf2bpf_fentry_entry()
1105 err = bpf_map_lookup_elem(data_fd, &i, &val); in test_tailcall_bpf2bpf_fentry_entry()
1106 ASSERT_OK(err, "fentry count"); in test_tailcall_bpf2bpf_fentry_entry()
1148 int err, cnt = 10; in test_tailcall_poke() local
1157 err = bpf_map__pin(call->maps.jmp_table, JMP_TABLE); in test_tailcall_poke()
1158 if (!ASSERT_OK(err, "bpf_map__pin")) in test_tailcall_poke()
1161 err = pthread_create(&thread, NULL, poke_update, call); in test_tailcall_poke()
1162 if (!ASSERT_OK(err, "new toggler")) in test_tailcall_poke()
1170 err = bpf_map__set_pin_path(test->maps.jmp_table, JMP_TABLE); in test_tailcall_poke()
1171 if (!ASSERT_OK(err, "bpf_map__pin")) { in test_tailcall_poke()
1180 err = tailcall_poke__load(test); in test_tailcall_poke()
1182 if (!ASSERT_OK(err, "tailcall_poke__load")) in test_tailcall_poke()
1198 int err, map_fd, prog_fd, main_data_fd, fentry_data_fd = 0, fexit_data_fd = 0, i, val; in test_tailcall_hierarchy_count() local
1212 err = bpf_prog_test_load(which, BPF_PROG_TYPE_SCHED_CLS, &obj, in test_tailcall_hierarchy_count()
1214 if (!ASSERT_OK(err, "load obj")) in test_tailcall_hierarchy_count()
1236 err = bpf_program__set_attach_target(fentry_prog, prog_fd, in test_tailcall_hierarchy_count()
1238 if (!ASSERT_OK(err, "set_attach_target entry")) in test_tailcall_hierarchy_count()
1241 err = bpf_object__load(fentry_obj); in test_tailcall_hierarchy_count()
1242 if (!ASSERT_OK(err, "load fentry_obj")) in test_tailcall_hierarchy_count()
1262 err = bpf_map_update_elem(map_fd, &i, &fentry_prog_fd, BPF_ANY); in test_tailcall_hierarchy_count()
1263 if (!ASSERT_OK(err, "update jmp_table")) in test_tailcall_hierarchy_count()
1281 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_hierarchy_count()
1282 if (!ASSERT_OK(err, "update jmp_table")) in test_tailcall_hierarchy_count()
1301 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_hierarchy_count()
1303 if (!ASSERT_OK(err, "set_attach_target subprog_tail")) in test_tailcall_hierarchy_count()
1306 err = bpf_object__load(fentry_obj); in test_tailcall_hierarchy_count()
1307 if (!ASSERT_OK(err, "load fentry_obj")) in test_tailcall_hierarchy_count()
1325 err = bpf_program__set_attach_target(prog, prog_fd, in test_tailcall_hierarchy_count()
1327 if (!ASSERT_OK(err, "set_attach_target subprog_tail")) in test_tailcall_hierarchy_count()
1330 err = bpf_object__load(fexit_obj); in test_tailcall_hierarchy_count()
1331 if (!ASSERT_OK(err, "load fexit_obj")) in test_tailcall_hierarchy_count()
1339 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_tailcall_hierarchy_count()
1340 ASSERT_OK(err, "tailcall"); in test_tailcall_hierarchy_count()
1348 err = bpf_map_lookup_elem(main_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1349 ASSERT_OK(err, "tailcall count"); in test_tailcall_hierarchy_count()
1364 err = bpf_map_lookup_elem(fentry_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1365 ASSERT_OK(err, "fentry count"); in test_tailcall_hierarchy_count()
1381 err = bpf_map_lookup_elem(fexit_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1382 ASSERT_OK(err, "fexit count"); in test_tailcall_hierarchy_count()
1387 err = bpf_map_delete_elem(map_fd, &i); in test_tailcall_hierarchy_count()
1388 if (!ASSERT_OK(err, "delete_elem from jmp_table")) in test_tailcall_hierarchy_count()
1391 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_tailcall_hierarchy_count()
1392 ASSERT_OK(err, "tailcall"); in test_tailcall_hierarchy_count()
1396 err = bpf_map_lookup_elem(main_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1397 ASSERT_OK(err, "tailcall count"); in test_tailcall_hierarchy_count()
1402 err = bpf_map_lookup_elem(fentry_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1403 ASSERT_OK(err, "fentry count"); in test_tailcall_hierarchy_count()
1409 err = bpf_map_lookup_elem(fexit_data_fd, &i, &val); in test_tailcall_hierarchy_count()
1410 ASSERT_OK(err, "fexit count"); in test_tailcall_hierarchy_count()
1511 int err, key; in test_tailcall_freplace() local
1529 err = bpf_program__set_attach_target(freplace_prog, tc_prog_fd, in test_tailcall_freplace()
1531 if (!ASSERT_OK(err, "set_attach_target")) in test_tailcall_freplace()
1534 err = tailcall_freplace__load(freplace_skel); in test_tailcall_freplace()
1535 if (!ASSERT_OK(err, "tailcall_freplace__load")) in test_tailcall_freplace()
1541 err = bpf_map_update_elem(map_fd, &key, &prog_fd, BPF_ANY); in test_tailcall_freplace()
1542 ASSERT_ERR(err, "update jmp_table failure"); in test_tailcall_freplace()
1549 err = bpf_map_update_elem(map_fd, &key, &prog_fd, BPF_ANY); in test_tailcall_freplace()
1550 ASSERT_ERR(err, "update jmp_table failure"); in test_tailcall_freplace()
1569 int err, key; in test_tailcall_bpf2bpf_freplace() local
1586 err = bpf_program__set_attach_target(freplace_skel->progs.entry_freplace, in test_tailcall_bpf2bpf_freplace()
1588 if (!ASSERT_OK(err, "set_attach_target")) in test_tailcall_bpf2bpf_freplace()
1591 err = tailcall_freplace__load(freplace_skel); in test_tailcall_bpf2bpf_freplace()
1592 if (!ASSERT_OK(err, "tailcall_freplace__load")) in test_tailcall_bpf2bpf_freplace()
1602 err = bpf_link__destroy(freplace_link); in test_tailcall_bpf2bpf_freplace()
1604 if (!ASSERT_OK(err, "destroy link")) in test_tailcall_bpf2bpf_freplace()
1611 err = bpf_map_update_elem(map_fd, &key, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_freplace()
1612 if (!ASSERT_OK(err, "update jmp_table")) in test_tailcall_bpf2bpf_freplace()
1615 err = bpf_map_delete_elem(map_fd, &key); in test_tailcall_bpf2bpf_freplace()
1616 if (!ASSERT_OK(err, "delete_elem from jmp_table")) in test_tailcall_bpf2bpf_freplace()
1621 err = bpf_map_update_elem(map_fd, &key, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_freplace()
1622 if (!ASSERT_OK(err, "update jmp_table")) in test_tailcall_bpf2bpf_freplace()
1630 err = bpf_map_delete_elem(map_fd, &key); in test_tailcall_bpf2bpf_freplace()
1631 if (!ASSERT_OK(err, "delete_elem from jmp_table")) in test_tailcall_bpf2bpf_freplace()
1641 err = bpf_map_update_elem(map_fd, &key, &prog_fd, BPF_ANY); in test_tailcall_bpf2bpf_freplace()
1642 if (!ASSERT_ERR(err, "update jmp_table failure")) in test_tailcall_bpf2bpf_freplace()