Lines Matching refs:sp_off
587 int sp_off = 0; in get_stack_depth() local
591 sp_off += hweight32(ctx->flags >> SEEN_SREG_SFT) * SZREG; in get_stack_depth()
594 sp_off += 4 * BPF_MEMWORDS; /* BPF_MEMWORDS are 32-bit */ in get_stack_depth()
597 sp_off += SZREG; /* Space for our ra register */ in get_stack_depth()
599 return sp_off; in get_stack_depth()
604 int sp_off; in build_prologue() local
607 sp_off = get_stack_depth(ctx); in build_prologue()
608 save_bpf_jit_regs(ctx, sp_off); in build_prologue()
636 unsigned int sp_off; in build_epilogue() local
640 sp_off = get_stack_depth(ctx); in build_epilogue()
641 restore_bpf_jit_regs(ctx, sp_off); in build_epilogue()