| /tools/lib/bpf/ |
| D | libbpf.h | 309 LIBBPF_API struct bpf_program * 322 struct bpf_program; 324 LIBBPF_API struct bpf_program * 325 bpf_object__next_program(const struct bpf_object *obj, struct bpf_program *prog); 332 LIBBPF_API struct bpf_program * 333 bpf_object__prev_program(const struct bpf_object *obj, struct bpf_program *prog); 335 LIBBPF_API void bpf_program__set_ifindex(struct bpf_program *prog, 338 LIBBPF_API const char *bpf_program__name(const struct bpf_program *prog); 339 LIBBPF_API const char *bpf_program__section_name(const struct bpf_program *prog); 340 LIBBPF_API bool bpf_program__autoload(const struct bpf_program *prog); [all …]
|
| D | libbpf_legacy.h | 123 struct bpf_program; 130 LIBBPF_API enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog); 131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *pro…
|
| D | libbpf.c | 77 static bool prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog); 430 struct bpf_program { struct 501 struct bpf_program **progs; argument 679 struct bpf_program *programs; 750 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() 761 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit() 798 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog() 863 struct bpf_program *prog, *progs; in bpf_object__add_programs() 1054 const struct bpf_program *prog) in is_valid_st_ops_program() 1073 struct bpf_program *prog, *slot_prog; in bpf_object_adjust_struct_ops_autoload() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | trampoline_count.c | 10 static struct bpf_program *load_prog(char *file, char *name, struct inst *inst) in load_prog() 13 struct bpf_program *prog; in load_prog() 39 struct bpf_program *prog; in serial_test_trampoline_count()
|
| D | reference_tracking.c | 13 struct bpf_program *prog; in test_reference_tracking() 27 struct bpf_program *p; in test_reference_tracking()
|
| D | parse_tcp_hdr_opt.c | 31 struct bpf_program *prog; in test_parse_opt() 61 struct bpf_program *prog; in test_parse_opt_dynptr()
|
| D | custom_sec_handlers.c | 13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog() 21 static int custom_prepare_load_prog(struct bpf_program *prog, in custom_prepare_load_prog() 32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
|
| D | recursive_attach.c | 40 struct bpf_program *prog; in test_recursive_fentry_chain() 117 struct bpf_program *prog; in test_fentry_attach_btf_presence()
|
| D | check_mtu.c | 44 struct bpf_program *prog; in test_check_mtu_xdp_attach() 79 struct bpf_program *prog, in test_check_mtu_run_xdp() 132 struct bpf_program *prog, in test_check_mtu_run_tc()
|
| D | helper_restricted.c | 21 struct bpf_program *prog = *test->skeleton->progs[j].prog; in test_helper_restricted()
|
| D | fexit_bpf2bpf.c | 66 struct bpf_program **prog = NULL, *p; in test_fexit_bpf2bpf_common() 93 prog = calloc(sizeof(struct bpf_program *), prog_cnt); in test_fexit_bpf2bpf_common() 112 struct bpf_program *pos; in test_fexit_bpf2bpf_common() 233 struct bpf_program *prog = NULL; in test_second_attach() 291 struct bpf_program *prog; in test_fmod_ret_freplace() 359 struct bpf_program *prog; in test_obj_load_failure_common()
|
| D | test_overhead.c | 65 struct bpf_program *kprobe_prog, *kretprobe_prog, *raw_tp_prog; in test_test_overhead() 66 struct bpf_program *fentry_prog, *fexit_prog; in test_test_overhead()
|
| D | rcu_read_lock.c | 89 struct bpf_program *prog; in test_inproper_region() 116 struct bpf_program *prog; in test_rcuptr_misuse()
|
| D | test_skb_pkt_end.c | 7 static int sanity_run(struct bpf_program *prog) in sanity_run()
|
| D | cb_refs.c | 25 struct bpf_program *prog; in test_cb_refs()
|
| D | kfunc_module_order.c | 7 static int test_run_prog(const struct bpf_program *prog, in test_run_prog()
|
| D | cpumask.c | 33 struct bpf_program *prog; in verify_success()
|
| D | stacktrace_map_raw_tp.c | 11 struct bpf_program *prog; in test_stacktrace_map_raw_tp()
|
| D | load_bytes_relative.c | 15 struct bpf_program *prog; in test_load_bytes_relative()
|
| D | tailcalls.c | 19 struct bpf_program *prog; in test_tailcall_1() 155 struct bpf_program *prog; in test_tailcall_2() 234 struct bpf_program *prog; in test_tailcall_count() 415 struct bpf_program *prog; in test_tailcall_4() 505 struct bpf_program *prog; in test_tailcall_5() 595 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() 679 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() 759 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() 854 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() 1018 struct bpf_program *prog; in test_tailcall_bpf2bpf_fentry_entry() [all …]
|
| D | pe_preserve_elems.c | 9 static void test_one_map(struct bpf_map *map, struct bpf_program *prog, in test_one_map()
|
| D | test_profiler.c | 9 static int sanity_run(struct bpf_program *prog) in sanity_run()
|
| D | task_kfunc.c | 39 struct bpf_program *prog; in run_success_test()
|
| /tools/testing/selftests/bpf/ |
| D | xskxceiver.h | 138 struct bpf_program *xdp_prog; 165 struct bpf_program *xdp_prog_rx; 166 struct bpf_program *xdp_prog_tx;
|
| D | flow_dissector_load.h | 17 struct bpf_program *prog, *main_prog; in bpf_flow_load()
|