/linux/net/sched/ |
A D | cls_bpf.c | 85 struct cls_bpf_prog *prog; in cls_bpf_classify() local 213 struct cls_bpf_prog *prog, in cls_bpf_stop_offload() 224 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats() 313 struct cls_bpf_prog *prog, *tmp; in cls_bpf_destroy() local 325 struct cls_bpf_prog *prog; in cls_bpf_get() local 406 struct cls_bpf_prog *prog, unsigned long base, in cls_bpf_set_parms() 464 struct cls_bpf_prog *prog; in cls_bpf_change() local 581 struct cls_bpf_prog *prog = fh; in cls_bpf_dump() local 634 struct cls_bpf_prog *prog = fh; in cls_bpf_bind_class() local 648 struct cls_bpf_prog *prog; in cls_bpf_walk() local [all …]
|
A D | act_bpf.c | 39 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local 91 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf() 96 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info() 114 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_ebpf_info() 139 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() local 263 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, in tcf_bpf_prog_fill_cfg() 287 struct tcf_bpf *prog; in tcf_bpf_init() local
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 248 u8 *prog = *pprog; in push_callee_regs() local 263 u8 *prog = *pprog; in pop_callee_regs() local 284 u8 *prog = *pprog; in emit_prologue() local 309 u8 *prog = *pprog; in emit_patch() local 339 u8 *prog; in __bpf_arch_text_poke() local 394 u8 *prog = *pprog; in emit_indirect_jump() local 589 u8 *prog = *pprog; in emit_mov_imm32() local 629 u8 *prog = *pprog; in emit_mov_imm64() local 651 u8 *prog = *pprog; in emit_mov_reg() local 882 u8 *prog = temp; in do_jit() local [all …]
|
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 …]
|
/linux/drivers/clk/at91/ |
A D | clk-programmable.c | 35 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_recalc_rate() local 53 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_determine_rate() local 105 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local 130 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local 151 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_rate() local 183 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_save_context() local 195 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_restore_context() local 222 struct clk_programmable *prog; in at91_clk_register_programmable() local
|
/linux/kernel/bpf/ |
A D | trampoline.c | 392 static enum bpf_tramp_prog_type bpf_attach_type_to_tramp(struct bpf_prog *prog) in bpf_attach_type_to_tramp() 414 int bpf_trampoline_link_prog(struct bpf_prog *prog, struct bpf_trampoline *tr) in bpf_trampoline_link_prog() 463 int bpf_trampoline_unlink_prog(struct bpf_prog *prog, struct bpf_trampoline *tr) in bpf_trampoline_unlink_prog() 542 static void notrace inc_misses_counter(struct bpf_prog *prog) in inc_misses_counter() 565 u64 notrace __bpf_prog_enter(struct bpf_prog *prog) in __bpf_prog_enter() 577 static void notrace update_prog_stats(struct bpf_prog *prog, in update_prog_stats() 599 void notrace __bpf_prog_exit(struct bpf_prog *prog, u64 start) in __bpf_prog_exit() 608 u64 notrace __bpf_prog_enter_sleepable(struct bpf_prog *prog) in __bpf_prog_enter_sleepable() 620 void notrace __bpf_prog_exit_sleepable(struct bpf_prog *prog, u64 start) in __bpf_prog_exit_sleepable()
|
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 …]
|
A D | cgroup.c | 42 struct bpf_prog *prog, in bpf_cgroup_storages_alloc() 383 struct bpf_prog *prog, in find_attach_entry() 653 struct bpf_prog *prog, in find_detach_entry() 767 struct bpf_prog *prog; in __cgroup_bpf_query() local 859 struct bpf_prog *prog; in cgroup_bpf_prog_detach() local 1240 const struct bpf_prog *prog, in cgroup_dev_is_valid_access() 1820 const struct bpf_prog *prog, in sysctl_is_valid_access() 1849 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access() 1964 const struct bpf_prog *prog, in cg_sockopt_is_valid_access() 2032 struct bpf_prog *prog, in cg_sockopt_convert_ctx_access() [all …]
|
A D | syscall.c | 1801 struct bpf_prog *prog; in bpf_prog_put_deferred() local 1994 struct bpf_prog *prog; in __bpf_prog_get() local 3025 struct bpf_prog *prog; in bpf_raw_tracepoint_open() local 3195 struct bpf_prog *prog; in bpf_prog_attach() local 3330 struct bpf_prog *prog; in bpf_prog_test_run() local 3404 struct bpf_prog *prog; in bpf_prog_get_curr_or_next() local 3425 struct bpf_prog *prog; in bpf_prog_by_id() local 3442 struct bpf_prog *prog; in bpf_prog_get_fd_by_id() local 3613 struct bpf_prog *prog, in bpf_prog_get_info_by_fd() 4248 struct bpf_prog *prog; in link_create() local [all …]
|
A D | bpf_iter.c | 24 struct bpf_prog *prog; member 324 struct bpf_prog *prog) in cache_btf_id() 329 bool bpf_iter_prog_supported(struct bpf_prog *prog) in bpf_iter_prog_supported() 364 bpf_iter_get_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_iter_get_func_proto() 499 struct bpf_prog *prog) in bpf_iter_link_attach() 569 struct bpf_prog *prog) in init_seq_meta() 584 struct bpf_prog *prog; in prepare_seq_file() local 683 int bpf_iter_run_prog(struct bpf_prog *prog, void *ctx) in bpf_iter_run_prog()
|
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
|
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()
|
A D | core.c | 119 struct bpf_prog *prog; in bpf_prog_alloc() local 144 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo() 158 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done() 194 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo() 538 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr() 550 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name() 734 struct bpf_prog *prog; in search_bpf_extables() local 1572 struct bpf_prog *prog; in ___bpf_prog_run() local 1963 struct bpf_prog prog; member 2116 struct bpf_prog *prog) in bpf_prog_array_update_at() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | tailcalls.c | 13 struct bpf_program *prog; in test_tailcall_1() local 151 struct bpf_program *prog; in test_tailcall_2() local 226 struct bpf_program *prog; in test_tailcall_count() local 320 struct bpf_program *prog; in test_tailcall_4() local 408 struct bpf_program *prog; in test_tailcall_5() local 496 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() local 580 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() local 658 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() local 755 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() local
|
A D | reference_tracking.c | 7 struct bpf_program *prog; in toggle_object_autoload_progs() local 28 struct bpf_program *prog; in test_reference_tracking() local
|
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() 139 struct bpf_program *prog, in test_check_mtu_run_tc()
|
/linux/drivers/media/rc/ |
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
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
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()
|
/linux/drivers/net/netdevsim/ |
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()
|
/linux/tools/lib/bpf/ |
A D | libbpf.c | 983 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local 2847 struct bpf_program *prog; in obj_needs_vmlinux_btf() local 3788 struct bpf_program *prog; in bpf_object__find_program_by_name() local 4000 struct bpf_program *prog; in find_prog_by_sec_insn() local 4026 struct bpf_program *prog; in bpf_object__collect_prog_relos() local 4537 int ret, map, prog; in probe_prog_bind_map() local 5471 struct bpf_program *prog; in bpf_object__relocate_core() local 6064 struct bpf_program *prog; in bpf_object__free_relocs() local 6078 struct bpf_program *prog; in bpf_object__relocate() local 6676 struct bpf_program *prog; in bpf_object__load_progs() local [all …]
|
/linux/drivers/net/hyperv/ |
A D | netvsc_bpf.c | 29 struct bpf_prog *prog; in netvsc_run_xdp() local 96 int netvsc_xdp_set(struct net_device *dev, struct bpf_prog *prog, in netvsc_xdp_set() 137 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog) in netvsc_vf_setxdp()
|
/linux/net/core/ |
A D | sock_reuseport.c | 381 struct bpf_prog *prog; in reuseport_stop_listen_sock() local 413 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter() 475 struct bpf_prog *prog; in reuseport_select_sock() local 528 struct bpf_prog *prog; in reuseport_migrate_sock() local 584 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 383 struct sock_fprog prog = { in TEST() local 489 struct sock_fprog prog = { in TEST() local 512 struct sock_fprog prog = { in TEST() local 537 struct sock_fprog prog = { in TEST() local 554 struct sock_fprog prog = { in TEST() local 573 struct sock_fprog prog = { in TEST() local 595 struct sock_fprog prog = { in TEST_SIGNAL() local 1034 struct sock_fprog prog; in FIXTURE() local 1635 struct sock_fprog prog; in FIXTURE() local 1999 struct sock_fprog prog; in FIXTURE() local [all …]
|
/linux/net/bpf/ |
A D | test_run.c | 90 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() 277 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() 322 struct bpf_prog *prog; member 337 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp() 565 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb() 757 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp() 854 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() 926 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup() 1029 int bpf_prog_test_run_syscall(struct bpf_prog *prog, in bpf_prog_test_run_syscall()
|
/linux/samples/bpf/ |
A D | tracex5_user.c | 27 struct sock_fprog prog = { in install_accept_all_seccomp() local 38 struct bpf_program *prog; in main() local
|