Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h424 int *insn_stack; member
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c8542 int *insn_stack = env->cfg.insn_stack; in push_insn() local
8567 insn_stack[env->cfg.cur_stack++] = w; in push_insn()
8593 int *insn_stack, *insn_state; in check_cfg() local
8601 insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL); in check_cfg()
8602 if (!insn_stack) { in check_cfg()
8608 insn_stack[0] = 0; /* 0 is the first instruction */ in check_cfg()
8614 t = insn_stack[env->cfg.cur_stack - 1]; in check_cfg()
8708 kvfree(insn_stack); in check_cfg()
8709 env->cfg.insn_state = env->cfg.insn_stack = NULL; in check_cfg()