Lines Matching refs:subprog
169 verifier_bug(bt->env, "subprog enter from frame %d", bt->frame);
179 verifier_bug(bt->env, "subprog exit from frame 0");
428 int subprog_insn_idx, subprog = -1;
432 subprog = bpf_find_subprog(env, subprog_insn_idx);
433 if (subprog < 0)
438 if (subprog >= 0 && bpf_subprog_is_global(env, subprog)) {
440 * extra instructions from subprog; the next
441 * instruction after call to global subprog
446 "extra insn from subprog");
447 /* global subprog always sets R0 */
451 /* r1-r5 are invalidated after subprog call,
456 verifier_bug(env, "global subprog unexpected regs %x",
462 /* static subprog call instruction, which
463 * means that we are exiting current subprog,
469 verifier_bug(env, "static subprog unexpected regs %x",
479 verifier_bug(env, "static subprog leftover stack slots %s",
492 "static subprog leftover stack arg slots %x",
501 /* exit from callback subprog to callback-calling helper or
504 * Unlike the subprog call handling above, we shouldn't
520 /* clear r1-r5 in callback subprog's mask */
553 /* BPF_EXIT in subprog or callback always returns
555 * whether the instruction at subseq_idx-1 is subprog
557 * *subprog* from exit from *callback*. In the former
906 /* we are at the entry into subprog, which
929 verifier_bug(env, "backtracking func entry subprog %d reg_mask %x stack_mask %s",