Home
last modified time | relevance | path

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

/kernel/bpf/
Dcore.c1637 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) in bpf_patch_call_args() argument
1639 stack_depth = max_t(u32, stack_depth, 1); in bpf_patch_call_args()
1641 insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] - in bpf_patch_call_args()
1701 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); in bpf_prog_select_func() local
1703 fp->bpf_func = interpreters[(round_up(stack_depth, 32) / 32) - 1]; in bpf_prog_select_func()
Dverifier.c2592 u16 stack = env->subprog_info[func->subprogno].stack_depth; in update_stack_depth()
2598 env->subprog_info[func->subprogno].stack_depth = -off; in update_stack_depth()
2620 depth += round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); in check_max_stack_depth()
2658 depth -= round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); in check_max_stack_depth()
2677 return env->subprog_info[subprog].stack_depth; in get_callee_stack_depth()
7852 env->prog->aux->stack_depth = env->subprog_info[0].stack_depth; in do_check()
8767 func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; in jit_subprogs()
9046 env->prog->aux->stack_depth = MAX_BPF_STACK; in fixup_bpf_calls()
9228 u32 depth = env->subprog_info[i].stack_depth; in print_verification_stats()