Searched refs:stack_depth (Results 1 - 25 of 31) sorted by last modified time

12

/linux-master/fs/xfs/scrub/
H A Dxfarray.h122 int8_t stack_depth; member in struct:xfarray_sortinfo
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...]
/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
/linux-master/kernel/bpf/
H A Dcore.c2281 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) argument
2283 stack_depth = max_t(u32, stack_depth, 1);
2285 insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] -
2364 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); local
2366 fp->bpf_func = interpreters[(round_up(stack_depth, 32) / 32) - 1];
H A Dverifier.c1320 if (env->subprog_info[state->subprogno].stack_depth < size)
1321 env->subprog_info[state->subprogno].stack_depth = size;
5863 static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) argument
5866 return round_up(stack_depth, 16);
5871 return round_up(max_t(u32, stack_depth, 1), 32);
5917 depth += round_up_stack_depth(env, subprog[idx].stack_depth);
6011 depth -= round_up_stack_depth(env, subprog[idx].stack_depth);
6046 return env->subprog_info[subprog].stack_depth;
19393 func[i]->aux->stack_depth = env->subprog_info[i].stack_depth;
19805 u16 stack_depth = subprogs[cur_subprog].stack_depth; local
20655 u16 stack_depth = subprogs[cur_subprog].stack_depth; local
[all...]
/linux-master/arch/powerpc/net/
H A Dbpf_jit_comp.c136 cgctx.stack_size = round_up(fp->aux->stack_depth, 16);
/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/net/core/
H A Dfilter.c830 * stack_depth for ST|STX insns is enough
832 if (new_prog && new_prog->aux->stack_depth < stack_off)
833 new_prog->aux->stack_depth = stack_off;
/linux-master/lib/
H A Dtest_bpf.c84 int stack_depth; /* for eBPF only, since tests don't call verifier */ member in struct:bpf_test
452 self->stack_depth = 40;
8139 .stack_depth = 8,
8159 .stack_depth = 8,
8176 .stack_depth = 0,
8192 .stack_depth = 0,
8208 .stack_depth = 0,
8228 .stack_depth = 8,
8248 .stack_depth = 8,
8265 .stack_depth
15200 int stack_depth; member in struct:tail_call_test
[all...]
/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/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/arch/x86/net/
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);
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...]
/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/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/riscv/net/
H A Dbpf_jit_comp64.c1963 bpf_stack_adjust = round_up(ctx->prog->aux->stack_depth, 16);
H A Dbpf_jit_comp32.c1310 round_up(ctx->prog->aux->stack_depth, STACK_ALIGN);
/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/arm/net/
H A Dbpf_jit_32.c404 #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE)
/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/mips/net/
H A Dbpf_jit_comp32.c1418 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT);
/linux-master/arch/parisc/net/
H A Dbpf_jit_comp64.c1113 bpf_stack_adjust = ctx->prog->aux->stack_depth;
H A Dbpf_jit_comp32.c1483 bpf_stack_adjust = ctx->prog->aux->stack_depth;

Completed in 541 milliseconds

12