/openbmc/linux/arch/riscv/net/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/arch/loongarch/net/ |
H A 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 …]
|
/openbmc/qemu/target/hexagon/ |
H A D | cpu.c | 79 target_ulong stack_adjust = cpu->lldb_stack_adjust; in adjust_stack_ptrs() local 83 if (stack_adjust == 0) { in adjust_stack_ptrs() 88 return addr - stack_adjust; in adjust_stack_ptrs()
|
H A D | README | 295 env->stack_adjust in translate.c. First, set this to zero and run qemu. 296 Then, change env->stack_adjust to the difference between the two stack
|
/openbmc/linux/arch/parisc/net/ |
H A 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()
|
H A 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()
|