Home
last modified time | relevance | path

Searched refs:stack_depth (Results 1 – 22 of 22) sorted by relevance

/linux/fs/xfs/scrub/
H A Dxfarray.c764 if (si->stack_depth >= si->max_stack_depth - 1) { in xfarray_qsort_push()
765 ASSERT(si->stack_depth < si->max_stack_depth - 1); in xfarray_qsort_push()
770 si->stack_depth + 2); in xfarray_qsort_push()
772 si_lo[si->stack_depth + 1] = lo + 1; in xfarray_qsort_push()
773 si_hi[si->stack_depth + 1] = si_hi[si->stack_depth]; in xfarray_qsort_push()
774 si_hi[si->stack_depth++] = lo - 1; in xfarray_qsort_push()
780 if (si_hi[si->stack_depth] - si_lo[si->stack_depth] > in xfarray_qsort_push()
781 si_hi[si->stack_depth - 1] - si_lo[si->stack_depth - 1]) { in xfarray_qsort_push()
782 swap(si_lo[si->stack_depth], si_lo[si->stack_depth - 1]); in xfarray_qsort_push()
783 swap(si_hi[si->stack_depth], si_hi[si->stack_depth - 1]); in xfarray_qsort_push()
[all …]
H A Dtrace.h1121 __field(int, stack_depth)
1128 __entry->stack_depth = si->stack_depth;
1136 __entry->stack_depth,
/linux/lib/
H A Dtest_bpf.c84 int stack_depth; /* for eBPF only, since tests don't call verifier */ member
452 self->stack_depth = 40; in __bpf_fill_stxdw()
8159 .stack_depth = 8,
8179 .stack_depth = 8,
8196 .stack_depth = 0,
8212 .stack_depth = 0,
8228 .stack_depth = 0,
8248 .stack_depth = 8,
8268 .stack_depth = 8,
8285 .stack_depth = 0,
[all …]
/linux/drivers/firewire/
H A Dcore-topology.c107 int phy_id, stack_depth; in build_tree() local
114 stack_depth = 0; in build_tree()
168 if (child_port_count > stack_depth) { in build_tree()
236 stack_depth += 1 - child_port_count; in build_tree()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c714 frame_depths[frame] = nfp_prog->subprog[idx].stack_depth; in nfp_bpf_get_stack_usage()
782 nfp_prog->subprog[i].stack_depth = info[i].stack_depth; in nfp_bpf_finalize()
788 nfp_prog->subprog[i].stack_depth += REG_WIDTH; in nfp_bpf_finalize()
791 nfp_prog->subprog[i].stack_depth += BPF_REG_SIZE * 4; in nfp_bpf_finalize()
H A Dmain.h484 u16 stack_depth; member
H A Djit.c3264 u32 ret_tgt, stack_depth, offset_br; in bpf_to_bpf_call() local
3267 stack_depth = round_up(nfp_prog->stack_frame_depth, STACK_FRAME_ALIGN); in bpf_to_bpf_call()
3271 if (stack_depth) { in bpf_to_bpf_call()
3272 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, in bpf_to_bpf_call()
3331 if (stack_depth) { in bpf_to_bpf_call()
3332 tmp_reg = ur_load_imm_any(nfp_prog, stack_depth, in bpf_to_bpf_call()
3649 unsigned int depth = nfp_prog->subprog[meta->subprog_idx].stack_depth; in nfp_start_subprog()
3837 depth = nfp_prog->subprog[0].stack_depth; in nfp_translate()
/linux/include/linux/
H A Dkcsan-checks.h138 int stack_depth; member
/linux/kernel/kcsan/
H A Dcore.c437 reorder_access->stack_depth = get_kcsan_stack_depth(); in set_reorder_access()
1122 if (get_kcsan_stack_depth() <= reorder_access->stack_depth) { in __tsan_func_exit()
1133 reorder_access->stack_depth = INT_MIN; in __tsan_func_exit()
/linux/kernel/bpf/
H A Dcore.c2359 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) in __bpf_prog_map_compatible()
2361 stack_depth = max_t(u32, stack_depth, 1); in __bpf_prog_map_compatible()
2363 insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] - in __bpf_prog_map_compatible()
2484 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); in bpf_prog_select_runtime()
2485 u32 idx = (round_up(stack_depth, 32) / 32) - 1; in bpf_prog_select_runtime()
2322 bpf_patch_call_args(struct bpf_insn * insn,u32 stack_depth) bpf_patch_call_args() argument
2447 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); bpf_prog_select_interpreter() local
H A Dverifier.c1492 if (env->subprog_info[state->subprogno].stack_depth < size) in grow_stack_state()
1493 env->subprog_info[state->subprogno].stack_depth = size; in grow_stack_state()
6548 static int round_up_stack_depth(struct bpf_verifier_env *env, int stack_depth) in round_up_stack_depth() argument
6551 return round_up(stack_depth, 16); in round_up_stack_depth()
6556 return round_up(max_t(u32, stack_depth, 1), 32); in round_up_stack_depth()
6606 subprog_depth = round_up_stack_depth(env, subprog[idx].stack_depth); in check_max_stack_depth_subprog()
6719 depth -= round_up_stack_depth(env, subprog[idx].stack_depth); in check_max_stack_depth_subprog()
6779 return env->subprog_info[subprog].stack_depth; in get_callee_stack_depth()
21785 -(subprogs[0].stack_depth + 8)); in convert_ctx_accesses()
21792 subprogs[0].stack_depth += 8; in convert_ctx_accesses()
[all …]
/linux/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) in emit_prologue() argument
1245 static void emit_epilogue(u8 **pprog, u32 stack_depth) in emit_epilogue() argument
1670 emit_prologue(&prog, bpf_prog->aux->stack_depth); in do_jit()
2472 emit_epilogue(&prog, bpf_prog->aux->stack_depth); in do_jit()
/linux/arch/sparc/net/
H A Dbpf_jit_comp_64.c803 u32 stack_depth; in build_prologue() local
805 stack_depth = prog->aux->stack_depth; in build_prologue()
806 stack_needed += round_up(stack_depth, 16); in build_prologue()
/linux/fs/overlayfs/
H A Dsuper.c412 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() argument
421 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir()
/linux/Documentation/bpf/
H A Ddrgn.rst132 .stack_depth = (u32)8,
/linux/arch/mips/net/
H A Dbpf_jit_comp64.c587 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT); in build_prologue()
H A Dbpf_jit_comp32.c1418 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT); in build_prologue()
/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c1113 bpf_stack_adjust = ctx->prog->aux->stack_depth; in bpf_jit_build_prologue()
H A Dbpf_jit_comp32.c1483 bpf_stack_adjust = ctx->prog->aux->stack_depth; in bpf_jit_build_prologue()
/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c1309 round_up(ctx->prog->aux->stack_depth, STACK_ALIGN); in bpf_jit_build_prologue()
/linux/arch/arm/net/
H A Dbpf_jit_32.c404 #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE)
/linux/net/core/
H A Dfilter.c850 if (new_prog && new_prog->aux->stack_depth < stack_off) in bpf_convert_filter()
851 new_prog->aux->stack_depth = stack_off; in bpf_convert_filter()