Lines Matching refs:old_reg
18484 struct bpf_reg_state *old_reg, *cur_reg; in stacksafe() local
18519 old_reg = scalar_reg_for_stack(env, &old->stack[spi]); in stacksafe()
18521 if (old_reg && cur_reg) { in stacksafe()
18522 if (!regsafe(env, old_reg, cur_reg, idmap, exact)) in stacksafe()
18563 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
18565 if (old_reg->dynptr.type != cur_reg->dynptr.type || in stacksafe()
18566 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
18567 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
18571 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
18579 if (old_reg->iter.btf != cur_reg->iter.btf || in stacksafe()
18580 old_reg->iter.btf_id != cur_reg->iter.btf_id || in stacksafe()
18581 old_reg->iter.state != cur_reg->iter.state || in stacksafe()
18583 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
18587 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
18589 if (!check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap) || in stacksafe()
18590 old_reg->irq.kfunc_class != cur_reg->irq.kfunc_class) in stacksafe()