Lines Matching refs:parent

1782 	dst_state->parent = src->parent;  in copy_verifier_state()
1997 if (br == 0 && st->parent && st->loop_entry) in update_branch_counts()
1998 update_loop_entry(st->parent, st->loop_entry); in update_branch_counts()
2008 st = st->parent; in update_branch_counts()
2068 if (elem->st.parent) { in push_stack()
2069 ++elem->st.parent->branches; in push_stack()
2556 regs[i].parent = NULL; in init_reg_state()
3118 struct bpf_reg_state *parent, u8 flag) in mark_reg_read() argument
3120 bool writes = parent == state->parent; /* Observe write marks */ in mark_reg_read()
3123 while (parent) { in mark_reg_read()
3127 if (parent->live & REG_LIVE_DONE) { in mark_reg_read()
3129 reg_type_str(env, parent->type), in mark_reg_read()
3130 parent->var_off.value, parent->off); in mark_reg_read()
3136 if ((parent->live & REG_LIVE_READ) == flag || in mark_reg_read()
3137 parent->live & REG_LIVE_READ64) in mark_reg_read()
3149 parent->live |= flag; in mark_reg_read()
3152 parent->live &= ~REG_LIVE_READ32; in mark_reg_read()
3153 state = parent; in mark_reg_read()
3154 parent = state->parent; in mark_reg_read()
3183 state->stack[spi].spilled_ptr.parent, REG_LIVE_READ64); in mark_dynptr_read()
3187 state->stack[spi - 1].spilled_ptr.parent, REG_LIVE_READ64); in mark_dynptr_read()
3199 err = mark_reg_read(env, st, st->parent, REG_LIVE_READ64); in mark_iter_read()
3375 return mark_reg_read(env, reg, reg->parent, in __check_reg_arg()
4040 for (st = st->parent; st; st = st->parent) { in mark_all_scalars_precise()
4405 st = st->parent; in __mark_chain_precision()
4551 struct bpf_reg_state *parent = dst->parent; in copy_register_state() local
4555 dst->parent = parent; in copy_register_state()
4905 mark_reg_read(env, reg, reg->parent, REG_LIVE_READ64); in check_stack_read_fixed_off()
4953 mark_reg_read(env, reg, reg->parent, REG_LIVE_READ64); in check_stack_read_fixed_off()
4967 mark_reg_read(env, reg, reg->parent, REG_LIVE_READ64); in check_stack_read_fixed_off()
7215 state->stack[spi].spilled_ptr.parent, in check_stack_range_initialized()
7978 if (!cur_st->parent || cur_st->parent->insn_idx != insn_idx || in process_iter_next_call()
7979 !same_callsites(cur_st->parent, cur_st)) { in process_iter_next_call()
7987 prev_st = find_prev_entry(env, cur_st->parent, insn_idx); in process_iter_next_call()
9667 err = mark_reg_read(env, r0, r0->parent, REG_LIVE_READ64); in prepare_func_exit()
10447 mark_reg_read(env, reg, reg->parent, REG_LIVE_READ64); in mark_btf_func_reg_size()
10449 mark_reg_read(env, reg, reg->parent, REG_LIVE_READ32); in mark_btf_func_reg_size()
16400 struct bpf_func_state *state, *parent; in propagate_liveness() local
16411 parent = vparent->frame[frame]; in propagate_liveness()
16413 parent_reg = parent->regs; in propagate_liveness()
16427 i < parent->allocated_stack / BPF_REG_SIZE; i++) { in propagate_liveness()
16428 parent_reg = &parent->stack[i].spilled_ptr; in propagate_liveness()
16511 offsetof(struct bpf_reg_state, parent))) in states_maybe_looping()
16900 cur->parent = new; in is_state_visited()
16921 cur->frame[j]->regs[i].parent = &new->frame[j]->regs[i]; in is_state_visited()
16933 frame->stack[i].spilled_ptr.parent = in is_state_visited()