/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A 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
|
H A D | trampoline_count.c | 13 struct bpf_program *prog; in load_prog() local 39 struct bpf_program *prog; in serial_test_trampoline_count() local
|
H A 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
|
H A 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()
|
H A 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
|
/openbmc/linux/samples/bpf/ |
H A D | tracex5_user.c | 27 struct sock_fprog prog = { in install_accept_all_seccomp() local 38 struct bpf_program *prog; in main() local
|
H A 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
|
H A D | xdp_fwd_user.c | 107 static void usage(const char *prog) in usage() 122 struct bpf_program *prog = NULL; in main() local
|
/openbmc/linux/kernel/bpf/ |
H A D | core.c | 133 struct bpf_prog *prog; in bpf_prog_alloc() local 158 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo() 172 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done() 208 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo() 565 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr() 574 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name() 756 struct bpf_prog *prog; in search_bpf_extables() local 1981 struct bpf_prog *prog; in ___bpf_prog_run() local 2413 struct bpf_prog prog; member 2579 struct bpf_prog *prog) in bpf_prog_array_update_at() [all …]
|
H A 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()
|
H A 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
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A 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()
|
/openbmc/linux/net/core/ |
H A 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()
|
/openbmc/linux/drivers/net/hyperv/ |
H A 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()
|
/openbmc/linux/samples/hid/ |
H A D | hid_mouse.c | 42 static void usage(const char *prog) in usage() 79 struct bpf_program *prog; in main() local
|
/openbmc/linux/drivers/hid/bpf/ |
H A D | hid_bpf_jmp_table.c | 34 struct bpf_prog *prog; member 76 struct bpf_prog *prog, in hid_bpf_program_count() 308 static int hid_bpf_insert_prog(int prog_fd, struct bpf_prog *prog) in hid_bpf_insert_prog() 350 int hid_bpf_get_prog_attach_type(struct bpf_prog *prog) in hid_bpf_get_prog_attach_type() 398 int prog_fd, struct bpf_prog *prog, __u32 flags) in __hid_bpf_attach_prog()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 282 static int xdp_test_run_batch(struct xdp_test_data *xdp, struct bpf_prog *prog, in xdp_test_run_batch() 365 static int bpf_test_run_xdp_live(struct bpf_prog *prog, struct xdp_buff *ctx, in bpf_test_run_xdp_live() 393 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() 652 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() 702 struct bpf_prog *prog; member 723 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp() 951 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb() 1145 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp() 1307 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() 1476 int bpf_prog_test_run_syscall(struct bpf_prog *prog, in bpf_prog_test_run_syscall() [all …]
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 394 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 1047 struct sock_fprog prog; in FIXTURE() local 1658 struct sock_fprog prog; in FIXTURE() local 2035 struct sock_fprog prog; in FIXTURE() local [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A 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()
|
/openbmc/linux/include/net/ |
H A D | tcx.h | 184 struct bpf_prog *prog) in tcx_prog_attach() 190 struct bpf_prog *prog) in tcx_link_attach() 196 struct bpf_prog *prog) in tcx_prog_detach()
|
/openbmc/u-boot/board/gdsys/a38x/ |
H A D | keyprogram.c | 75 struct key_program *prog = *result; in extract_subprogram() local 131 struct key_program *prog; in load_and_run_keyprog() local
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A 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
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 1599 const struct bpf_prog *prog, in kprobe_prog_is_valid_access() 1710 const struct bpf_prog *prog, in tp_prog_is_valid_access() 2014 const struct bpf_prog *prog, in raw_tp_prog_is_valid_access() 2022 const struct bpf_prog *prog, in tracing_prog_is_valid_access() 2057 const struct bpf_prog *prog, in raw_tp_writable_prog_is_valid_access() 2077 const struct bpf_prog *prog, in pe_prog_is_valid_access() 2117 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() 2164 struct bpf_prog *prog, in perf_event_attach_bpf_prog() 2301 void __bpf_trace_run(struct bpf_prog *prog, u64 *args) in __bpf_trace_run() 2394 struct bpf_prog *prog; in bpf_get_perf_event_info() local [all …]
|