/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | check_mtu.c | 44 struct bpf_program *prog; in test_check_mtu_xdp_attach() local 79 struct bpf_program *prog, in test_check_mtu_run_xdp() 132 struct bpf_program *prog, in test_check_mtu_run_tc()
|
D | recursive_attach.c | 40 struct bpf_program *prog; in test_recursive_fentry_chain() local 117 struct bpf_program *prog; in test_fentry_attach_btf_presence() local
|
D | parse_tcp_hdr_opt.c | 31 struct bpf_program *prog; in test_parse_opt() local 61 struct bpf_program *prog; in test_parse_opt_dynptr() local
|
D | trampoline_count.c | 13 struct bpf_program *prog; in load_prog() local 39 struct bpf_program *prog; in serial_test_trampoline_count() local
|
D | rcu_read_lock.c | 89 struct bpf_program *prog; in test_inproper_region() local 116 struct bpf_program *prog; in test_rcuptr_misuse() local
|
D | task_kfunc.c | 39 struct bpf_program *prog; in run_success_test() local 74 struct bpf_program *prog; in run_vpid_test() local
|
D | fexit_bpf2bpf.c | 66 struct bpf_program **prog = NULL, *p; in test_fexit_bpf2bpf_common() local 233 struct bpf_program *prog = NULL; in test_second_attach() local 291 struct bpf_program *prog; in test_fmod_ret_freplace() local 359 struct bpf_program *prog; in test_obj_load_failure_common() local
|
D | test_overhead.c | 18 static int test_task_rename(const char *prog) in test_task_rename() 42 static void test_run(const char *prog) in test_run()
|
/linux-6.14.4/net/core/ |
D | sock_reuseport.c | 466 struct bpf_prog *prog; in reuseport_stop_listen_sock() local 498 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter() 574 struct bpf_prog *prog; in reuseport_select_sock() local 627 struct bpf_prog *prog; in reuseport_migrate_sock() local 683 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
|
D | filter.c | 576 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() 1183 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() 1472 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog() 1502 struct bpf_prog *prog; in __get_filter() local 1547 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_attach_filter() local 1565 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_reuseport_attach_filter() local 1593 struct bpf_prog *prog = __get_bpf(ufd, sk); in sk_attach_bpf() local 1610 struct bpf_prog *prog; in sk_reuseport_attach_bpf() local 1654 void sk_reuseport_prog_free(struct bpf_prog *prog) in sk_reuseport_prog_free() 7150 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() [all …]
|
/linux-6.14.4/include/linux/ |
D | bpf-netns.h | 44 struct bpf_prog *prog) in netns_bpf_prog_attach() 56 struct bpf_prog *prog) in netns_bpf_link_create()
|
/linux-6.14.4/kernel/bpf/ |
D | tcx.c | 10 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_attach() 59 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_detach() 302 struct bpf_prog *prog) in tcx_link_init() 310 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_link_attach()
|
D | core.c | 143 struct bpf_prog *prog; in bpf_prog_alloc() local 168 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo() 182 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done() 218 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo() 412 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches() 459 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo() 479 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single() 540 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns() 579 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr() 588 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name() [all …]
|
D | mprog.c | 34 struct bpf_prog *prog = ERR_PTR(-EINVAL); in bpf_mprog_prog() local 303 struct bpf_prog *prog; in bpf_mprog_fetch() local 330 struct bpf_prog *prog, struct bpf_link *link, in bpf_mprog_detach() 402 struct bpf_prog *prog; in bpf_mprog_query() local
|
/linux-6.14.4/drivers/net/ethernet/microsoft/mana/ |
D | mana_bpf.c | 84 struct bpf_prog *prog; in mana_run_xdp() local 149 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog) in mana_chn_setxdp() 171 static int mana_xdp_set(struct net_device *ndev, struct bpf_prog *prog, in mana_xdp_set()
|
/linux-6.14.4/samples/bpf/ |
D | tracex5_user.c | 27 struct sock_fprog prog = { in install_accept_all_seccomp() local 38 struct bpf_program *prog; in main() local
|
D | hbm.c | 119 static int prog_load(char *prog) in prog_load() 161 static int run_bpf_prog(char *prog, int cg_id) in run_bpf_prog() 452 char *prog = "hbm_out_kern.o"; in main() local
|
D | xdp_fwd_user.c | 107 static void usage(const char *prog) in usage() 122 struct bpf_program *prog = NULL; in main() local
|
/linux-6.14.4/drivers/net/hyperv/ |
D | netvsc_bpf.c | 31 struct bpf_prog *prog; in netvsc_run_xdp() local 124 int netvsc_xdp_set(struct net_device *dev, struct bpf_prog *prog, in netvsc_xdp_set() 165 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog) in netvsc_vf_setxdp()
|
/linux-6.14.4/net/bpf/ |
D | bpf_dummy_struct_ops.c | 96 static int check_test_run_args(struct bpf_prog *prog, struct bpf_dummy_ops_test_args *args) in check_test_run_args() 129 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_struct_ops_test_run() 212 const struct bpf_prog *prog, in bpf_dummy_ops_is_valid_access() 220 const struct bpf_prog *prog) in bpf_dummy_ops_check_member()
|
D | test_run.c | 285 static int xdp_test_run_batch(struct xdp_test_data *xdp, struct bpf_prog *prog, in xdp_test_run_batch() 372 static int bpf_test_run_xdp_live(struct bpf_prog *prog, struct xdp_buff *ctx, in bpf_test_run_xdp_live() 400 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() 679 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() 729 struct bpf_prog *prog; member 750 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp() 978 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb() 1199 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp() 1361 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() 1430 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup() [all …]
|
/linux-6.14.4/kernel/trace/ |
D | bpf_trace.c | 1435 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() 1577 static bool is_kprobe_multi(const struct bpf_prog *prog) in is_kprobe_multi() 1583 static inline bool is_kprobe_session(const struct bpf_prog *prog) in is_kprobe_session() 1588 static inline bool is_uprobe_multi(const struct bpf_prog *prog) in is_uprobe_multi() 1594 static inline bool is_uprobe_session(const struct bpf_prog *prog) in is_uprobe_session() 1600 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() 1632 const struct bpf_prog *prog, in kprobe_prog_is_valid_access() 1726 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() 1743 const struct bpf_prog *prog, in tp_prog_is_valid_access() 1830 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in pe_prog_func_proto() [all …]
|
/linux-6.14.4/include/net/ |
D | tcx.h | 180 struct bpf_prog *prog) in tcx_prog_attach() 186 struct bpf_prog *prog) in tcx_link_attach() 192 struct bpf_prog *prog) in tcx_prog_detach()
|
/linux-6.14.4/arch/parisc/net/ |
D | bpf_jit_core.c | 18 const struct bpf_prog *prog = ctx->prog; in build_body() local 44 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile()
|
/linux-6.14.4/drivers/scsi/aic94xx/ |
D | aic94xx_seq.c | 178 const u32 *prog = (u32 *) _prog; in asd_verify_cseq() local 214 const u32 *prog = (u32 *) _prog; in asd_verify_lseq() local 249 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog, in asd_verify_seq() 271 const u8 * const prog, u32 size, u8 lseq_mask) in asd_download_seq() 346 const u32 *prog = (u32 *) _prog; in asd_download_seq() local
|