Searched refs:bpf_verifier_env (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | bpf_verifier.h | 516 struct bpf_verifier_env { struct 585 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, argument 597 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() 603 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, 605 int bpf_prog_offload_finalize(struct bpf_verifier_env *env); 607 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, 612 int check_ptr_off_reg(struct bpf_verifier_env *env, 614 int check_func_arg_reg_off(struct bpf_verifier_env *env, 617 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, 620 int process_dynptr_func(struct bpf_verifier_env *env, int regno, [all …]
|
A D | bpf.h | 33 struct bpf_verifier_env; 157 int (*map_set_for_each_callback_args)(struct bpf_verifier_env *env, 888 int (*insn_hook)(struct bpf_verifier_env *env, 890 int (*finalize)(struct bpf_verifier_env *env); 892 int (*replace_insn)(struct bpf_verifier_env *env, u32 off, 894 int (*remove_insns)(struct bpf_verifier_env *env, u32 off, u32 cnt); 2092 int map_set_for_each_callback_args(struct bpf_verifier_env *env, 2218 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, 2220 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, 2222 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog,
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | verifier.c | 171 struct bpf_verifier_env *env, in nfp_bpf_check_helper_call() 312 struct bpf_verifier_env *env) in nfp_bpf_check_exit() 346 struct bpf_verifier_env *env) in nfp_bpf_check_stack_access() 392 nfp_bpf_map_mark_used_one(struct bpf_verifier_env *env, in nfp_bpf_map_mark_used_one() 452 struct bpf_verifier_env *env, u8 reg_no) in nfp_bpf_check_ptr() 503 struct bpf_verifier_env *env) in nfp_bpf_check_store() 527 struct bpf_verifier_env *env) in nfp_bpf_check_atomic() 557 struct bpf_verifier_env *env) in nfp_bpf_check_alu() 631 int nfp_verify_insn(struct bpf_verifier_env *env, int insn_idx, in nfp_verify_insn() 673 nfp_assign_subprog_idx_and_regs(struct bpf_verifier_env *env, in nfp_assign_subprog_idx_and_regs() [all …]
|
A D | main.h | 566 int nfp_verify_insn(struct bpf_verifier_env *env, int insn_idx, 568 int nfp_bpf_finalize(struct bpf_verifier_env *env); 570 int nfp_bpf_opt_replace_insn(struct bpf_verifier_env *env, u32 off, 572 int nfp_bpf_opt_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt);
|
/linux-6.3-rc2/kernel/bpf/ |
A D | verifier.c | 356 struct bpf_verifier_env *env = private_data; in verbose() 4167 int check_ptr_off_reg(struct bpf_verifier_env *env, in check_ptr_off_reg() 5235 struct bpf_verifier_env *env, in check_stack_access_within_bounds() 5652 struct bpf_verifier_env *env, int regno, int off, in check_stack_range_initialized() 8922 get_kfunc_ptr_arg_type(struct bpf_verifier_env *env, in get_kfunc_ptr_arg_type() 10407 struct bpf_verifier_env *env, in check_stack_access_for_ptr_arithmetic() 13044 struct bpf_verifier_env *env, in explored_state() 13123 struct bpf_verifier_env *env, in visit_func_call_insn() 13211 static int check_cfg(struct bpf_verifier_env *env) in check_cfg() 14503 static int do_check(struct bpf_verifier_env *env) in do_check() [all …]
|
A D | offload.c | 302 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, in bpf_prog_offload_verify_insn() 318 int bpf_prog_offload_finalize(struct bpf_verifier_env *env) in bpf_prog_offload_finalize() 337 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, in bpf_prog_offload_replace_insn() 356 bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) in bpf_prog_offload_remove_insns()
|
A D | btf.c | 6767 static int btf_check_func_arg_match(struct bpf_verifier_env *env, in btf_check_func_arg_match() 6876 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match() 6919 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_call() 6957 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args()
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | bpf.c | 63 nsim_bpf_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn) in nsim_bpf_verify_insn() 82 static int nsim_bpf_finalize(struct bpf_verifier_env *env) in nsim_bpf_finalize()
|
Completed in 73 milliseconds