Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dbpf_verifier.h523 int *insn_stack; member
/linux-6.1.9/kernel/bpf/
Dverifier.c10776 int *insn_stack = env->cfg.insn_stack; in push_insn() local
10801 insn_stack[env->cfg.cur_stack++] = w; in push_insn()
10918 int *insn_stack, *insn_state; in check_cfg() local
10926 insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL); in check_cfg()
10927 if (!insn_stack) { in check_cfg()
10933 insn_stack[0] = 0; /* 0 is the first instruction */ in check_cfg()
10937 int t = insn_stack[env->cfg.cur_stack - 1]; in check_cfg()
10973 kvfree(insn_stack); in check_cfg()
10974 env->cfg.insn_state = env->cfg.insn_stack = NULL; in check_cfg()