Home
last modified time | relevance | path

Searched refs:bpf_link (Results 1 – 25 of 132) sorted by relevance

123456

/tools/lib/bpf/
A Dlibbpf.h439 struct bpf_link;
492 LIBBPF_API struct bpf_link *
508 LIBBPF_API struct bpf_link *
511 LIBBPF_API struct bpf_link *
547 LIBBPF_API struct bpf_link *
550 LIBBPF_API struct bpf_link *
577 LIBBPF_API struct bpf_link *
628 LIBBPF_API struct bpf_link *
676 LIBBPF_API struct bpf_link *
1743 struct bpf_link **link;
[all …]
/tools/bpf/bpftool/skeleton/
A Dpid_iter.bpf.c19 struct bpf_link link;
49 return BPF_CORE_READ((struct bpf_link *)ent, id); in get_obj_id()
56 static __u64 get_bpf_cookie(struct bpf_link *link) in get_bpf_cookie()
108 struct bpf_link *link = (struct bpf_link *) file->private_data; in iter()
/tools/testing/selftests/bpf/prog_tests/
A Dbpf_loop.c10 struct bpf_link *link; in check_nr_loops()
45 struct bpf_link *link; in check_callback_fn_stop()
67 struct bpf_link *link; in check_null_callback_ctx()
86 struct bpf_link *link; in check_invalid_flags()
103 struct bpf_link *link; in check_nested_calls()
125 struct bpf_link *link = in check_non_constant_callback()
144 struct bpf_link *link = bpf_program__attach(skel->progs.stack_check); in check_stack()
A Dcgroup_getset_retval.c22 struct bpf_link *link_set_eunatch = NULL; in test_setsockopt_set()
58 struct bpf_link *link_set_eunatch = NULL, *link_get_retval = NULL; in test_setsockopt_set_and_get()
101 struct bpf_link *link_get_retval = NULL; in test_setsockopt_default_zero()
137 struct bpf_link *link_get_retval = NULL, *link_set_eunatch = NULL; in test_setsockopt_default_zero_and_set()
181 struct bpf_link *link_set_eunatch = NULL, *link_set_eisconn = NULL; in test_setsockopt_override()
182 struct bpf_link *link_get_retval = NULL; in test_setsockopt_override()
231 struct bpf_link *link_legacy_eperm = NULL, *link_get_retval = NULL; in test_setsockopt_legacy_eperm()
277 struct bpf_link *link_get_retval = NULL; in test_setsockopt_legacy_no_override()
328 struct bpf_link *link_get_retval = NULL; in test_getsockopt_get()
370 struct bpf_link *link_set_eisconn = NULL; in test_getsockopt_override()
[all …]
A Dbpf_tcp_ca.c99 struct bpf_link *link; in test_cubic()
151 struct bpf_link *link; in test_dctcp()
194 struct bpf_link *link; in test_dctcp_autoattach_map()
263 struct bpf_link *link = NULL; in test_dctcp_fallback()
342 struct bpf_link *link; in test_write_sk_pacing()
358 struct bpf_link *link; in test_incompl_cong_ops()
401 struct bpf_link *link; in test_update_ca()
439 struct bpf_link *link; in test_update_wrong()
505 struct bpf_link *link; in test_multi_links()
529 struct bpf_link *link; in test_link_replace()
[all …]
A Dcgroup_tcp_skb.c17 struct bpf_link **egress_link, in install_filters()
18 struct bpf_link **ingress_link, in install_filters()
40 static void uninstall_filters(struct bpf_link **egress_link, in uninstall_filters()
41 struct bpf_link **ingress_link) in uninstall_filters()
237 struct bpf_link *ingress_link = NULL; in test_cgroup_tcp_skb()
238 struct bpf_link *egress_link = NULL; in test_cgroup_tcp_skb()
A Dnetfilter_link_attach.c47 static void verify_netfilter_link_info(struct bpf_link *link, const struct nf_link_test nf_expected) in verify_netfilter_link_info()
82 struct bpf_link *link; in test_netfilter_link_attach()
95 struct bpf_link *link2; in test_netfilter_link_attach()
A Dcgroup1_hierarchy.c12 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1()
30 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_sleepable()
48 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_invalid_id()
A Dstruct_ops_private_stack.c11 struct bpf_link *link; in test_private_stack()
68 struct bpf_link *link; in test_private_stack_recur()
A Dcg_storage_multi.c93 struct bpf_link *parent_link = NULL, *child_link = NULL; in test_egress_only()
163 struct bpf_link *parent_egress1_link = NULL, *parent_egress2_link = NULL; in test_isolated()
164 struct bpf_link *child_egress1_link = NULL, *child_egress2_link = NULL; in test_isolated()
165 struct bpf_link *parent_ingress_link = NULL, *child_ingress_link = NULL; in test_isolated()
276 struct bpf_link *parent_egress1_link = NULL, *parent_egress2_link = NULL; in test_shared()
277 struct bpf_link *child_egress1_link = NULL, *child_egress2_link = NULL; in test_shared()
278 struct bpf_link *parent_ingress_link = NULL, *child_ingress_link = NULL; in test_shared()
A Dsock_iter_batch.c127 struct bpf_link *link = NULL; in destroy()
294 struct bpf_link *link, int iter_fd) in remove_seen_established()
330 struct bpf_link *link, int iter_fd) in remove_unseen()
365 struct bpf_link *link, int iter_fd) in remove_unseen_established()
408 struct bpf_link *link, int iter_fd) in remove_all()
438 struct bpf_link *link, int iter_fd) in remove_all_established()
516 int counts_len, struct bpf_link *link, in add_some_established()
558 struct bpf_link *link, int iter_fd) in force_realloc()
589 struct bpf_link *link, int iter_fd) in force_realloc_established()
781 struct bpf_link *link = NULL; in do_resume_test()
[all …]
A Dsockopt_multi.c10 struct bpf_link *link_parent = NULL; in run_getsockopt_test()
11 struct bpf_link *link_child = NULL; in run_getsockopt_test()
161 struct bpf_link *link_parent = NULL; in run_setsockopt_test()
162 struct bpf_link *link_child = NULL; in run_setsockopt_test()
A Dattach_probe.c41 struct bpf_link *kprobe_link, *kretprobe_link; in test_attach_probe_manual()
42 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_probe_manual()
129 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_uprobe_long_event_name()
175 struct bpf_link *kprobe_link, *kretprobe_link; in test_attach_kprobe_long_event_name()
206 struct bpf_link *uprobe_err_link; in test_attach_probe_auto()
277 struct bpf_link *uprobe_link, *uretprobe_link; in test_uprobe_ref_ctr()
A Dtrampoline_count.c7 struct bpf_link *link;
40 struct bpf_link *link; in serial_test_trampoline_count()
A Dbpf_cookie.c25 struct bpf_link *link1 = NULL, *link2 = NULL; in kprobe_subtest()
26 struct bpf_link *retlink1 = NULL, *retlink2 = NULL; in kprobe_subtest()
179 struct bpf_link *link1 = NULL, *link2 = NULL; in kprobe_multi_attach_api_subtest()
273 struct bpf_link *link1 = NULL, *link2 = NULL; in uprobe_multi_attach_api_subtest()
321 struct bpf_link *link1 = NULL, *link2 = NULL; in uprobe_subtest()
322 struct bpf_link *retlink1 = NULL, *retlink2 = NULL; in uprobe_subtest()
375 struct bpf_link *link1 = NULL, *link2 = NULL, *link3 = NULL; in tp_subtest()
444 struct bpf_link *link = NULL; in pe_subtest()
602 struct bpf_link *link = NULL; in tp_btf_subtest()
683 struct bpf_link *link = NULL; in raw_tp_subtest()
A Dtest_struct_ops_multi_pages.c10 struct bpf_link *link; in do_struct_ops_multi_pages()
A Dcgroup_iter.c56 struct bpf_link *link; in read_from_cgroup_iter()
100 struct bpf_link *link; in test_invalid_cgroup()
117 struct bpf_link *link; in test_invalid_cgroup_spec()
200 struct bpf_link *link; in test_walk_dead_self_only()
A Dxdp_bonding.c96 struct bpf_link *links[MAX_BPF_LINKS];
101 struct bpf_link *link; in xdp_attach()
382 struct bpf_link *link = NULL; in test_xdp_bonding_attach()
383 struct bpf_link *link2 = NULL; in test_xdp_bonding_attach()
462 struct bpf_link *link = NULL; in test_xdp_bonding_nested()
500 struct bpf_link *link = NULL; in test_xdp_bonding_features()
A Dtest_struct_ops_module.c43 struct bpf_link *link; in attach_ops_and_check()
162 struct bpf_link *link; in test_struct_ops_incompatible()
254 struct bpf_link *link = NULL; in test_detach_link()
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_test_no_cfi.c25 static int dummy_reg(void *kdata, struct bpf_link *link) in dummy_reg()
30 static void dummy_unreg(void *kdata, struct bpf_link *link) in dummy_unreg()
/tools/testing/selftests/bpf/progs/
A Dbpf_iter_bpf_link.c12 struct bpf_link *link = ctx->link; in dump_bpf_link()
/tools/testing/selftests/bpf/benchs/
A Dbench_bloom_filter_map.c303 struct bpf_link *link; in bloom_lookup_setup()
320 struct bpf_link *link; in bloom_update_setup()
337 struct bpf_link *link; in false_positive_setup()
356 struct bpf_link *link; in hashmap_with_bloom_setup()
374 struct bpf_link *link; in hashmap_no_bloom_setup()
/tools/testing/selftests/sched_ext/
A Dhotplug.c47 struct bpf_link *link; in test_hotplug()
103 struct bpf_link *link; in test_hotplug_attach()
A Dcreate_dsq.c30 struct bpf_link *link; in run()
A Dmaximal.c30 struct bpf_link *link; in run()

Completed in 38 milliseconds

123456