| /linux-6.15/fs/xfs/scrub/ |
| H A D | xfarray.c | 770 si->stack_depth + 2); in xfarray_qsort_push() 773 si_hi[si->stack_depth + 1] = si_hi[si->stack_depth]; 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() 931 lo = si_lo[si->stack_depth]; in xfarray_sort() 932 hi = si_hi[si->stack_depth]; in xfarray_sort() 938 si->stack_depth--; in xfarray_sort() 950 si->stack_depth--; in xfarray_sort() [all …]
|
| H A D | xfarray.h | 122 int8_t stack_depth; member
|
| H A D | trace.h | 1121 __field(int, stack_depth) 1128 __entry->stack_depth = si->stack_depth; 1136 __entry->stack_depth,
|
| /linux-6.15/lib/ |
| H A D | test_bpf.c | 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, 14886 fp->aux->stack_depth = tests[which].stack_depth; in generate_filter() 15251 int stack_depth; member [all …]
|
| /linux-6.15/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 429 off += STK_OFF + stack_depth; in restore_regs() 497 restore_regs(jit, rs, re, stack_depth); in save_restore_regs() 557 u32 stack_depth) in bpf_jit_prologue() argument 590 save_restore_regs(jit, REGS_SAVE, stack_depth, in bpf_jit_prologue() 668 save_restore_regs(jit, REGS_RESTORE, stack_depth, 0); in bpf_jit_epilogue() 859 int i, bool extra_pass, u32 stack_depth) in bpf_jit_insn() argument 1834 off = STK_OFF_TCCNT + STK_OFF + stack_depth; in bpf_jit_insn() 2158 bool extra_pass, u32 stack_depth) in bpf_jit_prog() argument 2173 bpf_jit_prologue(jit, fp, stack_depth); in bpf_jit_prog() 2184 bpf_jit_epilogue(jit, stack_depth); in bpf_jit_prog() [all …]
|
| /linux-6.15/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 560 if (stack_depth) in emit_prologue() 720 u32 stack_depth, u8 *ip, in emit_bpf_tail_call_indirect() argument 785 if (stack_depth) in emit_bpf_tail_call_indirect() 787 round_up(stack_depth, 8)); in emit_bpf_tail_call_indirect() 852 if (stack_depth) in emit_bpf_tail_call_direct() 1567 u32 stack_depth; in do_jit() local 1570 stack_depth = bpf_prog->aux->stack_depth; in do_jit() 1574 stack_depth = 0; in do_jit() 2314 LOAD_TAIL_CALL_CNT_PTR(stack_depth); in do_jit() 2337 stack_depth, in do_jit() [all …]
|
| H A D | bpf_jit_comp32.c | 181 #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-6.15/drivers/firewire/ |
| H A D | core-topology.c | 107 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-6.15/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | verifier.c | 714 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 D | main.h | 484 u16 stack_depth; member
|
| H A D | jit.c | 3264 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-6.15/include/linux/ |
| H A D | kcsan-checks.h | 138 int stack_depth; member
|
| H A D | bpf_verifier.h | 669 u16 stack_depth; /* max. stack depth used by this function */ member
|
| H A D | bpf.h | 1528 u32 stack_depth; member 2627 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth);
|
| /linux-6.15/kernel/kcsan/ |
| H A D | core.c | 437 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-6.15/fs/overlayfs/ |
| H A D | super.c | 399 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() argument 408 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir()
|
| /linux-6.15/kernel/bpf/ |
| H A D | core.c | 2339 void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth) in bpf_patch_call_args() argument 2341 stack_depth = max_t(u32, stack_depth, 1); in bpf_patch_call_args() 2343 insn->imm = interpreters_args[(round_up(stack_depth, 32) / 32) - 1] - in bpf_patch_call_args() 2438 u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); in bpf_prog_select_func() local 2439 u32 idx = (round_up(stack_depth, 32) / 32) - 1; in bpf_prog_select_func()
|
| H A D | verifier.c | 21121 func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; in jit_subprogs() 21546 u16 stack_depth = subprogs[cur_subprog].stack_depth; in do_misc_fixups() local 22381 stack_depth = subprogs[cur_subprog].stack_depth; in do_misc_fixups() 22388 stack_depth = subprogs[cur_subprog].stack_depth; in do_misc_fixups() 22395 env->prog->aux->stack_depth = subprogs[0].stack_depth; in do_misc_fixups() 22410 stack_depth = subprogs[i].stack_depth; in do_misc_fixups() 22556 u16 stack_depth = subprogs[cur_subprog].stack_depth; in optimize_bpf_loop() local 22584 stack_depth = subprogs[cur_subprog].stack_depth; in optimize_bpf_loop() 22585 stack_depth_roundup = round_up(stack_depth, 8) - stack_depth; in optimize_bpf_loop() 22590 env->prog->aux->stack_depth = env->subprog_info[0].stack_depth; in optimize_bpf_loop() [all …]
|
| /linux-6.15/arch/sparc/net/ |
| H A D | bpf_jit_comp_64.c | 803 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-6.15/Documentation/bpf/ |
| H A D | drgn.rst | 132 .stack_depth = (u32)8,
|
| /linux-6.15/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 206 cgctx.stack_size = round_up(fp->aux->stack_depth, 16); in bpf_int_jit_compile()
|
| /linux-6.15/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 587 locals = ALIGN(ctx->program->aux->stack_depth, MIPS_STACK_ALIGNMENT); in build_prologue()
|
| /linux-6.15/arch/arc/net/ |
| H A D | bpf_jit_core.c | 264 ctx->frame_size = ctx->prog->aux->stack_depth; in analyze_reg_usage()
|
| /linux-6.15/security/ |
| H A D | Kconfig.hardening | 214 the /proc file system. In particular, /proc/<pid>/stack_depth
|
| /linux-6.15/arch/parisc/net/ |
| H A D | bpf_jit_comp64.c | 1113 bpf_stack_adjust = ctx->prog->aux->stack_depth; in bpf_jit_build_prologue()
|