Searched refs:bpf_reg_state (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/kernel/bpf/ |
| D | verifier.c | 408 struct bpf_reg_state *reg, in verbose_invalid_scalar() 460 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock() 603 const struct bpf_reg_state *reg) in func() 618 const struct bpf_reg_state *reg; in print_verifier_state() 1070 struct bpf_reg_state *reg); 1073 static void ___mark_reg_known(struct bpf_reg_state *reg, u64 imm) in ___mark_reg_known() 1090 static void __mark_reg_known(struct bpf_reg_state *reg, u64 imm) in __mark_reg_known() 1094 offsetof(struct bpf_reg_state, var_off) - sizeof(reg->type)); in __mark_reg_known() 1098 static void __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) in __mark_reg32_known() 1110 static void __mark_reg_known_zero(struct bpf_reg_state *reg) in __mark_reg_known_zero() [all …]
|
| D | btf.c | 5440 struct bpf_reg_state *regs, in btf_check_func_arg_match() 5478 struct bpf_reg_state *reg = ®s[regno]; in btf_check_func_arg_match() 5579 struct bpf_reg_state *regs) in btf_check_subprog_arg_match() 5611 struct bpf_reg_state *regs) in btf_check_kfunc_arg_match() 5624 struct bpf_reg_state *regs) in btf_prepare_func_args() 5695 struct bpf_reg_state *reg = ®s[i + 1]; in btf_prepare_func_args()
|
| /Linux-v5.15/drivers/net/ethernet/netronome/nfp/bpf/ |
| D | verifier.c | 50 const struct bpf_reg_state *reg2) in nfp_record_adjust_head() 85 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1; in nfp_bpf_map_update_value_ok() 86 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_map_update_value_ok() 125 const struct bpf_reg_state *reg, in nfp_bpf_stack_arg_ok() 159 u32 helper_tgt, const struct bpf_reg_state *reg1) in nfp_bpf_map_call_ok() 174 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1; in nfp_bpf_check_helper_call() 175 const struct bpf_reg_state *reg2 = cur_regs(env) + BPF_REG_2; in nfp_bpf_check_helper_call() 176 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_check_helper_call() 314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit() 345 const struct bpf_reg_state *reg, in nfp_bpf_check_stack_access() [all …]
|
| D | main.h | 250 struct bpf_reg_state reg; 305 struct bpf_reg_state ptr; 326 struct bpf_reg_state arg1;
|
| /Linux-v5.15/include/linux/ |
| D | bpf_verifier.h | 44 struct bpf_reg_state { struct 152 struct bpf_reg_state *parent; argument 180 struct bpf_reg_state spilled_ptr; argument 199 struct bpf_reg_state regs[MAX_BPF_REG]; 486 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() 502 const struct bpf_reg_state *reg, int regno); 503 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
|
| D | bpf.h | 1660 struct bpf_reg_state; 1662 struct bpf_reg_state *regs); 1665 struct bpf_reg_state *regs); 1667 struct bpf_reg_state *reg);
|
| /Linux-v5.15/Documentation/networking/ |
| D | filter.rst | 1219 This is done with ``struct bpf_reg_state``, defined in include/linux/
|