Searched refs:BPF_PPC_STACKFRAME (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/powerpc/net/ |
D | bpf_jit_comp32.c | 34 #define BPF_PPC_STACKFRAME(ctx) (STACK_FRAME_MIN_SIZE + BPF_PPC_STACK_SAVE + (ctx)->stack_size) macro 71 return BPF_PPC_STACKFRAME(ctx) - 4 * (32 - reg); in bpf_jit_stack_offsetof() 75 return BPF_PPC_STACKFRAME(ctx) - 4; in bpf_jit_stack_offsetof() 139 EMIT(PPC_RAW_STWU(_R1, _R1, -BPF_PPC_STACKFRAME(ctx))); in bpf_jit_build_prologue() 170 EMIT(PPC_RAW_STW(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_build_prologue() 183 EMIT(PPC_RAW_LWZ(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF)); in bpf_jit_emit_common_epilogue() 187 EMIT(PPC_RAW_ADDI(_R1, _R1, BPF_PPC_STACKFRAME(ctx))); in bpf_jit_emit_common_epilogue()
|
D | bpf_jit_comp64.c | 41 #define BPF_PPC_STACKFRAME (STACK_FRAME_MIN_SIZE + \ macro 114 (BPF_PPC_STACKFRAME + ctx->stack_size) : 0) in bpf_jit_stack_offsetof() 158 EMIT(PPC_RAW_STDU(_R1, _R1, -(BPF_PPC_STACKFRAME + ctx->stack_size))); in bpf_jit_build_prologue() 187 EMIT(PPC_RAW_ADDI(_R1, _R1, BPF_PPC_STACKFRAME + ctx->stack_size)); in bpf_jit_emit_common_epilogue()
|