Lines Matching refs:old_reg
712 struct bpf_reg_state *old_reg, *cur_reg; in stacksafe() local
752 old_reg = scalar_reg_for_stack(env, &old->stack[spi], im); in stacksafe()
754 if (old_reg && cur_reg) { in stacksafe()
755 if (!regsafe(env, old_reg, cur_reg, idmap, exact)) in stacksafe()
797 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
799 if (old_reg->dynptr.type != cur_reg->dynptr.type || in stacksafe()
800 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
801 !check_ids(old_reg->id, cur_reg->id, idmap) || in stacksafe()
802 !check_ids(old_reg->parent_id, cur_reg->parent_id, idmap)) in stacksafe()
806 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
814 if (old_reg->type != cur_reg->type || in stacksafe()
815 old_reg->iter.btf != cur_reg->iter.btf || in stacksafe()
816 old_reg->iter.btf_id != cur_reg->iter.btf_id || in stacksafe()
817 old_reg->iter.state != cur_reg->iter.state || in stacksafe()
819 !check_ids(old_reg->id, cur_reg->id, idmap)) in stacksafe()
823 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
825 if (!check_ids(old_reg->id, cur_reg->id, idmap) || in stacksafe()
826 old_reg->irq.kfunc_class != cur_reg->irq.kfunc_class) in stacksafe()