Home
last modified time | relevance | path

Searched refs:bpf_link_info (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v6.6/tools/bpf/bpftool/
Dlink.c128 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) in show_link_header_json()
201 static void show_iter_json(struct bpf_link_info *info, json_writer_t *wtr) in show_iter_json()
223 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr) in netfilter_dump_json()
260 show_kprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) in show_kprobe_multi_json()
297 show_perf_event_kprobe_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_kprobe_json()
307 show_perf_event_uprobe_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_uprobe_json()
316 show_perf_event_tracepoint_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_tracepoint_json()
378 show_perf_event_event_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_event_json()
400 static int show_link_close_json(int fd, struct bpf_link_info *info) in show_link_close_json()
503 static void show_link_header_plain(struct bpf_link_info *info) in show_link_header_plain()
[all …]
Dmain.h271 void netfilter_dump_plain(const struct bpf_link_info *info);
272 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr);
Dnet.c738 const struct bpf_link_info *nfa = a; in netfilter_link_compar()
739 const struct bpf_link_info *nfb = b; in netfilter_link_compar()
761 struct bpf_link_info *nf_link_info = NULL; in show_link_netfilter()
765 struct bpf_link_info info; in show_link_netfilter()
800 struct bpf_link_info *expand; in show_link_netfilter()
Dstruct_ops.c494 __u32 link_info_len = sizeof(struct bpf_link_info); in do_register()
495 struct bpf_link_info link_info = {}; in do_register()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c22 struct bpf_link_info link_infos[nr_iters + 1]; in serial_test_bpf_obj_id()
160 info_len = sizeof(struct bpf_link_info) * 2; in serial_test_bpf_obj_id()
172 info_len != sizeof(struct bpf_link_info), in serial_test_bpf_obj_id()
177 info_len, sizeof(struct bpf_link_info), in serial_test_bpf_obj_id()
301 struct bpf_link_info link_info; in serial_test_bpf_obj_id()
327 offsetof(struct bpf_link_info, raw_tracepoint)); in serial_test_bpf_obj_id()
331 err, errno, info_len, sizeof(struct bpf_link_info), in serial_test_bpf_obj_id()
Dtc_helpers.h23 struct bpf_link_info link_info = {}; in id_from_link_fd()
37 struct bpf_link_info link_info = {}; in ifindex_from_link_fd()
Dfill_link_info.c36 struct bpf_link_info info; in verify_perf_link_info()
111 struct bpf_link_info info; in kprobe_fill_invalid_user_buffer()
197 struct bpf_link_info info; in verify_kmulti_link_info()
230 struct bpf_link_info info; in verify_kmulti_invalid_user_buffer()
Dperf_link.c33 struct bpf_link_info info; in serial_test_perf_link()
Dxdp_link.c14 struct bpf_link_info link_info; in serial_test_xdp_link()
Dcheck_mtu.c41 struct bpf_link_info link_info; in test_check_mtu_xdp_attach()
Dcgroup_link.c42 struct bpf_link_info info; in serial_test_cgroup_link()
Dunpriv_bpf_disabled.c153 struct bpf_link_info link_info = {}; in test_unpriv_bpf_disabled_negative()
Dfexit_bpf2bpf.c111 struct bpf_link_info link_info; in test_fexit_bpf2bpf_common()
Dflow_dissector_reattach.c477 struct bpf_link_info info = {}; in test_link_get_info()
/Linux-v6.6/tools/perf/util/
Dbpf_counter.h97 struct bpf_link_info link_info = { .id = 0, }; in bpf_link_get_id()
106 struct bpf_link_info link_info = { .id = 0, }; in bpf_link_get_prog_id()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtesting_helpers.h13 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
Dtesting_helpers.c239 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info) in link_info_prog_id()
/Linux-v6.6/kernel/bpf/
Dnet_namespace.c205 struct bpf_link_info *info) in bpf_netns_link_fill_info()
226 struct bpf_link_info info = {}; in bpf_netns_link_show_fdinfo()
Dmap_iter.c158 struct bpf_link_info *info) in bpf_iter_map_fill_link_info()
Dcgroup_iter.c265 struct bpf_link_info *info) in bpf_iter_cgroup_fill_link_info()
Dtcx.c268 struct bpf_link_info *info) in tcx_link_fill_info()
Dsyscall.c3065 struct bpf_link_info *info) in bpf_tracing_link_fill_link_info()
3321 struct bpf_link_info *info) in bpf_raw_tp_link_fill_link_info()
3405 struct bpf_link_info *info) in bpf_perf_link_fill_kprobe()
3433 struct bpf_link_info *info) in bpf_perf_link_fill_uprobe()
3457 struct bpf_link_info *info) in bpf_perf_link_fill_probe()
3471 struct bpf_link_info *info) in bpf_perf_link_fill_tracepoint()
3483 struct bpf_link_info *info) in bpf_perf_link_fill_perf_event()
3492 struct bpf_link_info *info) in bpf_perf_link_fill_link_info()
4623 struct bpf_link_info __user *uinfo = u64_to_user_ptr(attr->info.info); in bpf_link_get_info_by_fd()
4624 struct bpf_link_info info; in bpf_link_get_info_by_fd()
Dtask_iter.c696 static int bpf_iter_fill_link_info(const struct bpf_iter_aux_info *aux, struct bpf_link_info *info) in bpf_iter_fill_link_info()
/Linux-v6.6/net/netfilter/
Dnf_bpf_link.c150 struct bpf_link_info *info) in bpf_nf_link_fill_link_info()
/Linux-v6.6/tools/lib/bpf/
Dbpf.h551 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);

12