Home
last modified time | relevance | path

Searched defs:prog (Results 26 – 50 of 384) sorted by relevance

12345678910>>...16

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcheck_mtu.c44 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 Dparse_tcp_hdr_opt.c31 struct bpf_program *prog; in test_parse_opt() local
61 struct bpf_program *prog; in test_parse_opt_dynptr() local
H A Dtrampoline_count.c13 struct bpf_program *prog; in load_prog() local
39 struct bpf_program *prog; in serial_test_trampoline_count() local
H A Drcu_read_lock.c83 struct bpf_program *prog; in test_inproper_region() local
110 struct bpf_program *prog; in test_rcuptr_misuse() local
H A Dtest_overhead.c18 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 Dfexit_bpf2bpf.c66 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 Dtracex5_user.c27 struct sock_fprog prog = { in install_accept_all_seccomp() local
38 struct bpf_program *prog; in main() local
H A Dhbm.c119 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 Dxdp_fwd_user.c107 static void usage(const char *prog) in usage()
122 struct bpf_program *prog = NULL; in main() local
/openbmc/linux/kernel/bpf/
H A Dcore.c133 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 Dtcx.c10 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 Dmprog.c34 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 Dmana_bpf.c84 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 Dsock_reuseport.c467 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 Dnetvsc_bpf.c31 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 Dhid_mouse.c42 static void usage(const char *prog) in usage()
79 struct bpf_program *prog; in main() local
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c34 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 Dtest_run.c281 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
722 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp()
950 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1144 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1306 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector()
1475 int bpf_prog_test_run_syscall(struct bpf_prog *prog, in bpf_prog_test_run_syscall()
[all …]
H A Dbpf_dummy_struct_ops.c77 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 Dseccomp_bpf.c394 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 Dbpf_jit_core.c18 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 Dtcx.h184 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 Dkeyprogram.c75 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 Daic94xx_seq.c178 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 Dbpf_trace.c1599 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()
2303 void __bpf_trace_run(struct bpf_prog *prog, u64 *args) in __bpf_trace_run()
2395 struct bpf_prog *prog; in bpf_get_perf_event_info() local
[all …]

12345678910>>...16