Searched refs:stack_adjust (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit_comp32.c | 145 int stack_adjust = ctx->stack_size; in __build_epilogue() local 155 emit(rv_lw(RV_REG_RA, stack_adjust - 4, RV_REG_SP), ctx); in __build_epilogue() 156 emit(rv_lw(RV_REG_FP, stack_adjust - 8, RV_REG_SP), ctx); in __build_epilogue() 157 emit(rv_lw(RV_REG_S1, stack_adjust - 12, RV_REG_SP), ctx); in __build_epilogue() 158 emit(rv_lw(RV_REG_S2, stack_adjust - 16, RV_REG_SP), ctx); in __build_epilogue() 159 emit(rv_lw(RV_REG_S3, stack_adjust - 20, RV_REG_SP), ctx); in __build_epilogue() 160 emit(rv_lw(RV_REG_S4, stack_adjust - 24, RV_REG_SP), ctx); in __build_epilogue() 161 emit(rv_lw(RV_REG_S5, stack_adjust - 28, RV_REG_SP), ctx); in __build_epilogue() 162 emit(rv_lw(RV_REG_S6, stack_adjust - 32, RV_REG_SP), ctx); in __build_epilogue() 163 emit(rv_lw(RV_REG_S7, stack_adjust - 36, RV_REG_SP), ctx); in __build_epilogue() [all …]
|
D | bpf_jit_comp64.c | 212 int stack_adjust = ctx->stack_size, store_offset = stack_adjust - 8; in __build_epilogue() local 245 emit_addi(RV_REG_SP, RV_REG_SP, stack_adjust, ctx); in __build_epilogue() 1778 int i, stack_adjust = 0, store_offset, bpf_stack_adjust; in bpf_jit_build_prologue() local 1785 stack_adjust += 8; in bpf_jit_build_prologue() 1786 stack_adjust += 8; /* RV_REG_FP */ in bpf_jit_build_prologue() 1788 stack_adjust += 8; in bpf_jit_build_prologue() 1790 stack_adjust += 8; in bpf_jit_build_prologue() 1792 stack_adjust += 8; in bpf_jit_build_prologue() 1794 stack_adjust += 8; in bpf_jit_build_prologue() 1796 stack_adjust += 8; in bpf_jit_build_prologue() [all …]
|
/Linux-v6.6/arch/loongarch/net/ |
D | bpf_jit.c | 91 int stack_adjust = 0, store_offset, bpf_stack_adjust; in build_prologue() local 96 stack_adjust += sizeof(long) * 8; in build_prologue() 98 stack_adjust = round_up(stack_adjust, 16); in build_prologue() 99 stack_adjust += bpf_stack_adjust; in build_prologue() 108 emit_insn(ctx, addid, LOONGARCH_GPR_SP, LOONGARCH_GPR_SP, -stack_adjust); in build_prologue() 110 store_offset = stack_adjust - sizeof(long); in build_prologue() 134 emit_insn(ctx, addid, LOONGARCH_GPR_FP, LOONGARCH_GPR_SP, stack_adjust); in build_prologue() 146 ctx->stack_size = stack_adjust; in build_prologue() 151 int stack_adjust = ctx->stack_size; in __build_epilogue() local 154 load_offset = stack_adjust - sizeof(long); in __build_epilogue() [all …]
|
/Linux-v6.6/arch/parisc/net/ |
D | bpf_jit_comp64.c | 1102 int bpf_stack_adjust, stack_adjust, i; in bpf_jit_build_prologue() local 1116 stack_adjust = FRAME_SIZE + bpf_stack_adjust; in bpf_jit_build_prologue() 1117 stack_adjust = round_up(stack_adjust, STACK_ALIGN); in bpf_jit_build_prologue() 1151 emit(hppa_ldo(stack_adjust, HPPA_REG_SP, HPPA_REG_SP), ctx); in bpf_jit_build_prologue()
|
D | bpf_jit_comp32.c | 1471 int stack_adjust = 0; in bpf_jit_build_prologue() local 1487 stack_adjust += NR_SAVED_REGISTERS * REG_SIZE; in bpf_jit_build_prologue() 1489 stack_adjust += BPF_JIT_SCRATCH_REGS * REG_SIZE; in bpf_jit_build_prologue() 1491 stack_adjust += bpf_stack_adjust; in bpf_jit_build_prologue() 1493 stack_adjust = round_up(stack_adjust, STACK_ALIGN); in bpf_jit_build_prologue() 1510 …emit(hppa_ldo(stack_adjust, HPPA_REG_SP, HPPA_REG_SP), ctx); // ldo stack_adjust(sp),sp (increase … in bpf_jit_build_prologue()
|