/Linux-v6.6/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 | parse_tcp_hdr_opt.c | 30 struct bpf_program *prog; in test_parse_opt() local 60 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 | 83 struct bpf_program *prog; in test_inproper_region() local 110 struct bpf_program *prog; in test_rcuptr_misuse() 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 358 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-v6.6/net/core/ |
D | sock_reuseport.c | 467 struct bpf_prog *prog; in reuseport_stop_listen_sock() local 499 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter() 575 struct bpf_prog *prog; in reuseport_select_sock() local 628 struct bpf_prog *prog; in reuseport_migrate_sock() local 684 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
|
D | filter.c | 559 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() 1166 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() 1455 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog() 1485 struct bpf_prog *prog; in __get_filter() local 1530 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_attach_filter() local 1548 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_reuseport_attach_filter() local 1575 struct bpf_prog *prog = __get_bpf(ufd, sk); in sk_attach_bpf() local 1592 struct bpf_prog *prog; in sk_reuseport_attach_bpf() local 1635 void sk_reuseport_prog_free(struct bpf_prog *prog) in sk_reuseport_prog_free() 6972 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() [all …]
|
/Linux-v6.6/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-v6.6/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 394 struct sock_fprog prog = { in TEST() local 428 struct sock_fprog prog = { }; in TEST() local 465 struct sock_fprog prog = { }; in TEST() local 502 struct sock_fprog prog = { in TEST() local 525 struct sock_fprog prog = { in TEST() local 550 struct sock_fprog prog = { in TEST() local 567 struct sock_fprog prog = { in TEST() local 586 struct sock_fprog prog = { in TEST() local 608 struct sock_fprog prog = { in TEST_SIGNAL() local 630 struct sock_fprog prog = { in TEST_SIGNAL() local [all …]
|
/Linux-v6.6/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-v6.6/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 | 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-v6.6/net/bpf/ |
D | test_run.c | 281 static int xdp_test_run_batch(struct xdp_test_data *xdp, struct bpf_prog *prog, in xdp_test_run_batch() 364 static int bpf_test_run_xdp_live(struct bpf_prog *prog, struct xdp_buff *ctx, in bpf_test_run_xdp_live() 392 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() 651 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() 701 struct bpf_prog *prog; member 716 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp() 944 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb() 1138 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp() 1300 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() 1369 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup() [all …]
|
D | bpf_dummy_struct_ops.c | 77 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_struct_ops_test_run() 151 const struct bpf_prog *prog, in bpf_dummy_ops_is_valid_access() 159 const struct bpf_prog *prog) in bpf_dummy_ops_check_member()
|
/Linux-v6.6/drivers/hid/bpf/ |
D | hid_bpf_jmp_table.c | 34 struct bpf_prog *prog; member 76 struct bpf_prog *prog, in hid_bpf_program_count() 294 static int hid_bpf_insert_prog(int prog_fd, struct bpf_prog *prog) in hid_bpf_insert_prog() 338 struct bpf_prog *prog = NULL; in hid_bpf_get_prog_attach_type() local 395 struct bpf_prog *prog = NULL; in __hid_bpf_attach_prog() local
|
/Linux-v6.6/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-v6.6/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-v6.6/samples/hid/ |
D | hid_mouse.c | 42 static void usage(const char *prog) in usage() 79 struct bpf_program *prog; in main() local
|
/Linux-v6.6/include/net/ |
D | tcx.h | 179 struct bpf_prog *prog) in tcx_prog_attach() 185 struct bpf_prog *prog) in tcx_link_attach() 191 struct bpf_prog *prog) in tcx_prog_detach()
|
/Linux-v6.6/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-v6.6/kernel/trace/ |
D | bpf_trace.c | 1430 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() 1562 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() 1594 const struct bpf_prog *prog, in kprobe_prog_is_valid_access() 1688 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() 1705 const struct bpf_prog *prog, in tp_prog_is_valid_access() 1792 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in pe_prog_func_proto() 1927 raw_tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in raw_tp_prog_func_proto() 1942 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tracing_prog_func_proto() 2009 const struct bpf_prog *prog, in raw_tp_prog_is_valid_access() 2017 const struct bpf_prog *prog, in tracing_prog_is_valid_access() [all …]
|
/Linux-v6.6/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
|