Home
last modified time | relevance | path

Searched refs:store_offset (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c203 int stack_adjust = ctx->stack_size, store_offset = stack_adjust - 8; in __build_epilogue() local
206 emit_ld(RV_REG_RA, store_offset, RV_REG_SP, ctx); in __build_epilogue()
207 store_offset -= 8; in __build_epilogue()
209 emit_ld(RV_REG_FP, store_offset, RV_REG_SP, ctx); in __build_epilogue()
210 store_offset -= 8; in __build_epilogue()
212 emit_ld(RV_REG_S1, store_offset, RV_REG_SP, ctx); in __build_epilogue()
213 store_offset -= 8; in __build_epilogue()
216 emit_ld(RV_REG_S2, store_offset, RV_REG_SP, ctx); in __build_epilogue()
217 store_offset -= 8; in __build_epilogue()
220 emit_ld(RV_REG_S3, store_offset, RV_REG_SP, ctx); in __build_epilogue()
[all …]
/linux/arch/loongarch/net/
H A Dbpf_jit.c53 static void prepare_bpf_tail_call_cnt(struct jit_ctx *ctx, int *store_offset) in prepare_bpf_tail_call_cnt() argument
58 *store_offset -= sizeof(long); in prepare_bpf_tail_call_cnt()
61 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt()
64 emit_insn(ctx, addid, LOONGARCH_GPR_T7, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt()
77 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt()
81 *store_offset -= sizeof(long); in prepare_bpf_tail_call_cnt()
82 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt()
120 int i, stack_adjust = 0, store_offset, bpf_stack_adjust; in build_prologue() local
158 store_offset = stack_adjust - sizeof(long); in build_prologue()
159 emit_insn(ctx, std, LOONGARCH_GPR_RA, LOONGARCH_GPR_SP, store_offset); in build_prologue()
[all …]