| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | bpf-event.h | 11 struct bpf_prog_info; 37 void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, 54 static inline void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in bpf_event__print_bpf_prog_info()
|
| H A D | bpf-event.c | 121 struct bpf_prog_info *info, in synthesize_bpf_prog_name() 174 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog() 202 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog() 536 void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in bpf_event__print_bpf_prog_info()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_obj_id.c | 20 struct bpf_prog_info prog_infos[nr_iters + 1]; in test_bpf_obj_id() 105 info_len = sizeof(struct bpf_prog_info) * 2; in test_bpf_obj_id() 127 info_len != sizeof(struct bpf_prog_info) || in test_bpf_obj_id() 146 info_len, sizeof(struct bpf_prog_info), in test_bpf_obj_id() 191 struct bpf_prog_info prog_info = {}; in test_bpf_obj_id() 234 CHECK(err || info_len != sizeof(struct bpf_prog_info) || in test_bpf_obj_id() 239 err, errno, info_len, sizeof(struct bpf_prog_info), in test_bpf_obj_id()
|
| H A D | xdp_info.c | 9 __u32 len = sizeof(struct bpf_prog_info), duration = 0, prog_id; in test_xdp_info() 11 struct bpf_prog_info info = {}; in test_xdp_info()
|
| H A D | metadata.c | 18 struct bpf_prog_info prog_info = {}; in prog_holds_map() 19 struct bpf_prog_info map_info = {}; in prog_holds_map()
|
| H A D | enable_stats.c | 9 struct bpf_prog_info info; in test_enable_stats()
|
| H A D | xdp_cpumap_attach.c | 13 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_helpers()
|
| H A D | xdp_devmap_attach.c | 14 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers()
|
| H A D | xdp_attach.c | 12 struct bpf_prog_info info = {}; in test_xdp_attach()
|
| H A D | tp_attach_query.c | 13 struct bpf_prog_info prog_info; in test_tp_attach_query()
|
| H A D | xdp_link.c | 15 struct bpf_prog_info prog_info; in test_xdp_link()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | netif_receive_skb.c | 216 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG() 219 TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME, in BPF_PROG() 223 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG() 227 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | link.c | 96 static int get_prog_info(int prog_id, struct bpf_prog_info *info) in get_prog_info() 115 struct bpf_prog_info prog_info; in show_link_close_json() 209 struct bpf_prog_info prog_info; in show_link_close_plain()
|
| H A D | prog.c | 130 struct bpf_prog_info info = {}; in show_prog_maps() 159 struct bpf_prog_info prog_info; in find_metadata() 351 static void print_prog_header_json(struct bpf_prog_info *info) in print_prog_header_json() 375 static void print_prog_json(struct bpf_prog_info *info, int fd) in print_prog_json() 433 static void print_prog_header_plain(struct bpf_prog_info *info) in print_prog_header_plain() 454 static void print_prog_plain(struct bpf_prog_info *info, int fd) in print_prog_plain() 505 struct bpf_prog_info info = {}; in show_prog() 613 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, in prog_dump()
|
| H A D | btf.c | 473 struct bpf_prog_info info = {}; in do_dump() 683 btf_id = ((struct bpf_prog_info *)info)->btf_id; in build_btf_type_table() 719 struct bpf_prog_info prog_info; in build_btf_tables()
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp1_user.c | 86 struct bpf_prog_info info = {}; in main()
|
| H A D | xdp_adjust_tail_user.c | 91 struct bpf_prog_info info = {}; in main()
|
| H A D | xdp_sample_pkts_user.c | 29 struct bpf_prog_info info = {}; in do_attach()
|
| H A D | xdp_redirect_map_user.c | 104 struct bpf_prog_info info = {}; in main()
|
| H A D | xdp_redirect_user.c | 106 struct bpf_prog_info info = {}; in main()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf.h | 612 struct bpf_prog_info; 616 bpf_prog_linfo__new(const struct bpf_prog_info *info); 689 struct bpf_prog_info info;
|
| H A D | libbpf.c | 8734 struct bpf_prog_info *info; in libbpf_find_prog_btf_id() 10420 offsetof(struct bpf_prog_info, jited_prog_insns), 10421 offsetof(struct bpf_prog_info, jited_prog_len), 10425 offsetof(struct bpf_prog_info, xlated_prog_insns), 10426 offsetof(struct bpf_prog_info, xlated_prog_len), 10430 offsetof(struct bpf_prog_info, map_ids), 10431 offsetof(struct bpf_prog_info, nr_map_ids), 10435 offsetof(struct bpf_prog_info, jited_ksyms), 10436 offsetof(struct bpf_prog_info, nr_jited_ksyms), 10440 offsetof(struct bpf_prog_info, jited_func_lens), [all …]
|
| H A D | bpf_prog_linfo.c | 100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_skb_cgroup_id_user.c | 82 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
|
| H A D | test_tcp_check_syncookie_user.c | 83 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
|