Searched refs:freplace_link (Results 1 – 2 of 2) sorted by relevance
1506 struct bpf_link *freplace_link = NULL; in test_tailcall_freplace() local1544 freplace_link = bpf_program__attach_freplace(freplace_prog, tc_prog_fd, in test_tailcall_freplace()1546 if (!ASSERT_OK_PTR(freplace_link, "attach_freplace")) in test_tailcall_freplace()1553 bpf_link__destroy(freplace_link); in test_tailcall_freplace()1565 struct bpf_link *freplace_link = NULL; in test_tailcall_bpf2bpf_freplace() local1599 if (!ASSERT_OK_PTR(freplace_link, "attach_freplace")) in test_tailcall_bpf2bpf_freplace()1602 err = bpf_link__destroy(freplace_link); in test_tailcall_bpf2bpf_freplace()1603 freplace_link = NULL; in test_tailcall_bpf2bpf_freplace()1627 if (!ASSERT_ERR_PTR(freplace_link, "attach_freplace failure")) in test_tailcall_bpf2bpf_freplace()1638 if (!ASSERT_OK_PTR(freplace_link, "attach_freplace")) in test_tailcall_bpf2bpf_freplace()[all …]
290 struct bpf_link *freplace_link = NULL; in test_fmod_ret_freplace() local314 freplace_link = bpf_program__attach_trace(prog); in test_fmod_ret_freplace()315 if (!ASSERT_OK_PTR(freplace_link, "freplace_attach_trace")) in test_fmod_ret_freplace()332 bpf_link__destroy(freplace_link); in test_fmod_ret_freplace()