| /linux-6.15/tools/lib/bpf/ |
| H A D | libbpf.h | 322 LIBBPF_API struct bpf_program * 335 struct bpf_program; 337 LIBBPF_API struct bpf_program * 345 LIBBPF_API struct bpf_program * 471 struct bpf_program *prog); 493 bpf_program__attach(const struct bpf_program *prog); 770 bpf_program__attach_usdt(const struct bpf_program *prog, 817 bpf_program__attach_trace(const struct bpf_program *prog); 822 bpf_program__attach_lsm(const struct bpf_program *prog); 893 bpf_program__attach_iter(const struct bpf_program *prog, [all …]
|
| H A 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…
|
| H A D | libbpf.c | 429 struct bpf_program { struct 500 struct bpf_program **progs; argument 1179 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() 3471 struct bpf_program *prog; in obj_needs_vmlinux_btf() 4440 struct bpf_program * 4444 struct bpf_program *prog; in bpf_object__find_program_by_name() 4664 struct bpf_program *prog; in find_prog_by_sec_insn() 4693 struct bpf_program *prog; in bpf_object__collect_prog_relos() 5924 struct bpf_program *prog; in bpf_object__relocate_core() 9251 struct bpf_program * [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A 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()
|
| H A D | free_timer.c | 11 struct bpf_program *start_prog; 12 struct bpf_program *overwrite_prog; 120 struct bpf_program *prog; in test_free_timer()
|
| H A D | reference_tracking.c | 13 struct bpf_program *prog; in test_reference_tracking() 27 struct bpf_program *p; in test_reference_tracking()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A D | summarization.c | 20 struct bpf_program *freplace_prog = NULL; in test_aux() 21 struct bpf_program *main_prog = NULL; in test_aux()
|
| H A D | task_kfunc.c | 39 struct bpf_program *prog; in run_success_test() 74 struct bpf_program *prog; in run_vpid_test()
|
| H A D | tailcalls.c | 20 struct bpf_program *prog; in test_tailcall_1() 156 struct bpf_program *prog; in test_tailcall_2() 235 struct bpf_program *prog; in test_tailcall_count() 416 struct bpf_program *prog; in test_tailcall_4() 506 struct bpf_program *prog; in test_tailcall_5() 596 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() 680 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() 760 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() 855 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() 1019 struct bpf_program *prog; in test_tailcall_bpf2bpf_fentry_entry() [all …]
|
| H A 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()
|
| H A D | rcu_read_lock.c | 92 struct bpf_program *prog; in test_inproper_region() 119 struct bpf_program *prog; in test_rcuptr_misuse()
|
| H A D | sk_lookup.c | 67 struct bpf_program *lookup_prog; 68 struct bpf_program *reuseport_prog; 90 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog) in attach_reuseport() 156 struct bpf_program *reuseport_prog) in make_server() 410 static struct bpf_link *attach_lookup_prog(struct bpf_program *prog) in attach_lookup_prog() 1026 struct bpf_program *lookup_prog, in run_sk_assign() 1079 struct bpf_program *lookup_prog) in run_sk_assign_v4() 1085 struct bpf_program *lookup_prog) in run_sk_assign_v6() 1153 struct bpf_program *prog1; 1154 struct bpf_program *prog2;
|
| H A D | xdp_vlan.c | 71 static void xdp_vlan(struct bpf_program *xdp, struct bpf_program *tc, u32 flags) in xdp_vlan()
|
| H A D | helper_restricted.c | 21 struct bpf_program *prog = *test->skeleton->progs[j].prog; in test_helper_restricted()
|
| H A D | test_skb_pkt_end.c | 7 static int sanity_run(struct bpf_program *prog) in sanity_run()
|
| /linux-6.15/include/uapi/linux/netfilter/ |
| H A D | xt_bpf.h | 16 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member 34 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | xskxceiver.h | 138 struct bpf_program *xdp_prog; 165 struct bpf_program *xdp_prog_rx; 166 struct bpf_program *xdp_prog_tx;
|
| /linux-6.15/net/netfilter/ |
| H A D | xt_bpf.c | 68 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check() 78 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check_v1()
|
| /linux-6.15/samples/bpf/ |
| H A D | xdp_fwd_user.c | 122 struct bpf_program *prog = NULL; in main() 123 struct bpf_program *pos; in main()
|
| H A D | sampleip_user.c | 36 static int sampling_start(int freq, struct bpf_program *prog, in sampling_start() 143 struct bpf_program *prog; in main()
|