Lines Matching refs:dst_state
1412 static int copy_verifier_state(struct bpf_verifier_state *dst_state, in copy_verifier_state() argument
1418 dst_state->jmp_history = copy_array(dst_state->jmp_history, src->jmp_history, in copy_verifier_state()
1419 src->jmp_history_cnt, sizeof(*dst_state->jmp_history), in copy_verifier_state()
1421 if (!dst_state->jmp_history) in copy_verifier_state()
1423 dst_state->jmp_history_cnt = src->jmp_history_cnt; in copy_verifier_state()
1428 for (i = src->curframe + 1; i <= dst_state->curframe; i++) { in copy_verifier_state()
1429 free_func_state(dst_state->frame[i]); in copy_verifier_state()
1430 dst_state->frame[i] = NULL; in copy_verifier_state()
1432 dst_state->speculative = src->speculative; in copy_verifier_state()
1433 dst_state->active_rcu_lock = src->active_rcu_lock; in copy_verifier_state()
1434 dst_state->active_preempt_lock = src->active_preempt_lock; in copy_verifier_state()
1435 dst_state->in_sleepable = src->in_sleepable; in copy_verifier_state()
1436 dst_state->curframe = src->curframe; in copy_verifier_state()
1437 dst_state->active_lock.ptr = src->active_lock.ptr; in copy_verifier_state()
1438 dst_state->active_lock.id = src->active_lock.id; in copy_verifier_state()
1439 dst_state->branches = src->branches; in copy_verifier_state()
1440 dst_state->parent = src->parent; in copy_verifier_state()
1441 dst_state->first_insn_idx = src->first_insn_idx; in copy_verifier_state()
1442 dst_state->last_insn_idx = src->last_insn_idx; in copy_verifier_state()
1443 dst_state->dfs_depth = src->dfs_depth; in copy_verifier_state()
1444 dst_state->callback_unroll_depth = src->callback_unroll_depth; in copy_verifier_state()
1445 dst_state->used_as_loop_entry = src->used_as_loop_entry; in copy_verifier_state()
1446 dst_state->may_goto_depth = src->may_goto_depth; in copy_verifier_state()
1448 dst = dst_state->frame[i]; in copy_verifier_state()
1453 dst_state->frame[i] = dst; in copy_verifier_state()