| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | cls_bpf.c | 85 struct cls_bpf_prog *prog; in cls_bpf_classify() local 139 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf() 144 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd() 196 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload() 216 struct cls_bpf_prog *prog, in cls_bpf_stop_offload() 227 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats() 257 static void cls_bpf_free_parms(struct cls_bpf_prog *prog) in cls_bpf_free_parms() 268 static void __cls_bpf_delete_prog(struct cls_bpf_prog *prog) in __cls_bpf_delete_prog() 279 struct cls_bpf_prog *prog = container_of(to_rcu_work(work), in cls_bpf_delete_prog_work() local 287 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete() [all …]
|
| H A D | act_bpf.c | 39 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local 93 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf() 98 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info() 116 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_ebpf_info() 141 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() local 265 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, in tcf_bpf_prog_fill_cfg() 289 struct tcf_bpf *prog; in tcf_bpf_init() local
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_program.c | 28 use_solid(PixmapPtr pixmap, GCPtr gc, glamor_program *prog, void *arg) in use_solid() 41 use_tile(PixmapPtr pixmap, GCPtr gc, glamor_program *prog, void *arg) in use_tile() 55 use_stipple(PixmapPtr pixmap, GCPtr gc, glamor_program *prog, void *arg) in use_stipple() 74 use_opaque_stipple(PixmapPtr pixmap, GCPtr gc, glamor_program *prog, void *arg) in use_opaque_stipple() 230 glamor_get_uniform(glamor_program *prog, in glamor_get_uniform() 246 glamor_program *prog, in glamor_build_program() 388 glamor_program *prog, in glamor_use_program() 409 glamor_program *prog = &program_fill->progs[gc->fillStyle]; in glamor_use_program_fill() local 513 use_source_solid(CARD8 op, PicturePtr src, PicturePtr dst, glamor_program *prog) in use_source_solid() 533 use_source_picture(CARD8 op, PicturePtr src, PicturePtr dst, glamor_program *prog) in use_source_picture() [all …]
|
| H A D | glamor_dash.c | 141 glamor_program *prog; in glamor_dash_setup() local 203 glamor_dash_loop(DrawablePtr drawable, GCPtr gc, glamor_program *prog, in glamor_dash_loop() 247 glamor_program *prog; in glamor_poly_lines_dash_gl() local 326 glamor_program *prog; in glamor_poly_segment_dash_gl() local
|
| /OK3568_Linux_fs/kernel/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 236 u8 *prog = *pprog; in push_callee_regs() local 252 u8 *prog = *pprog; in pop_callee_regs() local 274 u8 *prog = *pprog; in emit_prologue() local 300 u8 *prog = *pprog; in emit_patch() local 331 u8 *prog; in __bpf_arch_text_poke() local 386 u8 *prog = *pprog; in emit_indirect_jump() local 404 u8 *prog = *pprog; in emit_return() local 437 u8 *prog = *pprog, *start = *pprog; in emit_bpf_tail_call_indirect() local 512 u8 *prog = *pprog, *start = *pprog; in emit_bpf_tail_call_direct() local 549 static void bpf_tail_call_direct_fixup(struct bpf_prog *prog) in bpf_tail_call_direct_fixup() [all …]
|
| H A D | bpf_jit_comp32.c | 209 u8 *prog = *pprog; in emit_ia32_mov_i() local 237 u8 *prog = *pprog; in emit_ia32_mov_r() local 288 u8 *prog = *pprog; in emit_ia32_mul_r() local 321 u8 *prog = *pprog; in emit_ia32_to_le_r64() local 369 u8 *prog = *pprog; in emit_ia32_to_be_r64() local 438 u8 *prog = *pprog; in emit_ia32_div_mod_r() local 485 u8 *prog = *pprog; in emit_ia32_shift_r() local 527 u8 *prog = *pprog; in emit_ia32_alu_r() local 582 u8 *prog = *pprog; in emit_ia32_alu_r64() local 601 u8 *prog = *pprog; in emit_ia32_alu_i() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/at91/ |
| H A D | clk-programmable.c | 34 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_recalc_rate() local 52 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_determine_rate() local 104 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local 129 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local 150 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_rate() local 195 struct clk_programmable *prog; in at91_clk_register_programmable() local
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tailcalls.c | 13 struct bpf_program *prog; in test_tailcall_1() local 151 struct bpf_program *prog; in test_tailcall_2() local 229 struct bpf_program *prog; in test_tailcall_3() local 307 struct bpf_program *prog; in test_tailcall_4() local 395 struct bpf_program *prog; in test_tailcall_5() local 483 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() local 567 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() local 645 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() local 735 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() local
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | offload.c | 80 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr) in bpf_prog_offload_init() 127 int bpf_prog_offload_verifier_prep(struct bpf_prog *prog) in bpf_prog_offload_verifier_prep() 212 static void __bpf_prog_offload_destroy(struct bpf_prog *prog) in __bpf_prog_offload_destroy() 227 void bpf_prog_offload_destroy(struct bpf_prog *prog) in bpf_prog_offload_destroy() 235 static int bpf_prog_offload_translate(struct bpf_prog *prog) in bpf_prog_offload_translate() 256 int bpf_prog_offload_compile(struct bpf_prog *prog) in bpf_prog_offload_compile() 264 struct bpf_prog *prog; member 295 struct bpf_prog *prog) in bpf_prog_offload_info_fill() 546 static bool __bpf_offload_dev_match(struct bpf_prog *prog, in __bpf_offload_dev_match() 567 bool bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) in bpf_offload_dev_match() [all …]
|
| H A D | cgroup.c | 42 struct bpf_prog *prog, in bpf_cgroup_storages_alloc() 383 struct bpf_prog *prog, in find_attach_entry() 434 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach() 625 struct bpf_prog *prog, in find_detach_entry() 666 static void purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, in purge_effective_progs() 723 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_detach() 772 struct bpf_prog *prog; in __cgroup_bpf_query() local 815 enum bpf_prog_type ptype, struct bpf_prog *prog) in cgroup_bpf_prog_attach() 845 struct bpf_prog *prog; in cgroup_bpf_prog_detach() local 956 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach() [all …]
|
| H A D | syscall.c | 1605 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog) in find_prog_type() 1635 static void bpf_audit_prog(const struct bpf_prog *prog, unsigned int op) in bpf_audit_prog() 1676 static int bpf_prog_charge_memlock(struct bpf_prog *prog) in bpf_prog_charge_memlock() 1691 static void bpf_prog_uncharge_memlock(struct bpf_prog *prog) in bpf_prog_uncharge_memlock() 1699 static int bpf_prog_alloc_id(struct bpf_prog *prog) in bpf_prog_alloc_id() 1718 void bpf_prog_free_id(struct bpf_prog *prog, bool do_idr_lock) in bpf_prog_free_id() 1753 static void __bpf_prog_put_noref(struct bpf_prog *prog, bool deferred) in __bpf_prog_put_noref() 1769 static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock) in __bpf_prog_put() 1780 void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() 1788 struct bpf_prog *prog = filp->private_data; in bpf_prog_release() local [all …]
|
| H A D | core.c | 116 struct bpf_prog *prog; in bpf_prog_alloc() local 140 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo() 154 void bpf_prog_free_jited_linfo(struct bpf_prog *prog) in bpf_prog_free_jited_linfo() 160 void bpf_prog_free_unused_jited_linfo(struct bpf_prog *prog) in bpf_prog_free_unused_jited_linfo() 190 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo() 219 void bpf_prog_free_linfo(struct bpf_prog *prog) in bpf_prog_free_linfo() 382 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches() 422 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo() 442 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single() 503 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns() [all …]
|
| H A D | prog_iter.c | 16 struct bpf_prog *prog; in bpf_prog_seq_start() local 42 DEFINE_BPF_ITER_FUNC(bpf_prog, struct bpf_iter_meta *meta, struct bpf_prog *prog) in DEFINE_BPF_ITER_FUNC() 48 struct bpf_prog *prog; in DEFINE_BPF_ITER_FUNC() local
|
| H A D | bpf_iter.c | 24 struct bpf_prog *prog; member 310 struct bpf_prog *prog) in cache_btf_id() 315 bool bpf_iter_prog_supported(struct bpf_prog *prog) in bpf_iter_prog_supported() 462 int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_iter_link_attach() 532 struct bpf_prog *prog) in init_seq_meta() 547 struct bpf_prog *prog; in prepare_seq_file() local 646 int bpf_iter_run_prog(struct bpf_prog *prog, void *ctx) in bpf_iter_run_prog()
|
| H A D | dispatcher.c | 25 struct bpf_dispatcher *d, struct bpf_prog *prog) in bpf_dispatcher_find_prog() 43 struct bpf_prog *prog) in bpf_dispatcher_add_prog() 68 struct bpf_prog *prog) in bpf_dispatcher_remove_prog()
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | bpf-lirc.c | 83 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in lirc_mode2_func_proto() 123 const struct bpf_prog *prog, in lirc_mode2_is_valid_access() 137 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_attach() 175 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_detach() 244 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in lirc_prog_attach() 265 struct bpf_prog *prog; in lirc_prog_detach() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | offload.c | 112 struct bpf_prog *prog) in nfp_map_ptrs_record() 151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare() 191 static int nfp_bpf_verifier_prep(struct bpf_prog *prog) in nfp_bpf_verifier_prep() 219 static int nfp_bpf_translate(struct bpf_prog *prog) in nfp_bpf_translate() 247 static void nfp_bpf_destroy(struct bpf_prog *prog) in nfp_bpf_destroy() 484 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu() 496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load() 575 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_offload()
|
| /OK3568_Linux_fs/kernel/drivers/net/netdevsim/ |
| H A D | bpf.c | 31 struct bpf_prog *prog; member 92 static void nsim_prog_set_loaded(struct bpf_prog *prog, bool loaded) in nsim_prog_set_loaded() 104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() 122 struct bpf_prog *prog = cls_bpf->prog; in nsim_bpf_setup_tc_block_cb() local 219 struct bpf_prog *prog) in nsim_bpf_create_prog() 254 static int nsim_bpf_verifier_prep(struct bpf_prog *prog) in nsim_bpf_verifier_prep() 265 static int nsim_bpf_translate(struct bpf_prog *prog) in nsim_bpf_translate() 273 static void nsim_bpf_destroy_prog(struct bpf_prog *prog) in nsim_bpf_destroy_prog()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf.c | 488 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() 514 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit() 537 static char *__bpf_program__pin_name(struct bpf_program *prog) in __bpf_program__pin_name() 559 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog() 612 struct bpf_program *prog, *progs; in bpf_object__add_programs() local 866 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local 2504 static inline bool libbpf_prog_needs_vmlinux_btf(struct bpf_program *prog) in libbpf_prog_needs_vmlinux_btf() 2522 struct bpf_program *prog; in bpf_object__load_vmlinux_btf() local 3273 const struct bpf_program *prog) in prog_is_subprog() 3294 struct bpf_program *prog; in bpf_object__find_program_by_name() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/hyperv/ |
| H A D | netvsc_bpf.c | 29 struct bpf_prog *prog; in netvsc_run_xdp() local 94 int netvsc_xdp_set(struct net_device *dev, struct bpf_prog *prog, in netvsc_xdp_set() 135 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog) in netvsc_vf_setxdp()
|
| /OK3568_Linux_fs/kernel/net/bpf/ |
| H A D | test_run.c | 86 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() 247 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() 292 struct bpf_prog *prog; member 307 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp() 537 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb() 671 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp() 734 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() 806 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 379 struct sock_fprog prog = { in TEST() local 411 struct sock_fprog prog = { }; in TEST() local 448 struct sock_fprog prog = { }; in TEST() local 485 struct sock_fprog prog = { in TEST() local 508 struct sock_fprog prog = { in TEST() local 533 struct sock_fprog prog = { in TEST() local 550 struct sock_fprog prog = { in TEST() local 569 struct sock_fprog prog = { in TEST() local 591 struct sock_fprog prog = { in TEST_SIGNAL() local 613 struct sock_fprog prog = { in TEST_SIGNAL() local [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | bpf_trace.c | 1238 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() 1340 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() 1360 const struct bpf_prog *prog, in kprobe_prog_is_valid_access() 1454 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() 1469 const struct bpf_prog *prog, in tp_prog_is_valid_access() 1553 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in pe_prog_func_proto() 1685 raw_tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in raw_tp_prog_func_proto() 1700 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tracing_prog_func_proto() 1740 const struct bpf_prog *prog, in raw_tp_prog_is_valid_access() 1754 const struct bpf_prog *prog, in tracing_prog_is_valid_access() [all …]
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | tracex5_user.c | 27 struct sock_fprog prog = { in install_accept_all_seccomp() local 39 struct bpf_program *prog; in main() local
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 555 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() 1162 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() 1452 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog() 1482 struct bpf_prog *prog; in __get_filter() local 1527 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_attach_filter() local 1545 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_reuseport_attach_filter() local 1572 struct bpf_prog *prog = __get_bpf(ufd, sk); in sk_attach_bpf() local 1589 struct bpf_prog *prog; in sk_reuseport_attach_bpf() local 1632 void sk_reuseport_prog_free(struct bpf_prog *prog) in sk_reuseport_prog_free() 6255 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() [all …]
|