| /Linux-v6.1/tools/perf/util/ |
| D | bpf-loader.h | 47 struct bpf_object; 52 int fd, struct bpf_object *obj, void *arg); 55 struct bpf_object *bpf__prepare_load(const char *filename, bool source); 59 struct bpf_object *bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, 64 int bpf__probe(struct bpf_object *obj); 65 int bpf__unprobe(struct bpf_object *obj); 66 int bpf__strerror_probe(struct bpf_object *obj, int err, 69 int bpf__load(struct bpf_object *obj); 70 int bpf__strerror_load(struct bpf_object *obj, int err, 72 int bpf__foreach_event(struct bpf_object *obj, [all …]
|
| D | bpf-loader.c | 80 struct bpf_object *obj; 116 static int bpf_perf_object__add(struct bpf_object *obj) in bpf_perf_object__add() 202 struct bpf_object * 206 struct bpf_object *obj; in bpf__prepare_load_buffer() 234 struct bpf_object *bpf__prepare_load(const char *filename, bool source) in bpf__prepare_load() 237 struct bpf_object *obj; in bpf__prepare_load() 869 int bpf__probe(struct bpf_object *obj) in bpf__probe() 933 int bpf__unprobe(struct bpf_object *obj) in bpf__unprobe() 973 static int bpf_object__load_prologue(struct bpf_object *obj) in bpf_object__load_prologue() 1044 int bpf__load(struct bpf_object *obj) in bpf__load() [all …]
|
| D | parse-events.h | 165 struct bpf_object; 168 struct bpf_object *obj,
|
| /Linux-v6.1/tools/lib/bpf/ |
| D | libbpf.h | 102 struct bpf_object; 177 LIBBPF_API struct bpf_object *bpf_object__open(const char *path); 189 LIBBPF_API struct bpf_object * 202 LIBBPF_API struct bpf_object * 207 LIBBPF_API int bpf_object__load(struct bpf_object *obj); 209 LIBBPF_API void bpf_object__close(struct bpf_object *object); 215 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path); 216 LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj, 218 LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj, 220 LIBBPF_API int bpf_object__unpin_programs(struct bpf_object *obj, [all …]
|
| D | libbpf.c | 71 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj); 72 static bool prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog); 417 struct bpf_object *obj; 486 struct bpf_object *obj; 610 struct bpf_object { struct 668 static const char *elf_sym_str(const struct bpf_object *obj, size_t off); argument 669 static const char *elf_sec_str(const struct bpf_object *obj, size_t off); 670 static Elf_Scn *elf_sec_by_idx(const struct bpf_object *obj, size_t idx); 671 static Elf_Scn *elf_sec_by_name(const struct bpf_object *obj, const char *name); 672 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn); [all …]
|
| /Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
| D | global_data.c | 5 static void test_global_data_number(struct bpf_object *obj, __u32 duration) in test_global_data_number() 40 static void test_global_data_string(struct bpf_object *obj, __u32 duration) in test_global_data_string() 75 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) in test_global_data_struct() 103 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) in test_global_data_rdonly() 135 struct bpf_object *obj; in test_global_data()
|
| D | sockopt_multi.c | 5 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title, const char *name) in prog_attach() 34 static int prog_detach(struct bpf_object *obj, int cgroup_fd, const char *title, const char *name) in prog_detach() 57 static int run_getsockopt_test(struct bpf_object *obj, int cg_parent, in run_getsockopt_test() 207 static int run_setsockopt_test(struct bpf_object *obj, int cg_parent, in run_setsockopt_test() 301 struct bpf_object *obj = NULL; in test_sockopt_multi()
|
| D | xdp_adjust_tail.c | 9 struct bpf_object *obj; in test_xdp_adjust_tail_shrink() 43 struct bpf_object *obj; in test_xdp_adjust_tail_grow() 79 struct bpf_object *obj; in test_xdp_adjust_tail_grow2() 141 struct bpf_object *obj; in test_xdp_adjust_frags_tail_shrink() 208 struct bpf_object *obj; in test_xdp_adjust_frags_tail_grow()
|
| D | fexit_bpf2bpf.c | 8 typedef int (*test_cb)(struct bpf_object *obj); 10 static int check_data_map(struct bpf_object *obj, int prog_cnt, bool reset) in check_data_map() 61 struct bpf_object *obj = NULL, *tgt_obj; in test_fexit_bpf2bpf_common() 226 static int test_second_attach(struct bpf_object *obj) in test_second_attach() 232 struct bpf_object *tgt_obj; in test_second_attach() 283 struct bpf_object *freplace_obj = NULL, *pkt_obj, *fmod_obj = NULL; in test_fmod_ret_freplace() 355 struct bpf_object *obj = NULL, *pkt_obj; in test_obj_load_failure_common()
|
| D | global_func_args.c | 7 static void test_global_func_args0(struct bpf_object *obj) in test_global_func_args0() 43 struct bpf_object *obj; in test_global_func_args()
|
| D | subskeleton.c | 8 static void subskeleton_lib_setup(struct bpf_object *obj) in subskeleton_lib_setup() 23 static int subskeleton_lib_subresult(struct bpf_object *obj) in subskeleton_lib_subresult()
|
| D | trampoline_count.c | 8 struct bpf_object *obj; 14 struct bpf_object *obj; in load_prog()
|
| D | tailcalls.c | 14 struct bpf_object *obj; in test_tailcall_1() 150 struct bpf_object *obj; in test_tailcall_2() 226 struct bpf_object *obj; in test_tailcall_count() 322 struct bpf_object *obj; in test_tailcall_4() 412 struct bpf_object *obj; in test_tailcall_5() 502 struct bpf_object *obj; in test_tailcall_bpf2bpf_1() 586 struct bpf_object *obj; in test_tailcall_bpf2bpf_2() 666 struct bpf_object *obj; in test_tailcall_bpf2bpf_3() 761 struct bpf_object *obj; in test_tailcall_bpf2bpf_4()
|
| D | tcp_estats.c | 8 struct bpf_object *obj; in test_tcp_estats()
|
| D | pkt_md_access.c | 8 struct bpf_object *obj; in test_pkt_md_access()
|
| D | skb_helpers.c | 20 struct bpf_object *obj; in test_skb_helpers()
|
| D | sockopt_inherit.c | 135 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title, in prog_attach() 168 struct bpf_object *obj; in run_test()
|
| D | xdp_perf.c | 7 struct bpf_object *obj; in test_xdp_perf()
|
| D | pkt_access.c | 8 struct bpf_object *obj; in test_pkt_access()
|
| /Linux-v6.1/tools/perf/tests/ |
| D | bpf.c | 101 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() 203 static struct bpf_object * 206 struct bpf_object *obj; in prepare_bpf() 221 struct bpf_object *obj; in __test__bpf()
|
| /Linux-v6.1/tools/testing/selftests/bpf/ |
| D | get_cgroup_id_user.c | 35 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 55 struct bpf_object *obj; in main()
|
| D | testing_helpers.h | 10 struct bpf_object **pobj, int *prog_fd);
|
| D | testing_helpers.c | 178 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load() 183 struct bpf_object *obj; in bpf_prog_test_load()
|
| /Linux-v6.1/tools/bpf/bpftool/ |
| D | gen.c | 124 static int codegen_datasec_def(struct bpf_object *obj, in codegen_datasec_def() 245 static int codegen_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_datasecs() 295 static int codegen_subskel_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_subskel_datasecs() 468 static void codegen_asserts(struct bpf_object *obj, const char *obj_name) in codegen_asserts() 533 static void codegen_attach_detach(struct bpf_object *obj, const char *obj_name) in codegen_attach_detach() 615 static void codegen_destroy(struct bpf_object *obj, const char *obj_name) in codegen_destroy() 659 static int gen_trace(struct bpf_object *obj, const char *obj_name, const char *header_guard) in gen_trace() 819 codegen_maps_skeleton(struct bpf_object *obj, size_t map_cnt, bool mmaped) in codegen_maps_skeleton() 864 codegen_progs_skeleton(struct bpf_object *obj, size_t prog_cnt, bool populate_links) in codegen_progs_skeleton() 913 struct bpf_object *obj = NULL; in do_skeleton() [all …]
|
| /Linux-v6.1/samples/bpf/ |
| D | tracex1_user.c | 11 struct bpf_object *obj; in main()
|