Lines Matching refs:argno_from_reg
273 static argno_t argno_from_reg(u32 regno) in argno_from_reg() function
4483 return __check_ptr_off_reg(env, reg, argno_from_reg(regno), false); in check_ptr_off_reg()
4528 if (__check_ptr_off_reg(env, reg, argno_from_reg(regno), true)) in map_kptr_match_type()
6679 …err = check_mem_access(env, env->insn_idx, regs + insn->src_reg, argno_from_reg(insn->src_reg), in… in check_load_mem()
6721 …err = check_mem_access(env, env->insn_idx, regs + insn->dst_reg, argno_from_reg(insn->dst_reg), in… in check_store_reg()
6790 err = check_mem_access(env, env->insn_idx, dst_reg, argno_from_reg(insn->dst_reg), insn->off, in check_atomic_rmw()
6794 err = check_mem_access(env, env->insn_idx, dst_reg, argno_from_reg(insn->dst_reg), in check_atomic_rmw()
6807 err = check_mem_access(env, env->insn_idx, dst_reg, argno_from_reg(insn->dst_reg), insn->off, in check_atomic_rmw()
8717 argno_t obj_argno = argno_from_reg(reg_from_argno(argno) - 1); in process_map_ptr_arg()
8746 argno_t argno = argno_from_reg(regno); in check_func_arg()
8920 err = check_mem_reg(env, reg, argno_from_reg(regno), fn->arg_size[arg], in check_func_arg()
8930 argno_from_reg(regno - 1), argno, in check_func_arg()
8936 argno_from_reg(regno - 1), argno, in check_func_arg()
10943 argno_from_reg(meta.arg_raw_mem.regno), i, BPF_B, in check_helper_call()
14559 if (check_map_access(env, dst_reg, argno_from_reg(dst), 0, 1, false, ACCESS_HELPER)) { in sanitize_check_bounds()
17613 return __check_ptr_off_reg(env, reg, argno_from_reg(regno), false); in check_return_code()
18332 …err = check_mem_access(env, env->insn_idx, cur_regs(env) + insn->dst_reg, argno_from_reg(insn->dst… in do_check_insn()