Searched refs:stack_depth (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/fs/xfs/scrub/
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.h119 int8_t stack_depth; member in struct:xfarray_sortinfo
H A Dtrace.h1023 __field(int, stack_depth)
1030 __entry->stack_depth = si->stack_depth;
1038 __entry->stack_depth,
1137 "xfino 0x%lx loads %llu stores %llu compares %llu heapsorts %llu stack_depth %u/%u error %d",
1139 "xfino 0x%lx stack_depth %u/%u error %d",
/linux-master/drivers/firewire/
H A Dcore-topology.c177 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; local
184 stack_depth = 0;
206 if (child_port_count > stack_depth) {
282 stack_depth += 1 - child_port_count;
/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
1953 bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp, bool extra_pass, u32 stack_depth) argument
2034 u32 stack_depth = round_up(fp->aux->stack_depth, 8); local
[all...]
/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/include/linux/
H A Dkcsan-checks.h138 int stack_depth; member in union:kcsan_scoped_access::__anon331
H A Dbpf_verifier.h623 u16 stack_depth; /* max. stack depth used by this function */ member in struct:bpf_subprog_info
H A Dbpf.h1436 u32 stack_depth; member in struct:bpf_prog_aux
2484 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth);
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
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;
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 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;
/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/arch/powerpc/net/
H A Dbpf_jit_comp.c136 cgctx.stack_size = round_up(fp->aux->stack_depth, 16);
/linux-master/kernel/kcsan/
H A Dcore.c437 reorder_access->stack_depth = get_kcsan_stack_depth();
1122 if (get_kcsan_stack_depth() <= reorder_access->stack_depth) {
1133 reorder_access->stack_depth = INT_MIN;
/linux-master/kernel/bpf/
H A Dcore.c2264 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) argument
2266 stack_depth = max_t(u32, stack_depth, 1);
2268 insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] -
2347 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); local
2349 fp->bpf_func = interpreters[(round_up(stack_depth, 32) / 32) - 1];
H A Dverifier.c1315 if (env->subprog_info[state->subprogno].stack_depth < size)
1316 env->subprog_info[state->subprogno].stack_depth = size;
5848 static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) argument
5851 return round_up(stack_depth, 16);
5856 return round_up(max_t(u32, stack_depth, 1), 32);
5902 depth += round_up_stack_depth(env, subprog[idx].stack_depth);
5996 depth -= round_up_stack_depth(env, subprog[idx].stack_depth);
6031 return env->subprog_info[subprog].stack_depth;
19202 func[i]->aux->stack_depth = env->subprog_info[i].stack_depth;
19600 u16 stack_depth = subprogs[cur_subprog].stack_depth; local
20336 u16 stack_depth = subprogs[cur_subprog].stack_depth; local
[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/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/mips/net/
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_comp64.c1113 bpf_stack_adjust = ctx->prog->aux->stack_depth;
H A Dbpf_jit_comp32.c1483 bpf_stack_adjust = ctx->prog->aux->stack_depth;
/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/riscv/net/
H A Dbpf_jit_comp32.c1310 round_up(ctx->prog->aux->stack_depth, STACK_ALIGN);

Completed in 678 milliseconds

12