stack_depth 349 arch/arm/net/bpf_jit_32.c #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE) stack_depth 235 arch/arm64/net/bpf_jit_comp.c ctx->stack_size = STACK_ALIGN(prog->aux->stack_depth); stack_depth 1135 arch/powerpc/net/bpf_jit_comp64.c cgctx.stack_size = round_up(fp->aux->stack_depth, 16); stack_depth 1435 arch/riscv/net/bpf_jit_comp.c bpf_stack_adjust = round_up(ctx->prog->aux->stack_depth, 16); stack_depth 336 arch/s390/net/bpf_jit_comp.c static void restore_regs(struct bpf_jit *jit, u32 rs, u32 re, u32 stack_depth) stack_depth 341 arch/s390/net/bpf_jit_comp.c off += STK_OFF + stack_depth; stack_depth 385 arch/s390/net/bpf_jit_comp.c static void save_restore_regs(struct bpf_jit *jit, int op, u32 stack_depth) stack_depth 398 arch/s390/net/bpf_jit_comp.c restore_regs(jit, rs, re, stack_depth); stack_depth 409 arch/s390/net/bpf_jit_comp.c static void bpf_jit_prologue(struct bpf_jit *jit, u32 stack_depth) stack_depth 422 arch/s390/net/bpf_jit_comp.c save_restore_regs(jit, REGS_SAVE, stack_depth); stack_depth 437 arch/s390/net/bpf_jit_comp.c EMIT4_IMM(0xa70b0000, REG_15, -(STK_OFF + stack_depth)); stack_depth 448 arch/s390/net/bpf_jit_comp.c static void bpf_jit_epilogue(struct bpf_jit *jit, u32 stack_depth) stack_depth 460 arch/s390/net/bpf_jit_comp.c save_restore_regs(jit, REGS_RESTORE, stack_depth); stack_depth 1068 arch/s390/net/bpf_jit_comp.c off = STK_OFF_TCCNT + STK_OFF + fp->aux->stack_depth; stack_depth 1098 arch/s390/net/bpf_jit_comp.c save_restore_regs(jit, REGS_RESTORE, fp->aux->stack_depth); stack_depth 1300 arch/s390/net/bpf_jit_comp.c bpf_jit_prologue(jit, fp->aux->stack_depth); stack_depth 1308 arch/s390/net/bpf_jit_comp.c bpf_jit_epilogue(jit, fp->aux->stack_depth); stack_depth 803 arch/sparc/net/bpf_jit_comp_64.c u32 stack_depth; stack_depth 805 arch/sparc/net/bpf_jit_comp_64.c stack_depth = prog->aux->stack_depth; stack_depth 806 arch/sparc/net/bpf_jit_comp_64.c stack_needed += round_up(stack_depth, 16); stack_depth 208 arch/x86/net/bpf_jit_comp.c static void emit_prologue(u8 **pprog, u32 stack_depth, bool ebpf_from_cbpf) stack_depth 216 arch/x86/net/bpf_jit_comp.c EMIT3_off32(0x48, 0x81, 0xEC, round_up(stack_depth, 8)); stack_depth 404 arch/x86/net/bpf_jit_comp.c emit_prologue(&prog, bpf_prog->aux->stack_depth, stack_depth 180 arch/x86/net/bpf_jit_comp32.c #define _STACK_SIZE (stack_depth + SCRATCH_SIZE) stack_depth 1199 arch/x86/net/bpf_jit_comp32.c static void emit_prologue(u8 **pprog, u32 stack_depth) stack_depth 1244 arch/x86/net/bpf_jit_comp32.c static void emit_epilogue(u8 **pprog, u32 stack_depth) stack_depth 1473 arch/x86/net/bpf_jit_comp32.c emit_prologue(&prog, bpf_prog->aux->stack_depth); stack_depth 2259 arch/x86/net/bpf_jit_comp32.c emit_epilogue(&prog, bpf_prog->aux->stack_depth); stack_depth 176 drivers/firewire/core-topology.c int i, port_count, child_port_count, phy_id, parent_count, stack_depth; stack_depth 183 drivers/firewire/core-topology.c stack_depth = 0; stack_depth 205 drivers/firewire/core-topology.c if (child_port_count > stack_depth) { stack_depth 281 drivers/firewire/core-topology.c stack_depth += 1 - child_port_count; stack_depth 3258 drivers/net/ethernet/netronome/nfp/bpf/jit.c u32 ret_tgt, stack_depth, offset_br; stack_depth 3261 drivers/net/ethernet/netronome/nfp/bpf/jit.c stack_depth = round_up(nfp_prog->stack_frame_depth, STACK_FRAME_ALIGN); stack_depth 3265 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (stack_depth) { stack_depth 3266 drivers/net/ethernet/netronome/nfp/bpf/jit.c tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, stack_depth 3325 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (stack_depth) { stack_depth 3326 drivers/net/ethernet/netronome/nfp/bpf/jit.c tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, stack_depth 3643 drivers/net/ethernet/netronome/nfp/bpf/jit.c unsigned int depth = nfp_prog->subprog[meta->subprog_idx].stack_depth; stack_depth 3831 drivers/net/ethernet/netronome/nfp/bpf/jit.c depth = nfp_prog->subprog[0].stack_depth; stack_depth 484 drivers/net/ethernet/netronome/nfp/bpf/main.h u16 stack_depth; stack_depth 709 drivers/net/ethernet/netronome/nfp/bpf/verifier.c frame_depths[frame] = nfp_prog->subprog[idx].stack_depth; stack_depth 777 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog->subprog[i].stack_depth = info[i].stack_depth; stack_depth 783 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog->subprog[i].stack_depth += REG_WIDTH; stack_depth 786 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog->subprog[i].stack_depth += BPF_REG_SIZE * 4; stack_depth 780 fs/overlayfs/super.c struct ovl_fs *ofs, int *stack_depth, bool *remote) stack_depth 793 fs/overlayfs/super.c *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); stack_depth 374 include/linux/bpf.h u32 stack_depth; stack_depth 714 include/linux/bpf.h void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth); stack_depth 344 include/linux/bpf_verifier.h u16 stack_depth; /* max. stack depth used by this function */ stack_depth 1628 kernel/bpf/core.c void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) stack_depth 1630 kernel/bpf/core.c stack_depth = max_t(u32, stack_depth, 1); stack_depth 1632 kernel/bpf/core.c insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] - stack_depth 1692 kernel/bpf/core.c u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); stack_depth 1694 kernel/bpf/core.c fp->bpf_func = interpreters[(round_up(stack_depth, 32) / 32) - 1]; stack_depth 2590 kernel/bpf/verifier.c u16 stack = env->subprog_info[func->subprogno].stack_depth; stack_depth 2596 kernel/bpf/verifier.c env->subprog_info[func->subprogno].stack_depth = -off; stack_depth 2618 kernel/bpf/verifier.c depth += round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); stack_depth 2656 kernel/bpf/verifier.c depth -= round_up(max_t(u32, subprog[idx].stack_depth, 1), 32); stack_depth 2675 kernel/bpf/verifier.c return env->subprog_info[subprog].stack_depth; stack_depth 7902 kernel/bpf/verifier.c env->prog->aux->stack_depth = env->subprog_info[0].stack_depth; stack_depth 8817 kernel/bpf/verifier.c func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; stack_depth 9096 kernel/bpf/verifier.c env->prog->aux->stack_depth = MAX_BPF_STACK; stack_depth 9278 kernel/bpf/verifier.c u32 depth = env->subprog_info[i].stack_depth; stack_depth 82 lib/test_bpf.c int stack_depth; /* for eBPF only, since tests don't call verifier */ stack_depth 449 lib/test_bpf.c self->stack_depth = 40; stack_depth 4131 lib/test_bpf.c .stack_depth = 40, stack_depth 4144 lib/test_bpf.c .stack_depth = 40, stack_depth 4158 lib/test_bpf.c .stack_depth = 40, stack_depth 4171 lib/test_bpf.c .stack_depth = 40, stack_depth 4184 lib/test_bpf.c .stack_depth = 40, stack_depth 4198 lib/test_bpf.c .stack_depth = 40, stack_depth 4211 lib/test_bpf.c .stack_depth = 40, stack_depth 4224 lib/test_bpf.c .stack_depth = 40, stack_depth 4238 lib/test_bpf.c .stack_depth = 40, stack_depth 4251 lib/test_bpf.c .stack_depth = 40, stack_depth 4269 lib/test_bpf.c .stack_depth = 40, stack_depth 4282 lib/test_bpf.c .stack_depth = 40, stack_depth 4296 lib/test_bpf.c .stack_depth = 40, stack_depth 4311 lib/test_bpf.c .stack_depth = 40, stack_depth 4327 lib/test_bpf.c .stack_depth = 40, stack_depth 4340 lib/test_bpf.c .stack_depth = 40, stack_depth 4362 lib/test_bpf.c .stack_depth = 40, stack_depth 4378 lib/test_bpf.c .stack_depth = 40, stack_depth 4391 lib/test_bpf.c .stack_depth = 40, stack_depth 6626 lib/test_bpf.c fp->aux->stack_depth = tests[which].stack_depth; stack_depth 801 net/core/filter.c if (new_prog && new_prog->aux->stack_depth < stack_off) stack_depth 802 net/core/filter.c new_prog->aux->stack_depth = stack_off;