/linux/tools/bpf/bpftool/ |
H A D | link.c | 128 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() 286 show_kprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) in show_kprobe_multi_json() 338 show_uprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) in show_uprobe_multi_json() 364 show_perf_event_kprobe_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_kprobe_json() 376 show_perf_event_uprobe_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_uprobe_json() 386 show_perf_event_tracepoint_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_tracepoint_json() 449 show_perf_event_event_json(struct bpf_link_info *info, json_writer_t *wtr) in show_perf_event_event_json() 473 static int show_link_close_json(int fd, struct bpf_link_info *info) in show_link_close_json() [all …]
|
H A D | main.h | 272 void netfilter_dump_plain(const struct bpf_link_info *info); 273 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr);
|
H A D | net.c | 799 const struct bpf_link_info *nfa = a; in netfilter_link_compar() 800 const struct bpf_link_info *nfb = b; in netfilter_link_compar() 822 struct bpf_link_info *nf_link_info = NULL; in show_link_netfilter() 826 struct bpf_link_info info; in show_link_netfilter() 861 struct bpf_link_info *expand; in show_link_netfilter()
|
H A D | struct_ops.c | 500 __u32 link_info_len = sizeof(struct bpf_link_info); in do_register() 501 struct bpf_link_info link_info = {}; in do_register()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_helpers.h | 27 struct bpf_link_info link_info = {}; in id_from_link_fd() 41 struct bpf_link_info link_info = {}; in ifindex_from_link_fd()
|
H A D | bpf_obj_id.c | 22 struct bpf_link_info link_infos[nr_iters + 1]; in serial_test_bpf_obj_id() 137 info_len = sizeof(struct bpf_link_info) * 2; in serial_test_bpf_obj_id() 249 struct bpf_link_info link_info; in serial_test_bpf_obj_id() 273 offsetof(struct bpf_link_info, raw_tracepoint)); in serial_test_bpf_obj_id()
|
H A D | fill_link_info.c | 40 struct bpf_link_info info; in verify_perf_link_info() 129 struct bpf_link_info info; in kprobe_fill_invalid_user_buffer() 263 struct bpf_link_info info; in verify_kmulti_link_info() 300 struct bpf_link_info info; in verify_kmulti_invalid_user_buffer() 414 struct bpf_link_info info; in verify_umulti_link_info() 481 struct bpf_link_info info; in verify_umulti_invalid_user_buffer()
|
H A D | netfilter_link_attach.c | 49 struct bpf_link_info info; in verify_netfilter_link_info()
|
H A D | missed.c | 15 struct bpf_link_info info = {}; in test_missed_perf_kprobe()
|
H A D | xdp_link.c | 14 struct bpf_link_info link_info; in serial_test_xdp_link()
|
H A D | check_mtu.c | 41 struct bpf_link_info link_info; in test_check_mtu_xdp_attach()
|
H A D | cgroup_link.c | 42 struct bpf_link_info info; in serial_test_cgroup_link()
|
H A D | unpriv_bpf_disabled.c | 154 struct bpf_link_info link_info = {}; in test_unpriv_bpf_disabled_negative()
|
H A D | fexit_bpf2bpf.c | 111 struct bpf_link_info link_info; in test_fexit_bpf2bpf_common()
|
H A D | flow_dissector_reattach.c | 477 struct bpf_link_info info = {}; in test_link_get_info()
|
/linux/tools/perf/util/ |
H A D | bpf_counter.h | 97 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/tools/testing/selftests/bpf/ |
H A D | testing_helpers.h | 16 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
|
H A D | testing_helpers.c | 240 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info) in link_info_prog_id()
|
/linux/kernel/bpf/ |
H A D | net_namespace.c | 205 struct bpf_link_info *info) in bpf_netns_link_fill_info() 226 struct bpf_link_info info = {}; in bpf_netns_link_show_fdinfo()
|
H A D | map_iter.c | 158 struct bpf_link_info *info) in bpf_iter_map_fill_link_info()
|
H A D | cgroup_iter.c | 265 struct bpf_link_info *info) in bpf_iter_cgroup_fill_link_info()
|
H A D | tcx.c | 268 struct bpf_link_info *info) in tcx_link_fill_info()
|
H A D | syscall.c | 3393 struct bpf_link_info *info) in bpf_tracing_link_fill_link_info() 3658 struct bpf_link_info *info) in bpf_raw_tp_link_fill_link_info() 3750 struct bpf_link_info *info) in bpf_perf_link_fill_kprobe() 3781 struct bpf_link_info *info) in bpf_perf_link_fill_uprobe() 3807 struct bpf_link_info *info) in bpf_perf_link_fill_probe() 3821 struct bpf_link_info *info) in bpf_perf_link_fill_tracepoint() 3840 struct bpf_link_info *info) in bpf_perf_link_fill_perf_event() 3850 struct bpf_link_info *info) in bpf_perf_link_fill_link_info() 5033 struct bpf_link_info __user *uinfo = u64_to_user_ptr(attr->info.info); in bpf_link_get_info_by_fd() 5034 struct bpf_link_info info; in bpf_link_get_info_by_fd()
|
/linux/net/netfilter/ |
H A D | nf_bpf_link.c | 152 struct bpf_link_info *info) in bpf_nf_link_fill_link_info()
|
/linux/tools/lib/bpf/ |
H A D | bpf.h | 586 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
|