Lines Matching refs:curframe
1164 for (i = 0; i <= state->curframe; i++) { in free_verifier_state()
1202 for (i = src->curframe + 1; i <= dst_state->curframe; i++) { in copy_verifier_state()
1207 dst_state->curframe = src->curframe; in copy_verifier_state()
1213 for (i = 0; i <= src->curframe; i++) { in copy_verifier_state()
2458 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_reg_arg()
2752 for (i = 0; i <= st->curframe; i++) { in mark_all_scalars_precise()
2788 func = st->frame[st->curframe]; in __mark_chain_precision()
2869 func = st->frame[st->curframe]; in __mark_chain_precision()
3048 cur = env->cur_state->frame[env->cur_state->curframe]; in check_stack_write_fixed_off()
3165 cur = env->cur_state->frame[env->cur_state->curframe]; in check_stack_write_var_off()
3250 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in mark_reg_stack_read()
3301 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_stack_read_fixed_off()
3597 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_mem_region_access()
3818 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in check_map_access()
6592 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in mark_pkt_end()
6664 if (state->curframe + 1 >= MAX_CALL_FRAMES) { in __check_func_call()
6666 state->curframe + 2); in __check_func_call()
6670 caller = state->frame[state->curframe]; in __check_func_call()
6671 if (state->frame[state->curframe + 1]) { in __check_func_call()
6673 state->curframe + 1); in __check_func_call()
6733 state->frame[state->curframe + 1] = callee; in __check_func_call()
6742 state->curframe + 1 /* frameno within this callchain */, in __check_func_call()
6757 state->curframe++; in __check_func_call()
6772 state->frame[state->curframe + 1] = NULL; in __check_func_call()
6974 callee = state->frame[state->curframe]; in prepare_func_exit()
6987 caller = state->frame[state->curframe - 1]; in prepare_func_exit()
7026 state->frame[state->curframe--] = NULL; in prepare_func_exit()
7973 regs = branch->frame[branch->curframe]->regs; in sanitize_speculative_path()
8209 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in adjust_ptr_min_max_vals()
9165 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in adjust_reg_min_max_vals()
9996 struct bpf_func_state *state = vstate->frame[vstate->curframe]; in mark_ptr_or_null_regs()
10135 struct bpf_reg_state *regs = this_branch->frame[this_branch->curframe]->regs; in check_cond_jmp_op()
10241 other_branch_regs = other_branch->frame[other_branch->curframe]->regs; in check_cond_jmp_op()
10318 print_insn_state(env, this_branch->frame[this_branch->curframe]); in check_cond_jmp_op()
10731 struct bpf_func_state *state = cur->frame[cur->curframe]; in explored_state()
11438 for (i = 0; i <= st->curframe; i++) in clean_verifier_state()
11485 sl->state.curframe != cur->curframe) in clean_live_states()
11487 for (i = 0; i <= cur->curframe; i++) in clean_live_states()
11738 if (old->curframe != cur->curframe) in states_equal()
11753 for (i = 0; i <= old->curframe; i++) { in states_equal()
11806 if (vparent->curframe != vstate->curframe) { in propagate_liveness()
11808 vparent->curframe, vstate->curframe); in propagate_liveness()
11813 for (frame = 0; frame <= vstate->curframe; frame++) { in propagate_liveness()
11819 for (i = frame < vstate->curframe ? BPF_REG_6 : 0; i < BPF_REG_FP; i++) { in propagate_liveness()
11852 state = old->frame[old->curframe]; in propagate_precision()
11886 int i, fr = cur->curframe; in states_maybe_looping()
11888 if (old->curframe != fr) in states_maybe_looping()
11939 struct bpf_func_state *frame = sl->state.frame[sl->state.curframe]; in is_state_visited()
11942 frame->async_entry_cnt != cur->frame[cur->curframe]->async_entry_cnt) { in is_state_visited()
12102 for (j = 0; j <= cur->curframe; j++) { in is_state_visited()
12103 for (i = j < cur->curframe ? BPF_REG_6 : 0; i < BPF_REG_FP; i++) in is_state_visited()
12110 for (j = 0; j <= cur->curframe; j++) { in is_state_visited()
12217 print_verifier_state(env, state->frame[state->curframe], true); in do_check()
12229 print_insn_state(env, state->frame[state->curframe]); in do_check()
12438 if (state->curframe) { in do_check()
14606 state->curframe = 0; in do_check_common()
14620 regs = state->frame[state->curframe]->regs; in do_check_common()