/openbmc/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() 260 show_kprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) in show_kprobe_multi_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() 547 static void show_iter_plain(struct bpf_link_info *info) in show_iter_plain() 591 void netfilter_dump_plain(const struct bpf_link_info *info) in netfilter_dump_plain() 631 static void show_kprobe_multi_plain(struct bpf_link_info *info) in show_kprobe_multi_plain() 669 static void show_perf_event_kprobe_plain(struct bpf_link_info *info) in show_perf_event_kprobe_plain() 689 static void show_perf_event_uprobe_plain(struct bpf_link_info *info) in show_perf_event_uprobe_plain() 715 static void show_perf_event_event_plain(struct bpf_link_info *info) in show_perf_event_event_plain() [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 | 738 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()
|
H A D | struct_ops.c | 494 __u32 link_info_len = sizeof(struct bpf_link_info); in do_register() 495 struct bpf_link_info link_info = {}; in do_register()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_id.c | 22 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()
|
H A D | tc_helpers.h | 23 struct bpf_link_info link_info = {}; in id_from_link_fd() 37 struct bpf_link_info link_info = {}; in ifindex_from_link_fd()
|
H A D | fill_link_info.c | 38 struct bpf_link_info info; in verify_perf_link_info() 122 struct bpf_link_info info; in kprobe_fill_invalid_user_buffer() 218 struct bpf_link_info info; in verify_kmulti_link_info() 251 struct bpf_link_info info; in verify_kmulti_invalid_user_buffer()
|
H A D | perf_link.c | 33 struct bpf_link_info info; in serial_test_perf_link()
|
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 | 153 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()
|
/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.h | 13 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
|
H A D | testing_helpers.c | 239 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info) in link_info_prog_id()
|
/openbmc/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 | 3134 struct bpf_link_info *info) in bpf_tracing_link_fill_link_info() 3399 struct bpf_link_info *info) in bpf_raw_tp_link_fill_link_info() 3491 struct bpf_link_info *info) in bpf_perf_link_fill_kprobe() 3522 struct bpf_link_info *info) in bpf_perf_link_fill_uprobe() 3548 struct bpf_link_info *info) in bpf_perf_link_fill_probe() 3562 struct bpf_link_info *info) in bpf_perf_link_fill_tracepoint() 3581 struct bpf_link_info *info) in bpf_perf_link_fill_perf_event() 3591 struct bpf_link_info *info) in bpf_perf_link_fill_link_info() 4727 struct bpf_link_info __user *uinfo = u64_to_user_ptr(attr->info.info); in bpf_link_get_info_by_fd() 4728 struct bpf_link_info info; in bpf_link_get_info_by_fd()
|
H A D | task_iter.c | 696 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()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_bpf_link.c | 152 struct bpf_link_info *info) in bpf_nf_link_fill_link_info()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 551 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
|