Lines Matching refs:dst_state

1735 static int copy_verifier_state(struct bpf_verifier_state *dst_state,  in copy_verifier_state()  argument
1741 dst_state->jmp_history = copy_array(dst_state->jmp_history, src->jmp_history, in copy_verifier_state()
1742 src->jmp_history_cnt, sizeof(*dst_state->jmp_history), in copy_verifier_state()
1744 if (!dst_state->jmp_history) in copy_verifier_state()
1746 dst_state->jmp_history_cnt = src->jmp_history_cnt; in copy_verifier_state()
1751 for (i = src->curframe + 1; i <= dst_state->curframe; i++) { in copy_verifier_state()
1752 free_func_state(dst_state->frame[i]); in copy_verifier_state()
1753 dst_state->frame[i] = NULL; in copy_verifier_state()
1755 err = copy_reference_state(dst_state, src); in copy_verifier_state()
1758 dst_state->speculative = src->speculative; in copy_verifier_state()
1759 dst_state->in_sleepable = src->in_sleepable; in copy_verifier_state()
1760 dst_state->cleaned = src->cleaned; in copy_verifier_state()
1761 dst_state->curframe = src->curframe; in copy_verifier_state()
1762 dst_state->branches = src->branches; in copy_verifier_state()
1763 dst_state->parent = src->parent; in copy_verifier_state()
1764 dst_state->first_insn_idx = src->first_insn_idx; in copy_verifier_state()
1765 dst_state->last_insn_idx = src->last_insn_idx; in copy_verifier_state()
1766 dst_state->dfs_depth = src->dfs_depth; in copy_verifier_state()
1767 dst_state->callback_unroll_depth = src->callback_unroll_depth; in copy_verifier_state()
1768 dst_state->may_goto_depth = src->may_goto_depth; in copy_verifier_state()
1769 dst_state->equal_state = src->equal_state; in copy_verifier_state()
1771 dst = dst_state->frame[i]; in copy_verifier_state()
1776 dst_state->frame[i] = dst; in copy_verifier_state()