/external/libbpf/src/ |
D | libbpf.h | 66 struct bpf_object; 153 LIBBPF_API struct bpf_object *bpf_object__open(const char *path); 165 LIBBPF_API struct bpf_object * 178 LIBBPF_API struct bpf_object * 184 LIBBPF_API struct bpf_object * 188 LIBBPF_API struct bpf_object * 201 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path); 202 LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj, 204 LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj, 206 LIBBPF_API int bpf_object__unpin_programs(struct bpf_object *obj, [all …]
|
D | libbpf.c | 72 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj); 73 static bool prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog); 306 struct bpf_object *obj; 491 struct bpf_object { struct 556 static const char *elf_sym_str(const struct bpf_object *obj, size_t off); argument 557 static const char *elf_sec_str(const struct bpf_object *obj, size_t off); 558 static Elf_Scn *elf_sec_by_idx(const struct bpf_object *obj, size_t idx); 559 static Elf_Scn *elf_sec_by_name(const struct bpf_object *obj, const char *name); 560 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn); 561 static const char *elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn); [all …]
|
/external/linux-kselftest/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() 136 struct bpf_object *obj; in test_global_data()
|
D | fexit_bpf2bpf.c | 7 typedef int (*test_cb)(struct bpf_object *obj); 9 static int check_data_map(struct bpf_object *obj, int prog_cnt, bool reset) in check_data_map() 60 struct bpf_object *obj = NULL, *tgt_obj; in test_fexit_bpf2bpf_common() 221 static int test_second_attach(struct bpf_object *obj) in test_second_attach() 227 struct bpf_object *tgt_obj; in test_second_attach() 276 struct bpf_object *freplace_obj = NULL, *pkt_obj, *fmod_obj = NULL; in test_fmod_ret_freplace() 348 struct bpf_object *obj = NULL, *pkt_obj; in test_obj_load_failure_common()
|
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 | trampoline_count.c | 10 struct bpf_object *obj; 33 static struct bpf_link *load(struct bpf_object *obj, const char *name) in load() 52 struct bpf_object *obj; in serial_test_trampoline_count()
|
D | xdp_adjust_tail.c | 9 struct bpf_object *obj; in test_xdp_adjust_tail_shrink() 36 struct bpf_object *obj; in test_xdp_adjust_tail_grow() 66 struct bpf_object *obj; in test_xdp_adjust_tail_grow2()
|
D | global_func_args.c | 7 static void test_global_func_args0(struct bpf_object *obj) in test_global_func_args0() 44 struct bpf_object *obj; in test_global_func_args()
|
D | reference_tracking.c | 4 static void toggle_object_autoload_progs(const struct bpf_object *obj, in toggle_object_autoload_progs() 27 struct bpf_object *obj_iter, *obj = NULL; in test_reference_tracking()
|
D | tailcalls.c | 14 struct bpf_object *obj; in test_tailcall_1() 152 struct bpf_object *obj; in test_tailcall_2() 227 struct bpf_object *obj; in test_tailcall_count() 321 struct bpf_object *obj; in test_tailcall_4() 409 struct bpf_object *obj; in test_tailcall_5() 497 struct bpf_object *obj; in test_tailcall_bpf2bpf_1() 581 struct bpf_object *obj; in test_tailcall_bpf2bpf_2() 659 struct bpf_object *obj; in test_tailcall_bpf2bpf_3() 756 struct bpf_object *obj; in test_tailcall_bpf2bpf_4()
|
D | tcp_estats.c | 8 struct bpf_object *obj; in test_tcp_estats()
|
D | sockopt_inherit.c | 139 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title, in prog_attach() 172 struct bpf_object *obj; in run_test()
|
D | pkt_md_access.c | 8 struct bpf_object *obj; in test_pkt_md_access()
|
D | xdp_perf.c | 8 struct bpf_object *obj; in test_xdp_perf()
|
D | skb_helpers.c | 20 struct bpf_object *obj; in test_skb_helpers()
|
D | pkt_access.c | 8 struct bpf_object *obj; in test_pkt_access()
|
/external/bpftool/src/ |
D | gen.c | 123 static int codegen_datasec_def(struct bpf_object *obj, in codegen_datasec_def() 211 static int codegen_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_datasecs() 365 static void codegen_attach_detach(struct bpf_object *obj, const char *obj_name) in codegen_attach_detach() 446 static void codegen_destroy(struct bpf_object *obj, const char *obj_name) in codegen_destroy() 490 static int gen_trace(struct bpf_object *obj, const char *obj_name, const char *header_guard) in gen_trace() 657 struct bpf_object *obj = NULL; in do_skeleton()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 89 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load() 94 struct bpf_object *obj; in bpf_prog_test_load()
|
D | get_cgroup_id_user.c | 36 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 56 struct bpf_object *obj; in main()
|
D | testing_helpers.h | 10 struct bpf_object **pobj, int *prog_fd);
|
D | test_dev_cgroup.c | 26 struct bpf_object *obj; in main()
|
D | flow_dissector_load.h | 9 static inline int bpf_flow_load(struct bpf_object **obj, in bpf_flow_load()
|
/external/libbpf/android/ |
D | bpf_stub.c | 15 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports()
|
/external/libbpf/docs/ |
D | libbpf_naming_convention.rst | 31 structures such as ``struct bpf_object``, ``struct bpf_program``, 40 For example ``struct bpf_object`` represents ELF object itself created 48 object, ``bpf_object``, double underscore and ``open`` that defines the 49 purpose of the function to open ELF file and create ``bpf_object`` from
|
/external/libbpf/fuzz/ |
D | bpf-object-fuzzer.c | 9 struct bpf_object *obj = NULL; in LLVMFuzzerTestOneInput()
|