Searched refs:bpf_verifier_env (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | bpf_verifier.h | 377 struct bpf_verifier_env { struct 430 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, argument 435 static inline struct bpf_func_state *cur_func(struct bpf_verifier_env *env) in cur_func() 442 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() 448 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, 450 int bpf_prog_offload_finalize(struct bpf_verifier_env *env); 452 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, 455 bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt); 457 int check_ctx_reg(struct bpf_verifier_env *env,
|
| D | bpf.h | 24 struct bpf_verifier_env; 465 int (*insn_hook)(struct bpf_verifier_env *env, 467 int (*finalize)(struct bpf_verifier_env *env); 469 int (*replace_insn)(struct bpf_verifier_env *env, u32 off, 471 int (*remove_insns)(struct bpf_verifier_env *env, u32 off, u32 cnt); 1439 int btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, 1441 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog,
|
| /Linux-v5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
| D | verifier.c | 83 static bool nfp_bpf_map_update_value_ok(struct bpf_verifier_env *env) in nfp_bpf_map_update_value_ok() 124 nfp_bpf_stack_arg_ok(const char *fname, struct bpf_verifier_env *env, in nfp_bpf_stack_arg_ok() 157 nfp_bpf_map_call_ok(const char *fname, struct bpf_verifier_env *env, in nfp_bpf_map_call_ok() 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() 417 nfp_bpf_map_mark_used(struct bpf_verifier_env *env, struct nfp_insn_meta *meta, in nfp_bpf_map_mark_used() 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() [all …]
|
| D | main.h | 564 int nfp_verify_insn(struct bpf_verifier_env *env, int insn_idx, 566 int nfp_bpf_finalize(struct bpf_verifier_env *env); 568 int nfp_bpf_opt_replace_insn(struct bpf_verifier_env *env, u32 off, 570 int nfp_bpf_opt_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt);
|
| /Linux-v5.10/kernel/bpf/ |
| D | verifier.c | 250 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() 309 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, in bpf_verifier_log_write() 325 struct bpf_verifier_env *env = private_data; in verbose() 357 __printf(3, 4) static void verbose_linfo(struct bpf_verifier_env *env, in verbose_linfo() 538 static void print_liveness(struct bpf_verifier_env *env, in print_liveness() 551 static struct bpf_func_state *func(struct bpf_verifier_env *env, in func() 565 static void print_verifier_state(struct bpf_verifier_env *env, in print_verifier_state() 772 static int acquire_reference_state(struct bpf_verifier_env *env, int insn_idx) in acquire_reference_state() 911 static void update_branch_counts(struct bpf_verifier_env *env, struct bpf_verifier_state *st) in update_branch_counts() 928 static int pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, in pop_stack() [all …]
|
| D | offload.c | 143 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, in bpf_prog_offload_verify_insn() 159 int bpf_prog_offload_finalize(struct bpf_verifier_env *env) in bpf_prog_offload_finalize() 178 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, in bpf_prog_offload_replace_insn() 197 bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) in bpf_prog_offload_remove_insns()
|
| D | btf.c | 5125 int btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_func_arg_match() 5222 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args()
|
| /Linux-v5.10/drivers/net/netdevsim/ |
| 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()
|