Home
last modified time | relevance | path

Searched refs:link_fentry (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dkfree_skb.c64 struct bpf_link *link = NULL, *link_fentry = NULL, *link_fexit = NULL; in test_kfree_skb() local
102 link_fentry = bpf_program__attach_trace(fentry); in test_kfree_skb()
103 if (CHECK(IS_ERR(link_fentry), "attach fentry", "err %ld\n", in test_kfree_skb()
104 PTR_ERR(link_fentry))) in test_kfree_skb()
149 if (!IS_ERR_OR_NULL(link_fentry)) in test_kfree_skb()
150 bpf_link__destroy(link_fentry); in test_kfree_skb()
Dtrampoline_count.c11 struct bpf_link *link_fentry; member
75 inst[i].link_fentry = link; in test_trampoline_count()
119 bpf_link__destroy(inst[i].link_fentry); in test_trampoline_count()