Searched refs:stack_adjust (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.1/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 | 184 int stack_adjust = ctx->stack_size, store_offset = stack_adjust - 8; in __build_epilogue() local 217 emit_addi(RV_REG_SP, RV_REG_SP, stack_adjust, ctx); in __build_epilogue() 1246 int stack_adjust = 0, store_offset, bpf_stack_adjust; in bpf_jit_build_prologue() local 1253 stack_adjust += 8; in bpf_jit_build_prologue() 1254 stack_adjust += 8; /* RV_REG_FP */ in bpf_jit_build_prologue() 1256 stack_adjust += 8; in bpf_jit_build_prologue() 1258 stack_adjust += 8; in bpf_jit_build_prologue() 1260 stack_adjust += 8; in bpf_jit_build_prologue() 1262 stack_adjust += 8; in bpf_jit_build_prologue() 1264 stack_adjust += 8; in bpf_jit_build_prologue() [all …]
|
| /Linux-v6.1/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 …]
|