Lines Matching refs:old_reg
19258 struct bpf_reg_state *old_reg, *cur_reg; in stacksafe() local
19286 old_reg = scalar_reg_for_stack(env, &old->stack[spi]); in stacksafe()
19288 if (old_reg && cur_reg) { in stacksafe()
19289 if (!regsafe(env, old_reg, cur_reg, idmap, exact)) in stacksafe()
19330 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
19332 if (old_reg->dynptr.type != cur_reg->dynptr.type || in stacksafe()
19333 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
19334 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
19338 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
19346 if (old_reg->iter.btf != cur_reg->iter.btf || in stacksafe()
19347 old_reg->iter.btf_id != cur_reg->iter.btf_id || in stacksafe()
19348 old_reg->iter.state != cur_reg->iter.state || in stacksafe()
19350 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
19354 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
19356 if (!check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap) || in stacksafe()
19357 old_reg->irq.kfunc_class != cur_reg->irq.kfunc_class) in stacksafe()