Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/bpf/bpftool/
H A Dlink.c128 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 Dmain.h272 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 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()
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
H A Dfill_link_info.c38 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 Dperf_link.c33 struct bpf_link_info info; in serial_test_perf_link()
H A Dxdp_link.c14 struct bpf_link_info link_info; in serial_test_xdp_link()
H A Dcheck_mtu.c41 struct bpf_link_info link_info; in test_check_mtu_xdp_attach()
H A Dcgroup_link.c42 struct bpf_link_info info; in serial_test_cgroup_link()
H A Dunpriv_bpf_disabled.c153 struct bpf_link_info link_info = {}; in test_unpriv_bpf_disabled_negative()
H A Dfexit_bpf2bpf.c111 struct bpf_link_info link_info; in test_fexit_bpf2bpf_common()
H A Dflow_dissector_reattach.c477 struct bpf_link_info info = {}; in test_link_get_info()
/openbmc/linux/tools/perf/util/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.h13 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
H A Dtesting_helpers.c239 __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 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()
H A Dmap_iter.c158 struct bpf_link_info *info) in bpf_iter_map_fill_link_info()
H A Dcgroup_iter.c265 struct bpf_link_info *info) in bpf_iter_cgroup_fill_link_info()
H A Dtcx.c268 struct bpf_link_info *info) in tcx_link_fill_info()
H A Dsyscall.c3134 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 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()
/openbmc/linux/net/netfilter/
H A Dnf_bpf_link.c152 struct bpf_link_info *info) in bpf_nf_link_fill_link_info()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h551 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);

12