Lines Matching refs:A64_SP
368 emit(A64_PUSH(A64_ZR, ptr, A64_SP), ctx); in prepare_bpf_tail_call_cnt()
369 emit(A64_MOV(1, ptr, A64_SP), ctx); in prepare_bpf_tail_call_cnt()
371 emit(A64_PUSH(ptr, ptr, A64_SP), ctx); in prepare_bpf_tail_call_cnt()
436 emit(A64_PUSH(A64_R(19), A64_R(20), A64_SP), ctx); in push_callee_regs()
437 emit(A64_PUSH(A64_R(21), A64_R(22), A64_SP), ctx); in push_callee_regs()
438 emit(A64_PUSH(A64_R(23), A64_R(24), A64_SP), ctx); in push_callee_regs()
439 emit(A64_PUSH(A64_R(25), A64_R(26), A64_SP), ctx); in push_callee_regs()
440 emit(A64_PUSH(A64_R(27), A64_R(28), A64_SP), ctx); in push_callee_regs()
447 emit(A64_PUSH(reg1, reg2, A64_SP), ctx); in push_callee_regs()
452 emit(A64_PUSH(reg1, A64_ZR, A64_SP), ctx); in push_callee_regs()
470 emit(A64_POP(A64_R(27), A64_R(28), A64_SP), ctx); in pop_callee_regs()
471 emit(A64_POP(A64_R(25), A64_R(26), A64_SP), ctx); in pop_callee_regs()
472 emit(A64_POP(A64_R(23), A64_R(24), A64_SP), ctx); in pop_callee_regs()
473 emit(A64_POP(A64_R(21), A64_R(22), A64_SP), ctx); in pop_callee_regs()
474 emit(A64_POP(A64_R(19), A64_R(20), A64_SP), ctx); in pop_callee_regs()
479 emit(A64_POP(reg1, A64_ZR, A64_SP), ctx); in pop_callee_regs()
485 emit(A64_POP(reg1, reg2, A64_SP), ctx); in pop_callee_regs()
566 emit(A64_PUSH(A64_FP, A64_LR, A64_SP), ctx); in build_prologue()
567 emit(A64_MOV(1, A64_FP, A64_SP), ctx); in build_prologue()
595 emit(A64_SUB_I(1, A64_SP, A64_FP, 96), ctx); in build_prologue()
609 emit(A64_MOV(1, fp, A64_SP), ctx); in build_prologue()
615 emit(A64_SUB_I(1, A64_SP, A64_SP, ctx->stack_size), ctx); in build_prologue()
679 emit(A64_ADD_I(1, A64_SP, A64_SP, ctx->stack_size), ctx); in emit_bpf_tail_call()
1047 emit(A64_ADD_I(1, A64_SP, A64_SP, ctx->stack_size), ctx); in build_epilogue()
1051 emit(A64_POP(A64_ZR, ptr, A64_SP), ctx); in build_epilogue()
1057 emit(A64_POP(A64_FP, A64_LR, A64_SP), ctx); in build_epilogue()
1620 src_adj = ctx->priv_sp_used ? priv_sp : A64_SP; in build_insn()
1710 dst_adj = ctx->priv_sp_used ? priv_sp : A64_SP; in build_insn()
1772 dst_adj = ctx->priv_sp_used ? priv_sp : A64_SP; in build_insn()
2245 emit(A64_STR64I(A64_ZR, A64_SP, run_ctx_off + cookie_off), ctx); in invoke_bpf_prog()
2248 emit(A64_STR64I(A64_R(10), A64_SP, run_ctx_off + cookie_off), in invoke_bpf_prog()
2260 emit(A64_ADD_I(1, A64_R(1), A64_SP, run_ctx_off), ctx); in invoke_bpf_prog()
2273 emit(A64_ADD_I(1, A64_R(0), A64_SP, bargs_off), ctx); in invoke_bpf_prog()
2280 emit(A64_STR64I(A64_R(0), A64_SP, retval_off), ctx); in invoke_bpf_prog()
2292 emit(A64_ADD_I(1, A64_R(2), A64_SP, run_ctx_off), ctx); in invoke_bpf_prog()
2306 emit(A64_STR64I(A64_ZR, A64_SP, retval_off), ctx); in invoke_bpf_mod_ret()
2313 emit(A64_LDR64I(A64_R(10), A64_SP, retval_off), ctx); in invoke_bpf_mod_ret()
2402 A64_LDR64I(reg, A64_SP, bargs_off) : in save_args()
2403 A64_STR64I(reg, A64_SP, bargs_off), in save_args()
2422 emit(A64_STR64I(tmp, A64_SP, doff), ctx); in save_args()
2434 emit(A64_LDR64I(reg, A64_SP, bargs_off), ctx); in restore_args()
2564 emit(A64_PUSH(A64_FP, A64_R(9), A64_SP), ctx); in prepare_trampoline()
2565 emit(A64_MOV(1, A64_FP, A64_SP), ctx); in prepare_trampoline()
2569 emit(A64_PUSH(A64_FP, A64_LR, A64_SP), ctx); in prepare_trampoline()
2570 emit(A64_MOV(1, A64_FP, A64_SP), ctx); in prepare_trampoline()
2573 emit(A64_SUB_I(1, A64_SP, A64_SP, stack_size), ctx); in prepare_trampoline()
2578 emit(A64_STR64I(A64_R(10), A64_SP, ip_off), ctx); in prepare_trampoline()
2583 emit(A64_STR64I(A64_R(10), A64_SP, nfuncargs_off), ctx); in prepare_trampoline()
2589 emit(A64_STR64I(A64_R(19), A64_SP, regs_off), ctx); in prepare_trampoline()
2590 emit(A64_STR64I(A64_R(20), A64_SP, regs_off + 8), ctx); in prepare_trampoline()
2620 emit(A64_LDR64I(A64_R(10), A64_SP, retaddr_off), ctx); in prepare_trampoline()
2624 emit(A64_STR64I(A64_R(0), A64_SP, retval_off), ctx); in prepare_trampoline()
2654 emit(A64_LDR64I(A64_R(19), A64_SP, regs_off), ctx); in prepare_trampoline()
2655 emit(A64_LDR64I(A64_R(20), A64_SP, regs_off + 8), ctx); in prepare_trampoline()
2658 emit(A64_LDR64I(A64_R(0), A64_SP, retval_off), ctx); in prepare_trampoline()
2661 emit(A64_MOV(1, A64_SP, A64_FP), ctx); in prepare_trampoline()
2664 emit(A64_POP(A64_FP, A64_LR, A64_SP), ctx); in prepare_trampoline()
2668 emit(A64_POP(A64_FP, A64_LR, A64_SP), ctx); in prepare_trampoline()
2669 emit(A64_POP(A64_FP, A64_R(9), A64_SP), ctx); in prepare_trampoline()