Searched refs:args_off (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 699 static void store_args(int nr_arg_slots, int args_off, struct rv_jit_context *ctx) in store_args() argument 705 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 709 emit_sd(RV_REG_FP, -args_off, RV_REG_T1, ctx); in store_args() 711 args_off -= 8; in store_args() 715 static void restore_args(int nr_reg_args, int args_off, struct rv_jit_context *ctx) in restore_args() argument 720 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 721 args_off -= 8; in restore_args() 725 static void restore_stack_args(int nr_stack_args, int args_off, int stk_arg_off, in restore_stack_args() argument 731 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 733 args_off -= 8; in restore_stack_args() [all …]
|
/linux-6.12.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 1986 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_prog() argument 2028 emit(A64_ADD_I(1, A64_R(0), A64_SP, args_off), ctx); in invoke_bpf_prog() 2053 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_mod_ret() argument 2063 invoke_bpf_prog(ctx, tl->links[i], args_off, retval_off, in invoke_bpf_mod_ret() 2077 static void save_args(struct jit_ctx *ctx, int args_off, int nregs) in save_args() argument 2082 emit(A64_STR64I(i, A64_SP, args_off), ctx); in save_args() 2083 args_off += 8; in save_args() 2087 static void restore_args(struct jit_ctx *ctx, int args_off, int nregs) in restore_args() argument 2092 emit(A64_LDR64I(i, A64_SP, args_off), ctx); in restore_args() 2093 args_off += 8; in restore_args() [all …]
|