/Linux-v6.6/tools/bpf/bpftool/ |
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() 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 …]
|
D | main.h | 271 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);
|
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()
|
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()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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()
|
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()
|
D | fill_link_info.c | 36 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()
|
D | perf_link.c | 33 struct bpf_link_info info; in serial_test_perf_link()
|
D | xdp_link.c | 14 struct bpf_link_info link_info; in serial_test_xdp_link()
|
D | check_mtu.c | 41 struct bpf_link_info link_info; in test_check_mtu_xdp_attach()
|
D | cgroup_link.c | 42 struct bpf_link_info info; in serial_test_cgroup_link()
|
D | unpriv_bpf_disabled.c | 153 struct bpf_link_info link_info = {}; in test_unpriv_bpf_disabled_negative()
|
D | fexit_bpf2bpf.c | 111 struct bpf_link_info link_info; in test_fexit_bpf2bpf_common()
|
D | flow_dissector_reattach.c | 477 struct bpf_link_info info = {}; in test_link_get_info()
|
/Linux-v6.6/tools/perf/util/ |
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-v6.6/tools/testing/selftests/bpf/ |
D | testing_helpers.h | 13 __u32 link_info_prog_id(const struct bpf_link *link, struct bpf_link_info *info);
|
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()
|
/Linux-v6.6/kernel/bpf/ |
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()
|
D | map_iter.c | 158 struct bpf_link_info *info) in bpf_iter_map_fill_link_info()
|
D | cgroup_iter.c | 265 struct bpf_link_info *info) in bpf_iter_cgroup_fill_link_info()
|
D | tcx.c | 268 struct bpf_link_info *info) in tcx_link_fill_info()
|
D | syscall.c | 3065 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()
|
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()
|
/Linux-v6.6/net/netfilter/ |
D | nf_bpf_link.c | 150 struct bpf_link_info *info) in bpf_nf_link_fill_link_info()
|
/Linux-v6.6/tools/lib/bpf/ |
D | bpf.h | 551 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
|