Home
last modified time | relevance | path

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

123

/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()
206 static int run_setsockopt_test(struct bpf_object *obj, int cg_parent, in run_setsockopt_test()
303 struct bpf_object *obj = NULL; in test_sockopt_multi() local
Dglobal_data.c4 static void test_global_data_number(struct bpf_object *obj, __u32 duration) in test_global_data_number()
39 static void test_global_data_string(struct bpf_object *obj, __u32 duration) in test_global_data_string()
74 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) in test_global_data_struct()
102 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) in test_global_data_rdonly()
128 struct bpf_object *obj; in test_global_data() local
Dsockopt_sk.c134 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
Dskb_ctx.c22 struct bpf_object *obj; in test_skb_ctx() local
Dprog_run_xattr.c7 struct bpf_object *obj; in test_prog_run_xattr() local
Dtcp_estats.c8 struct bpf_object *obj; in test_tcp_estats() local
Dpkt_md_access.c7 struct bpf_object *obj; in test_pkt_md_access() local
Dpkt_access.c7 struct bpf_object *obj; in test_pkt_access() local
Dreference_tracking.c7 struct bpf_object *obj; in test_reference_tracking() local
Dspinlock.c8 struct bpf_object *obj = NULL; in test_spinlock() local
Dsockopt_inherit.c139 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
174 struct bpf_object *obj; in run_test() local
Dxdp_adjust_tail.c7 struct bpf_object *obj; in test_xdp_adjust_tail() local
Dtask_fd_query_rawtp.c9 struct bpf_object *obj; in test_task_fd_query_rawtp() local
/tools/lib/bpf/
Dlibbpf.c185 struct bpf_object *obj; member
406 bpf_object__add_program(struct bpf_object *obj, void *data, size_t size, in bpf_object__add_program()
442 bpf_object__init_prog_names(struct bpf_object *obj) in bpf_object__init_prog_names()
498 struct bpf_object *obj; in bpf_object__new() local
536 static void bpf_object__elf_finish(struct bpf_object *obj) in bpf_object__elf_finish()
557 static int bpf_object__elf_init(struct bpf_object *obj) in bpf_object__elf_init()
616 static int bpf_object__check_endianness(struct bpf_object *obj) in bpf_object__check_endianness()
632 bpf_object__init_license(struct bpf_object *obj, void *data, size_t size) in bpf_object__init_license()
640 bpf_object__init_kversion(struct bpf_object *obj, void *data, size_t size) in bpf_object__init_kversion()
672 static int bpf_object_search_section_size(const struct bpf_object *obj, in bpf_object_search_section_size()
[all …]
/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/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.c77 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map()
97 struct bpf_object *obj; in main() local
Dtest_libbpf_open.c53 int test_walk_progs(struct bpf_object *obj, bool verbose) in test_walk_progs()
67 int test_walk_maps(struct bpf_object *obj, bool verbose) in test_walk_maps()
Dtest_dev_cgroup.c25 struct bpf_object *obj; in main() local
Dtest_lirc_mode2_user.c50 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
634 int bpf__probe(struct bpf_object *obj) in bpf__probe()
695 int bpf__unprobe(struct bpf_object *obj) in bpf__unprobe()
735 int bpf__load(struct bpf_object *obj) in bpf__load()
749 int bpf__foreach_event(struct bpf_object *obj, in bpf__foreach_event()
1173 bpf__obj_config_map(struct bpf_object *obj, in bpf__obj_config_map()
1232 int bpf__config_obj(struct bpf_object *obj, in bpf__config_obj()
1492 apply_obj_config_object(struct bpf_object *obj) in apply_obj_config_object()
[all …]
Dpython.c420 PyObject *obj = NULL; in pyrf_sample_event__getattro() local
575 static Py_ssize_t pyrf_cpu_map__length(PyObject *obj) in pyrf_cpu_map__length()
582 static PyObject *pyrf_cpu_map__item(PyObject *obj, Py_ssize_t i) in pyrf_cpu_map__item()
644 static Py_ssize_t pyrf_thread_map__length(PyObject *obj) in pyrf_thread_map__length()
651 static PyObject *pyrf_thread_map__item(PyObject *obj, Py_ssize_t i) in pyrf_thread_map__item()
1122 static Py_ssize_t pyrf_evlist__length(PyObject *obj) in pyrf_evlist__length()
1129 static PyObject *pyrf_evlist__item(PyObject *obj, Py_ssize_t i) in pyrf_evlist__item()
1288 PyObject *obj; in initperf() local
/tools/perf/tests/
Dbpf.c110 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test()
214 struct bpf_object *obj; in prepare_bpf() local
229 struct bpf_object *obj; in __test__bpf() local

123