Lines Matching refs:stack_depth

151 	return env->subprog_info[subprog].stack_depth;  in get_callee_stack_depth()
705 -(subprogs[0].stack_depth + 8)); in bpf_convert_ctx_accesses()
712 subprogs[0].stack_depth += 8; in bpf_convert_ctx_accesses()
714 -subprogs[0].stack_depth); in bpf_convert_ctx_accesses()
1125 func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; in jit_subprogs()
1477 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups() local
1738 int stack_off_cnt = -stack_depth - 16; in bpf_do_misc_fixups()
1781 int stack_off = -stack_depth - 8; in bpf_do_misc_fixups()
1842 prog->aux->stack_depth = MAX_BPF_STACK; in bpf_do_misc_fixups()
2323 subprogs[cur_subprog].stack_depth += stack_depth_extra; in bpf_do_misc_fixups()
2326 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2327 if (stack_depth > MAX_BPF_STACK && !prog->jit_requested) { in bpf_do_misc_fixups()
2329 stack_depth, stack_depth_extra); in bpf_do_misc_fixups()
2333 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2340 env->prog->aux->stack_depth = subprogs[0].stack_depth; in bpf_do_misc_fixups()
2355 stack_depth = subprogs[i].stack_depth; in bpf_do_misc_fixups()
2357 insn_buf[cnt++] = BPF_ST_MEM(BPF_DW, BPF_REG_FP, -stack_depth, in bpf_do_misc_fixups()
2359 insn_buf[cnt++] = BPF_ST_MEM(BPF_DW, BPF_REG_FP, -stack_depth + 8, 0); in bpf_do_misc_fixups()
2362 insn_buf[cnt++] = BPF_ST_MEM(BPF_DW, BPF_REG_FP, -stack_depth, in bpf_do_misc_fixups()
2503 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_optimize_bpf_loop() local
2504 u16 stack_depth_roundup = round_up(stack_depth, 8) - stack_depth; in bpf_optimize_bpf_loop()
2517 -(stack_depth + stack_depth_extra), in bpf_optimize_bpf_loop()
2529 subprogs[cur_subprog].stack_depth += stack_depth_extra; in bpf_optimize_bpf_loop()
2531 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_optimize_bpf_loop()
2532 stack_depth_roundup = round_up(stack_depth, 8) - stack_depth; in bpf_optimize_bpf_loop()
2537 env->prog->aux->stack_depth = env->subprog_info[0].stack_depth; in bpf_optimize_bpf_loop()
2567 subprog->stack_depth = -subprog->fastcall_stack_off; in bpf_remove_fastcall_spills_fills()