Searched refs:store_offset (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 233 int stack_adjust = ctx->stack_size, store_offset = stack_adjust - 8; in __build_epilogue() local 236 emit_ld(RV_REG_RA, store_offset, RV_REG_SP, ctx); in __build_epilogue() 237 store_offset -= 8; in __build_epilogue() 239 emit_ld(RV_REG_FP, store_offset, RV_REG_SP, ctx); in __build_epilogue() 240 store_offset -= 8; in __build_epilogue() 242 emit_ld(RV_REG_S1, store_offset, RV_REG_SP, ctx); in __build_epilogue() 243 store_offset -= 8; in __build_epilogue() 246 emit_ld(RV_REG_S2, store_offset, RV_REG_SP, ctx); in __build_epilogue() 247 store_offset -= 8; in __build_epilogue() 250 emit_ld(RV_REG_S3, store_offset, RV_REG_SP, ctx); in __build_epilogue() [all …]
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 42 static void prepare_bpf_tail_call_cnt(struct jit_ctx *ctx, int *store_offset) in prepare_bpf_tail_call_cnt() argument 65 *store_offset -= sizeof(long); in prepare_bpf_tail_call_cnt() 73 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt() 76 emit_insn(ctx, addid, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt() 84 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt() 86 *store_offset -= sizeof(long); in prepare_bpf_tail_call_cnt() 87 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt() 91 *store_offset -= sizeof(long); in prepare_bpf_tail_call_cnt() 92 emit_insn(ctx, std, REG_TCC, LOONGARCH_GPR_SP, *store_offset); in prepare_bpf_tail_call_cnt() 127 int i, stack_adjust = 0, store_offset, bpf_stack_adjust; in build_prologue() local [all …]
|