/Linux-v4.19/tools/perf/util/ |
D | bpf-loader.h | 47 struct bpf_object; 55 struct bpf_object *bpf__prepare_load(const char *filename, bool source); 59 struct bpf_object *bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, 64 int bpf__probe(struct bpf_object *obj); 65 int bpf__unprobe(struct bpf_object *obj); 66 int bpf__strerror_probe(struct bpf_object *obj, int err, 69 int bpf__load(struct bpf_object *obj); 70 int bpf__strerror_load(struct bpf_object *obj, int err, 72 int bpf__foreach_event(struct bpf_object *obj, 75 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term, [all …]
|
D | bpf-loader.c | 56 struct bpf_object * 59 struct bpf_object *obj; in bpf__prepare_load_buffer() 77 struct bpf_object *bpf__prepare_load(const char *filename, bool source) in bpf__prepare_load() 79 struct bpf_object *obj; in bpf__prepare_load() 122 struct bpf_object *obj, *tmp; in bpf__clear() 643 int bpf__probe(struct bpf_object *obj) in bpf__probe() 704 int bpf__unprobe(struct bpf_object *obj) in bpf__unprobe() 744 int bpf__load(struct bpf_object *obj) in bpf__load() 758 int bpf__foreach_event(struct bpf_object *obj, in bpf__foreach_event() 1182 bpf__obj_config_map(struct bpf_object *obj, in bpf__obj_config_map() [all …]
|
D | parse-events.h | 153 struct bpf_object; 156 struct bpf_object *obj,
|
D | parse-events.l | 186 bpf_object [^,{}]+\.(o|bpf)[a-zA-Z0-9._]* 234 {bpf_object} | 359 {bpf_object} { if (!isbpf(yyscanner)) { USER_REJECT }; return str(yyscanner, PE_BPF_OBJECT); }
|
D | parse-events.c | 652 struct bpf_object *obj, in parse_events_load_bpf_obj() 705 struct bpf_object *obj, in parse_events_config_bpf() 787 struct bpf_object *obj; in parse_events_load_bpf()
|
/Linux-v4.19/tools/lib/bpf/ |
D | libbpf.h | 67 struct bpf_object; 74 struct bpf_object *bpf_object__open(const char *path); 75 struct bpf_object *bpf_object__open_xattr(struct bpf_object_open_attr *attr); 76 struct bpf_object *bpf_object__open_buffer(void *obj_buf, 79 int bpf_object__pin(struct bpf_object *object, const char *path); 80 void bpf_object__close(struct bpf_object *object); 83 int bpf_object__load(struct bpf_object *obj); 84 int bpf_object__unload(struct bpf_object *obj); 85 const char *bpf_object__name(struct bpf_object *obj); 86 unsigned int bpf_object__kversion(struct bpf_object *obj); [all …]
|
D | libbpf.c | 162 struct bpf_object *obj; 183 struct bpf_object { struct 315 bpf_object__add_program(struct bpf_object *obj, void *data, size_t size, in bpf_object__add_program() 350 bpf_object__init_prog_names(struct bpf_object *obj) in bpf_object__init_prog_names() 402 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() 406 struct bpf_object *obj; in bpf_object__new() 408 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new() 434 static void bpf_object__elf_finish(struct bpf_object *obj) in bpf_object__elf_finish() 452 static int bpf_object__elf_init(struct bpf_object *obj) in bpf_object__elf_init() 514 bpf_object__check_endianness(struct bpf_object *obj) in bpf_object__check_endianness() [all …]
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_libbpf_open.c | 58 int test_walk_progs(struct bpf_object *obj, bool verbose) in test_walk_progs() 72 int test_walk_maps(struct bpf_object *obj, bool verbose) in test_walk_maps() 88 struct bpf_object *bpfobj = NULL; in test_open_file()
|
D | test_progs.c | 86 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 103 struct bpf_object *obj; in test_pkt_access() 134 struct bpf_object *obj; in test_xdp() 174 struct bpf_object *obj; in test_xdp_adjust_tail() 230 struct bpf_object *obj; in test_l4lb() 319 struct bpf_object *obj; in test_xdp_noinline() 378 struct bpf_object *obj; in test_tcp_estats() 424 struct bpf_object *objs[nr_iters]; in test_bpf_obj_id() 664 struct bpf_object *obj; in test_pkt_md_access() 760 struct bpf_object *obj[num_progs]; in test_tp_attach_query() [all …]
|
D | test_tcpbpf_user.c | 57 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() 76 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 | 28 struct bpf_object *obj; in main()
|
D | test_lirc_mode2_user.c | 49 struct bpf_object *obj; in main()
|
D | test_socket_cookie.c | 141 struct bpf_object *pobj; in run_test()
|
D | test_select_reuseport.c | 38 static struct bpf_object *obj;
|
D | test_sock_addr.c | 690 struct bpf_object *obj; in load_path()
|
/Linux-v4.19/tools/perf/tests/ |
D | bpf.c | 105 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() 206 static struct bpf_object * 209 struct bpf_object *obj; in prepare_bpf() 224 struct bpf_object *obj; in __test__bpf()
|
D | llvm.c | 14 struct bpf_object *obj; in test__bpf_parsing()
|
/Linux-v4.19/samples/bpf/ |
D | xdp1_user.c | 79 struct bpf_object *obj; in main()
|
D | xdp_fwd_user.c | 71 struct bpf_object *obj; in main()
|
D | xdp_adjust_tail_user.c | 76 struct bpf_object *obj; in main()
|
D | xdp_sample_pkts_user.c | 105 struct bpf_object *obj; in main()
|
D | xdp_rxq_info_user.c | 452 struct bpf_object *obj; in main()
|
D | xdpsock_user.c | 898 struct bpf_object *obj; in main()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | prog.c | 708 struct bpf_object *obj; in do_load()
|