| /tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_getset_retval.c | 21 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_set() local 55 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_set_and_get() local 96 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_default_zero() local 130 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_default_zero_and_set() local 172 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_override() local 220 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_legacy_eperm() local 263 struct cgroup_getset_retval_setsockopt *obj; in test_setsockopt_legacy_no_override() local 313 struct cgroup_getset_retval_getsockopt *obj; in test_getsockopt_get() local 353 struct cgroup_getset_retval_getsockopt *obj; in test_getsockopt_override() local 389 struct cgroup_getset_retval_getsockopt *obj; in test_getsockopt_retval_sync() local
|
| 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() local
|
| D | tailcalls.c | 14 struct bpf_object *obj; in test_tailcall_1() local 150 struct bpf_object *obj; in test_tailcall_2() local 226 struct bpf_object *obj; in test_tailcall_count() local 322 struct bpf_object *obj; in test_tailcall_4() local 412 struct bpf_object *obj; in test_tailcall_5() local 502 struct bpf_object *obj; in test_tailcall_bpf2bpf_1() local 586 struct bpf_object *obj; in test_tailcall_bpf2bpf_2() local 666 struct bpf_object *obj; in test_tailcall_bpf2bpf_3() local 761 struct bpf_object *obj; in test_tailcall_bpf2bpf_4() local 841 struct tailcall_bpf2bpf6 *obj; in test_tailcall_bpf2bpf_6() local
|
| D | xdp_adjust_tail.c | 9 struct bpf_object *obj; in test_xdp_adjust_tail_shrink() local 43 struct bpf_object *obj; in test_xdp_adjust_tail_grow() local 80 struct bpf_object *obj; in test_xdp_adjust_tail_grow2() local 142 struct bpf_object *obj; in test_xdp_adjust_frags_tail_shrink() local 209 struct bpf_object *obj; in test_xdp_adjust_frags_tail_grow() local
|
| 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() local
|
| 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 | 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() local
|
| D | metadata.c | 68 struct metadata_unused *obj; in test_metadata_unused() local 102 struct metadata_used *obj; in test_metadata_used() local
|
| D | cg_storage_multi.c | 90 struct cg_storage_multi_egress_only *obj; in test_egress_only() local 160 struct cg_storage_multi_isolated *obj; in test_isolated() local 273 struct cg_storage_multi_shared *obj; in test_shared() local
|
| D | trampoline_count.c | 8 struct bpf_object *obj; member 14 struct bpf_object *obj; in load_prog() local
|
| D | pinning.c | 8 __u32 get_map_id(struct bpf_object *obj, const char *name) in get_map_id() 38 struct bpf_object *obj; in test_pinning() local
|
| D | fexit_bpf2bpf.c | 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() local 226 static int test_second_attach(struct bpf_object *obj) in test_second_attach() 355 struct bpf_object *obj = NULL, *pkt_obj; in test_obj_load_failure_common() local
|
| 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() local
|
| D | pkt_access.c | 8 struct bpf_object *obj; in test_pkt_access() local
|
| D | skb_helpers.c | 20 struct bpf_object *obj; in test_skb_helpers() local
|
| D | tcp_estats.c | 8 struct bpf_object *obj; in test_tcp_estats() local
|
| /tools/perf/scripts/python/Perf-Trace-Util/ |
| D | Context.c | 62 static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) in perf_trace_context_common_pc() 72 static PyObject *perf_trace_context_common_flags(PyObject *obj, in perf_trace_context_common_flags() 83 static PyObject *perf_trace_context_common_lock_depth(PyObject *obj, in perf_trace_context_common_lock_depth() 94 static PyObject *perf_sample_insn(PyObject *obj, PyObject *args) in perf_sample_insn() 111 static PyObject *perf_set_itrace_options(PyObject *obj, PyObject *args) in perf_set_itrace_options() 137 static PyObject *perf_sample_src(PyObject *obj, PyObject *args, bool get_srccode) in perf_sample_src() 170 static PyObject *perf_sample_srcline(PyObject *obj, PyObject *args) in perf_sample_srcline() 175 static PyObject *perf_sample_srccode(PyObject *obj, PyObject *args) in perf_sample_srccode()
|
| /tools/lib/bpf/ |
| D | libbpf.c | 417 struct bpf_object *obj; member 486 struct bpf_object *obj; member 726 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog() 786 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs() 1135 static int bpf_object__init_kern_struct_ops_maps(struct bpf_object *obj) in bpf_object__init_kern_struct_ops_maps() 1156 static int bpf_object__init_struct_ops_maps(struct bpf_object *obj) in bpf_object__init_struct_ops_maps() 1254 struct bpf_object *obj; in bpf_object__new() local 1293 static void bpf_object__elf_finish(struct bpf_object *obj) in bpf_object__elf_finish() 1310 static int bpf_object__elf_init(struct bpf_object *obj) in bpf_object__elf_init() 1393 static int bpf_object__check_endianness(struct bpf_object *obj) in bpf_object__check_endianness() [all …]
|
| D | linker.c | 443 struct src_obj obj = {}; in bpf_linker__add_file() local 516 static struct src_sec *add_src_sec(struct src_obj *obj, const char *sec_name) in add_src_sec() 540 struct src_obj *obj) in linker_load_obj_file() 700 static int linker_sanity_check_elf(struct src_obj *obj) in linker_sanity_check_elf() 763 static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec) in linker_sanity_check_elf_symtab() 837 static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec) in linker_sanity_check_elf_relos() 938 static int linker_sanity_check_btf(struct src_obj *obj) in linker_sanity_check_btf() 959 static int linker_sanity_check_btf_ext(struct src_obj *obj) in linker_sanity_check_btf_ext() 1157 static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj) in linker_append_sec_data() 1209 static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj) in linker_append_elf_syms() [all …]
|
| /tools/include/linux/ |
| D | hashtable.h | 105 #define hash_for_each(name, bkt, obj, member) \ argument 119 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 132 #define hash_for_each_possible(name, obj, member, key) \ argument 144 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
|
| /tools/bpf/resolve_btfids/ |
| D | main.c | 249 static struct btf_id *add_set(struct object *obj, char *name, bool is_set8) in add_set() 318 static int elf_collect(struct object *obj) in elf_collect() 403 static int symbols_collect(struct object *obj) in symbols_collect() 505 static int symbols_resolve(struct object *obj) in symbols_resolve() 595 static int id_patch(struct object *obj, struct btf_id *id) in id_patch() 625 static int __symbols_patch(struct object *obj, struct rb_root *root) in __symbols_patch() 649 static int sets_patch(struct object *obj) in sets_patch() 687 static int symbols_patch(struct object *obj) in symbols_patch() 724 struct object obj = { in main() local
|
| /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() local
|
| /tools/perf/tests/ |
| D | bpf.c | 101 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() 210 struct bpf_object *obj; in prepare_bpf() local 225 struct bpf_object *obj; in __test__bpf() local
|
| /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() local [all …]
|
| /tools/perf/util/ |
| D | bpf-loader.c | 80 struct bpf_object *obj; member 116 static int bpf_perf_object__add(struct bpf_object *obj) in bpf_perf_object__add() 206 struct bpf_object *obj; in bpf__prepare_load_buffer() local 237 struct bpf_object *obj; in bpf__prepare_load() local 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() 1058 int bpf__foreach_event(struct bpf_object *obj, in bpf__foreach_event() 1517 bpf__obj_config_map(struct bpf_object *obj, in bpf__obj_config_map() [all …]
|