Searched refs:stack_depth (Results 1 - 25 of 31) sorted by path

12

/linux-master/arch/arc/net/
H A Dbpf_jit_core.c92 * frame_size: Derived from "prog->aux->stack_depth".
264 ctx->frame_size = ctx->prog->aux->stack_depth;
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c404 #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE)
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c329 * +-----+ <= (BPF_FP - prog->aux->stack_depth)
415 ctx->stack_size = round_up(prog->aux->stack_depth, 16);
/linux-master/arch/loongarch/net/
H A Dbpf_jit.c84 * | prog->aux->stack_depth |
93 bpf_stack_adjust = round_up(ctx->prog->aux->stack_depth, 16);
/linux-master/arch/mips/net/
H A Dbpf_jit_comp32.c1418 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT);
H A Dbpf_jit_comp64.c587 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT);
/linux-master/arch/parisc/net/
H A Dbpf_jit_comp32.c1483 bpf_stack_adjust = ctx->prog->aux->stack_depth;
H A Dbpf_jit_comp64.c1113 bpf_stack_adjust = ctx->prog->aux->stack_depth;
/linux-master/arch/powerpc/net/
H A Dbpf_jit_comp.c136 cgctx.stack_size = round_up(fp->aux->stack_depth, 16);
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp32.c1310 round_up(ctx->prog->aux->stack_depth, STACK_ALIGN);
H A Dbpf_jit_comp64.c1963 bpf_stack_adjust = round_up(ctx->prog->aux->stack_depth, 16);
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c421 static void restore_regs(struct bpf_jit *jit, u32 rs, u32 re, u32 stack_depth) argument
426 off += STK_OFF + stack_depth;
470 static void save_restore_regs(struct bpf_jit *jit, int op, u32 stack_depth) argument
492 restore_regs(jit, rs, re, stack_depth);
552 u32 stack_depth)
574 save_restore_regs(jit, REGS_SAVE, stack_depth);
596 EMIT4_IMM(0xa70b0000, REG_15, -(STK_OFF + stack_depth));
644 static void bpf_jit_epilogue(struct bpf_jit *jit, u32 stack_depth) argument
650 save_restore_regs(jit, REGS_RESTORE, stack_depth);
779 int i, bool extra_pass, u32 stack_depth)
551 bpf_jit_prologue(struct bpf_jit *jit, struct bpf_prog *fp, u32 stack_depth) argument
778 bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, int i, bool extra_pass, u32 stack_depth) argument
1957 bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp, bool extra_pass, u32 stack_depth) argument
2038 u32 stack_depth = round_up(fp->aux->stack_depth, 8); local
[all...]
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c803 u32 stack_depth; local
805 stack_depth = prog->aux->stack_depth;
806 stack_needed += round_up(stack_depth, 16);
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c411 static void emit_prologue(u8 **pprog, u32 stack_depth, bool ebpf_from_cbpf, argument
453 if (stack_depth)
454 EMIT3_off32(0x48, 0x81, 0xEC, round_up(stack_depth, 8));
608 u32 stack_depth, u8 *ip,
611 int tcc_off = -4 - round_up(stack_depth, 8);
667 if (stack_depth)
669 round_up(stack_depth, 8));
691 bool *callee_regs_used, u32 stack_depth,
694 int tcc_off = -4 - round_up(stack_depth, 8);
728 if (stack_depth)
606 emit_bpf_tail_call_indirect(struct bpf_prog *bpf_prog, u8 **pprog, bool *callee_regs_used, u32 stack_depth, u8 *ip, struct jit_context *ctx) argument
688 emit_bpf_tail_call_direct(struct bpf_prog *bpf_prog, struct bpf_jit_poke_descriptor *poke, u8 **pprog, u8 *ip, bool *callee_regs_used, u32 stack_depth, struct jit_context *ctx) argument
[all...]
H A Dbpf_jit_comp32.c181 #define _STACK_SIZE (stack_depth + SCRATCH_SIZE)
1200 static void emit_prologue(u8 **pprog, u32 stack_depth) argument
1245 static void emit_epilogue(u8 **pprog, u32 stack_depth) argument
1670 emit_prologue(&prog, bpf_prog->aux->stack_depth);
2472 emit_epilogue(&prog, bpf_prog->aux->stack_depth);
/linux-master/drivers/firewire/
H A Dcore-topology.c178 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; local
185 stack_depth = 0;
207 if (child_port_count > stack_depth) {
283 stack_depth += 1 - child_port_count;
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c3264 u32 ret_tgt, stack_depth, offset_br; local
3267 stack_depth = round_up(nfp_prog->stack_frame_depth, STACK_FRAME_ALIGN);
3269 * so stack_depth can be zero for the main function.
3271 if (stack_depth) {
3272 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth,
3331 if (stack_depth) {
3332 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth,
3649 unsigned int depth = nfp_prog->subprog[meta->subprog_idx].stack_depth;
3837 depth = nfp_prog->subprog[0].stack_depth;
H A Dmain.h480 * @stack_depth: maximum stack depth used by this sub-program
484 u16 stack_depth; member in struct:nfp_bpf_subprog_info
H A Dverifier.c714 frame_depths[frame] = nfp_prog->subprog[idx].stack_depth;
782 nfp_prog->subprog[i].stack_depth = info[i].stack_depth;
788 nfp_prog->subprog[i].stack_depth += REG_WIDTH;
791 nfp_prog->subprog[i].stack_depth += BPF_REG_SIZE * 4;
/linux-master/fs/overlayfs/
H A Dsuper.c386 struct ovl_fs *ofs, int *stack_depth)
395 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth);
385 ovl_lower_dir(const char *name, struct path *path, struct ovl_fs *ofs, int *stack_depth) argument
/linux-master/fs/xfs/scrub/
H A Dtrace.h1110 __field(int, stack_depth)
1117 __entry->stack_depth = si->stack_depth;
1125 __entry->stack_depth,
1224 "xfino 0x%lx loads %llu stores %llu compares %llu heapsorts %llu stack_depth %u/%u error %d",
1226 "xfino 0x%lx stack_depth %u/%u error %d",
H A Dxfarray.c764 if (si->stack_depth >= si->max_stack_depth - 1) {
765 ASSERT(si->stack_depth < si->max_stack_depth - 1);
770 si->stack_depth + 2);
772 si_lo[si->stack_depth + 1] = lo + 1;
773 si_hi[si->stack_depth + 1] = si_hi[si->stack_depth];
774 si_hi[si->stack_depth++] = lo - 1;
780 if (si_hi[si->stack_depth] - si_lo[si->stack_depth] >
781 si_hi[si->stack_depth
[all...]
H A Dxfarray.h122 int8_t stack_depth; member in struct:xfarray_sortinfo
/linux-master/include/linux/
H A Dbpf.h1446 u32 stack_depth; member in struct:bpf_prog_aux
2484 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth);
H A Dbpf_verifier.h632 u16 stack_depth; /* max. stack depth used by this function */ member in struct:bpf_subprog_info

Completed in 472 milliseconds

12