Searched refs:stack_adjust (Results 1 – 7 of 7) sorted by relevance
/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() 165 emit(rv_addi(RV_REG_SP, RV_REG_SP, stack_adjust), ctx); in __build_epilogue() 1308 int stack_adjust = 0; in bpf_jit_build_prologue() local 1313 stack_adjust += NR_SAVED_REGISTERS * sizeof(u32); in bpf_jit_build_prologue() 1315 stack_adjust += BPF_JIT_SCRATCH_REGS * sizeof(u32); in bpf_jit_build_prologue() 1317 stack_adjust += bpf_stack_adjust; in bpf_jit_build_prologue() 1319 stack_adjust = round_up(stack_adjust, STACK_ALIGN); in bpf_jit_build_prologue() [all …]
|
H A D | bpf_jit_comp64.c | 212 int stack_adjust = ctx->stack_size, store_offset = stack_adjust - 8; in __build_epilogue() local 1785 stack_adjust += 8; 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() 1798 stack_adjust += 8; in bpf_jit_build_prologue() 1800 stack_adjust = round_up(stack_adjust, 16); in bpf_jit_build_prologue() 1803 store_offset = 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 | 100 target_ulong stack_adjust = cpu->lldb_stack_adjust; in adjust_stack_ptrs() local 104 if (stack_adjust == 0) { in adjust_stack_ptrs() 109 return addr - stack_adjust; in adjust_stack_ptrs()
|
H A D | README | 290 env->stack_adjust in translate.c. First, set this to zero and run qemu. 291 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()
|