Searched refs:cur_regs (Results 1 – 12 of 12) sorted by relevance
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()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()261 reg1 = cur_regs(env) + BPF_REG_4; in nfp_bpf_check_helper_call()314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit()454 const struct bpf_reg_state *reg = cur_regs(env) + reg_no; in nfp_bpf_check_ptr()505 const struct bpf_reg_state *reg = cur_regs(env) + meta->insn.dst_reg; in nfp_bpf_check_store()560 cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_alu()[all …]
476 RegsImpl<AddressType>* cur_regs = reinterpret_cast<RegsImpl<AddressType>*>(regs); in Eval() local477 if (cie->return_address_register >= cur_regs->total_regs()) { in Eval()490 cur_regs->set_dex_pc(0); in Eval()495 .regs_info = RegsInfo<AddressType>(cur_regs)}; in Eval()500 if (loc->values[0] >= cur_regs->total_regs()) { in Eval()504 eval_info.cfa = (*cur_regs)[loc->values[0]]; in Eval()527 if (reg >= cur_regs->total_regs()) { in Eval()540 cur_regs->set_pc(0); in Eval()542 cur_regs->set_pc((*cur_regs)[cie->return_address_register]); in Eval()546 *finished = (cur_regs->pc() == 0) ? true : false; in Eval()[all …]
185 RegsImpl<AddressType>* cur_regs = reinterpret_cast<RegsImpl<AddressType>*>(regs); in Eval() local186 if (cie->return_address_register >= cur_regs->total_regs()) { in Eval()199 cur_regs->set_dex_pc(0); in Eval()204 .regs_info = RegsInfo<AddressType>(cur_regs)}; in Eval()209 if (loc->values[0] >= cur_regs->total_regs()) { in Eval()213 eval_info.cfa = (*cur_regs)[loc->values[0]]; in Eval()236 if (reg >= cur_regs->total_regs()) { in Eval()249 cur_regs->set_pc(0); in Eval()251 cur_regs->set_pc((*cur_regs)[cie->return_address_register]); in Eval()255 *finished = (cur_regs->pc() == 0) ? true : false; in Eval()[all …]
461 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() function
2965 return cur_regs(env) + regno; in reg_state()3099 struct bpf_reg_state *regs = cur_regs(env); in check_map_access_type()3129 reg = &cur_regs(env)[regno]; in __check_mem_access()3297 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access()3389 struct bpf_reg_state *regs = cur_regs(env); in check_sock_access()4000 struct bpf_reg_state *regs = cur_regs(env); in check_stack_access_within_bounds()4064 struct bpf_reg_state *regs = cur_regs(env); in check_mem_access()6052 regs = cur_regs(env); in check_helper_call()6258 struct bpf_reg_state *regs = cur_regs(env); in check_kfunc_call()9067 reg = cur_regs(env) + BPF_REG_0; in check_return_code()[all …]
2389 regmatch_t *cur_regs = re_malloc (regmatch_t, preg->re_nsub + 1); local2391 if (BE (cur_regs == NULL, 0))2490 re_free (cur_regs);