| /Linux-v5.4/tools/perf/util/ |
| D | bpf-loader.h | 44 struct bpf_object; 49 int fd, struct bpf_object *obj, void *arg); 52 struct bpf_object *bpf__prepare_load(const char *filename, bool source); 56 struct bpf_object *bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, 61 int bpf__probe(struct bpf_object *obj); 62 int bpf__unprobe(struct bpf_object *obj); 63 int bpf__strerror_probe(struct bpf_object *obj, int err, 66 int bpf__load(struct bpf_object *obj); 67 int bpf__strerror_load(struct bpf_object *obj, int err, 69 int bpf__foreach_event(struct bpf_object *obj, [all …]
|
| D | bpf-loader.c | 51 struct bpf_object * 54 struct bpf_object *obj; in bpf__prepare_load_buffer() 70 struct bpf_object *bpf__prepare_load(const char *filename, bool source) in bpf__prepare_load() 72 struct bpf_object *obj; in bpf__prepare_load() 113 struct bpf_object *obj, *tmp; in bpf__clear() 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() [all …]
|
| D | parse-events.h | 156 struct bpf_object; 159 struct bpf_object *obj,
|
| /Linux-v5.4/tools/lib/bpf/ |
| D | libbpf.h | 63 struct bpf_object; 70 LIBBPF_API struct bpf_object *bpf_object__open(const char *path); 71 LIBBPF_API struct bpf_object * 73 struct bpf_object *__bpf_object__open_xattr(struct bpf_object_open_attr *attr, 75 LIBBPF_API struct bpf_object *bpf_object__open_buffer(void *obj_buf, 78 int bpf_object__section_size(const struct bpf_object *obj, const char *name, 80 int bpf_object__variable_offset(const struct bpf_object *obj, const char *name, 82 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path); 83 LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj, 85 LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj, [all …]
|
| D | libbpf.c | 185 struct bpf_object *obj; 237 struct bpf_object { struct 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() 494 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() 498 struct bpf_object *obj; in bpf_object__new() 501 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new() 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() [all …]
|
| D | README.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
|
| /Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ |
| D | global_data.c | 4 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()
|
| D | sockopt_multi.c | 5 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()
|
| D | sockopt_sk.c | 134 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 | 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() 174 struct bpf_object *obj; in run_test()
|
| D | pkt_md_access.c | 7 struct bpf_object *obj; in test_pkt_md_access()
|
| D | spinlock.c | 8 struct bpf_object *obj = NULL; in test_spinlock()
|
| D | reference_tracking.c | 7 struct bpf_object *obj; in test_reference_tracking()
|
| D | pkt_access.c | 7 struct bpf_object *obj; in test_pkt_access()
|
| D | xdp_adjust_tail.c | 7 struct bpf_object *obj; in test_xdp_adjust_tail()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_libbpf_open.c | 53 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() 83 struct bpf_object *bpfobj = NULL; in test_open_file()
|
| D | test_netcnt.c | 21 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 41 struct bpf_object *obj; in main()
|
| D | test_tcpbpf_user.c | 77 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 97 struct bpf_object *obj; in main()
|
| 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 | test_dev_cgroup.c | 25 struct bpf_object *obj; in main()
|
| D | flow_dissector_load.h | 8 static inline int bpf_flow_load(struct bpf_object **obj, in bpf_flow_load()
|
| D | test_stub.c | 9 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load()
|
| /Linux-v5.4/tools/perf/tests/ |
| D | bpf.c | 110 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() 211 static struct bpf_object * 214 struct bpf_object *obj; in prepare_bpf() 229 struct bpf_object *obj; in __test__bpf()
|
| /Linux-v5.4/samples/bpf/ |
| D | sockex1_user.c | 13 struct bpf_object *obj; in main()
|