Home
last modified time | relevance | path

Searched refs:dst_state (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dverifier.c858 static int copy_verifier_state(struct bpf_verifier_state *dst_state, const struct bpf_verifier_state *src) in copy_verifier_state() argument
864 if (dst_state->jmp_history_cnt < src->jmp_history_cnt) { in copy_verifier_state()
865 kfree(dst_state->jmp_history); in copy_verifier_state()
866 dst_state->jmp_history = kmalloc(jmp_sz, GFP_USER); in copy_verifier_state()
867 if (!dst_state->jmp_history) { in copy_verifier_state()
871 memcpy(dst_state->jmp_history, src->jmp_history, jmp_sz); in copy_verifier_state()
872 dst_state->jmp_history_cnt = src->jmp_history_cnt; in copy_verifier_state()
875 for (i = src->curframe + 1; i <= dst_state->curframe; i++) { in copy_verifier_state()
876 free_func_state(dst_state->frame[i]); in copy_verifier_state()
877 dst_state in copy_verifier_state()
[all...]

Completed in 8 milliseconds