Home
last modified time | relevance | path

Searched refs:jmp_history (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h280 struct bpf_idx_pair *jmp_history; member
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c831 kfree(state->jmp_history); in clear_jmp_history()
832 state->jmp_history = NULL; in clear_jmp_history()
877 kfree(dst_state->jmp_history); in copy_verifier_state()
878 dst_state->jmp_history = kmalloc(jmp_sz, GFP_USER); in copy_verifier_state()
879 if (!dst_state->jmp_history) in copy_verifier_state()
882 memcpy(dst_state->jmp_history, src->jmp_history, jmp_sz); in copy_verifier_state()
1775 p = krealloc(cur->jmp_history, cnt * sizeof(*p), GFP_USER); in push_jmp_history()
1780 cur->jmp_history = p; in push_jmp_history()
1793 if (cnt && st->jmp_history[cnt - 1].idx == i) { in get_prev_insn_idx()
1794 i = st->jmp_history[cnt - 1].prev_idx; in get_prev_insn_idx()