Lines Matching refs:cur_reg
17393 struct bpf_reg_state *old_reg, *cur_reg; in stacksafe() local
17429 cur_reg = scalar_reg_for_stack(env, &cur->stack[spi]); in stacksafe()
17430 if (old_reg && cur_reg) { in stacksafe()
17431 if (!regsafe(env, old_reg, cur_reg, idmap, exact)) in stacksafe()
17473 cur_reg = &cur->stack[spi].spilled_ptr; in stacksafe()
17474 if (old_reg->dynptr.type != cur_reg->dynptr.type || in stacksafe()
17475 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
17476 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
17481 cur_reg = &cur->stack[spi].spilled_ptr; in stacksafe()
17488 if (old_reg->iter.btf != cur_reg->iter.btf || in stacksafe()
17489 old_reg->iter.btf_id != cur_reg->iter.btf_id || in stacksafe()
17490 old_reg->iter.state != cur_reg->iter.state || in stacksafe()
17492 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()