Searched refs:cur_regs (Results 1 – 3 of 3) sorted by relevance
161 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1; in nfp_bpf_check_call()162 const struct bpf_reg_state *reg2 = cur_regs(env) + BPF_REG_2; in nfp_bpf_check_call()163 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_check_call()247 reg1 = cur_regs(env) + BPF_REG_4; in nfp_bpf_check_call()300 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit()430 const struct bpf_reg_state *reg = cur_regs(env) + reg_no; in nfp_bpf_check_ptr()481 const struct bpf_reg_state *reg = cur_regs(env) + meta->insn.dst_reg; in nfp_bpf_check_store()505 const struct bpf_reg_state *sreg = cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_xadd()506 const struct bpf_reg_state *dreg = cur_regs(env) + meta->insn.dst_reg; in nfp_bpf_check_xadd()531 cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_alu()[all …]
209 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() function
1240 struct bpf_reg_state *regs = cur_regs(env); in __check_map_access()1337 struct bpf_reg_state *regs = cur_regs(env); in __check_packet_access()1352 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access()1418 return __is_pointer_value(env->allow_ptr_leaks, cur_regs(env) + regno); in is_pointer_value()1423 const struct bpf_reg_state *reg = cur_regs(env) + regno; in is_ctx_reg()1430 const struct bpf_reg_state *reg = cur_regs(env) + regno; in is_pkt_reg()1678 struct bpf_reg_state *regs = cur_regs(env); in check_mem_access()1849 struct bpf_reg_state *reg = cur_regs(env) + regno; in check_stack_boundary()1921 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; in check_helper_mem_access()1954 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; in check_func_arg()[all …]