Home
last modified time | relevance | path

Searched defs:obj (Results 1 – 25 of 93) sorted by relevance

1234

/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c5 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
34 static int prog_detach(struct bpf_object *obj, int cgroup_fd, const char *title) 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()
304 struct bpf_object *obj = NULL; in test_sockopt_multi() local
Dtailcalls.c14 struct bpf_object *obj; in test_tailcall_1() local
152 struct bpf_object *obj; in test_tailcall_2() local
230 struct bpf_object *obj; in test_tailcall_3() local
308 struct bpf_object *obj; in test_tailcall_4() local
396 struct bpf_object *obj; in test_tailcall_5() local
484 struct bpf_object *obj; in test_tailcall_bpf2bpf_1() local
568 struct bpf_object *obj; in test_tailcall_bpf2bpf_2() local
646 struct bpf_object *obj; in test_tailcall_bpf2bpf_3() local
736 struct bpf_object *obj; in test_tailcall_bpf2bpf_4() local
Dglobal_data.c5 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()
129 struct bpf_object *obj; in test_global_data() local
Dtrampoline_count.c10 struct bpf_object *obj; member
33 static struct bpf_link *load(struct bpf_object *obj, const char *name) in load()
51 struct bpf_object *obj; in test_trampoline_count() local
Dxdp_adjust_tail.c9 struct bpf_object *obj; in test_xdp_adjust_tail_shrink() local
36 struct bpf_object *obj; in test_xdp_adjust_tail_grow() local
66 struct bpf_object *obj; in test_xdp_adjust_tail_grow2() local
Dmetadata.c68 struct metadata_unused *obj; in test_metadata_unused() local
102 struct metadata_used *obj; in test_metadata_used() local
Dpinning.c8 __u32 get_map_id(struct bpf_object *obj, const char *name) in get_map_id()
38 struct bpf_object *obj; in test_pinning() local
Dfexit_bpf2bpf.c9 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() local
182 static int test_second_attach(struct bpf_object *obj) in test_second_attach()
308 struct bpf_object *obj = NULL, *pkt_obj; in test_obj_load_failure_common() local
Dcg_storage_multi.c90 struct cg_storage_multi_egress_only *obj; in test_egress_only() local
164 struct cg_storage_multi_isolated *obj; in test_isolated() local
289 struct cg_storage_multi_shared *obj; in test_shared() local
Dsockopt_sk.c166 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
200 struct bpf_object *obj; in run_test() local
Dskb_helpers.c20 struct bpf_object *obj; in test_skb_helpers() local
Dtcp_estats.c8 struct bpf_object *obj; in test_tcp_estats() local
Dskb_ctx.c29 struct bpf_object *obj; in test_skb_ctx() local
Dprog_run_xattr.c8 struct bpf_object *obj; in test_prog_run_xattr() local
Dpkt_md_access.c8 struct bpf_object *obj; in test_pkt_md_access() local
Dpkt_access.c8 struct bpf_object *obj; in test_pkt_access() local
/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c23 static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) in perf_trace_context_common_pc()
38 static PyObject *perf_trace_context_common_flags(PyObject *obj, in perf_trace_context_common_flags()
54 static PyObject *perf_trace_context_common_lock_depth(PyObject *obj, in perf_trace_context_common_lock_depth()
/tools/include/linux/
Dhashtable.h105 #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/lib/bpf/
Dlibbpf.c271 struct bpf_object *obj; member
559 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
609 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs()
916 static int bpf_object__init_kern_struct_ops_maps(struct bpf_object *obj) in bpf_object__init_kern_struct_ops_maps()
937 static int bpf_object__init_struct_ops_maps(struct bpf_object *obj) in bpf_object__init_struct_ops_maps()
1035 struct bpf_object *obj; in bpf_object__new() local
1083 static void bpf_object__elf_finish(struct bpf_object *obj) in bpf_object__elf_finish()
1110 static int bpf_object__elf_init(struct bpf_object *obj) in bpf_object__elf_init()
1183 static int bpf_object__check_endianness(struct bpf_object *obj) in bpf_object__check_endianness()
1199 bpf_object__init_license(struct bpf_object *obj, void *data, size_t size) in bpf_object__init_license()
[all …]
/tools/bpf/resolve_btfids/
Dmain.c230 static struct btf_id *add_set(struct object *obj, char *name) in add_set()
299 static int elf_collect(struct object *obj) in elf_collect()
383 static int symbols_collect(struct object *obj) in symbols_collect()
472 static int symbols_resolve(struct object *obj) in symbols_resolve()
545 static int id_patch(struct object *obj, struct btf_id *id) in id_patch()
576 static int __symbols_patch(struct object *obj, struct rb_root *root) in __symbols_patch()
600 static int sets_patch(struct object *obj) in sets_patch()
638 static int symbols_patch(struct object *obj) in symbols_patch()
676 struct object obj = { in main() local
/tools/testing/selftests/bpf/
Dtest_netcnt.c21 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map()
41 struct bpf_object *obj; in main() local
Dget_cgroup_id_user.c35 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map()
55 struct bpf_object *obj; in main() local
Dtest_tcpbpf_user.c79 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map()
99 struct bpf_object *obj; in main() local
/tools/perf/util/
Dbpf-loader.c54 struct bpf_object *obj; in bpf__prepare_load_buffer() local
72 struct bpf_object *obj; in bpf__prepare_load() local
113 struct bpf_object *obj, *tmp; in bpf__clear() local
626 int bpf__probe(struct bpf_object *obj) in bpf__probe()
687 int bpf__unprobe(struct bpf_object *obj) in bpf__unprobe()
727 int bpf__load(struct bpf_object *obj) in bpf__load()
741 int bpf__foreach_event(struct bpf_object *obj, in bpf__foreach_event()
1165 bpf__obj_config_map(struct bpf_object *obj, in bpf__obj_config_map()
1225 int bpf__config_obj(struct bpf_object *obj, in bpf__config_obj()
1485 apply_obj_config_object(struct bpf_object *obj) in apply_obj_config_object()
[all …]
/tools/perf/tests/
Dbpf.c112 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test()
216 struct bpf_object *obj; in prepare_bpf() local
231 struct bpf_object *obj; in __test__bpf() local

1234