Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dbpf_verifier.h478 int *insn_stack; member
/linux-5.19.10/kernel/bpf/
Dverifier.c10589 int *insn_stack = env->cfg.insn_stack; in push_insn() local
10614 insn_stack[env->cfg.cur_stack++] = w; in push_insn()
10731 int *insn_stack, *insn_state; in check_cfg() local
10739 insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL); in check_cfg()
10740 if (!insn_stack) { in check_cfg()
10746 insn_stack[0] = 0; /* 0 is the first instruction */ in check_cfg()
10750 int t = insn_stack[env->cfg.cur_stack - 1]; in check_cfg()
10786 kvfree(insn_stack); in check_cfg()
10787 env->cfg.insn_state = env->cfg.insn_stack = NULL; in check_cfg()