Lines Matching defs:dst
243 static void emit_alu_i64(const s8 *dst, s32 imm,
247 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
324 bpf_put_reg64(dst, rd, ctx);
327 static void emit_alu_i32(const s8 *dst, s32 imm,
331 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx);
403 bpf_put_reg32(dst, rd, ctx);
406 static void emit_alu_r64(const s8 *dst, const s8 *src,
411 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
508 bpf_put_reg64(dst, rd, ctx);
511 static void emit_alu_r32(const s8 *dst, const s8 *src,
516 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx);
561 bpf_put_reg32(dst, rd, ctx);
838 static int emit_load_r64(const s8 *dst, const s8 *src, s16 off,
843 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
871 bpf_put_reg64(dst, rd, ctx);
875 static int emit_store_r64(const s8 *dst, const s8 *src, s16 off,
881 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
946 static void emit_zext64(const s8 *dst, struct rv_jit_context *ctx)
951 rd = bpf_get_reg64(dst, tmp1, ctx);
953 bpf_put_reg64(dst, rd, ctx);
966 const s8 *dst = bpf2rv32[insn->dst_reg];
994 emit_alu_r64(dst, src, ctx, BPF_OP(code));
998 emit_alu_r64(dst, tmp2, ctx, BPF_OP(code));
1014 emit_alu_i64(dst, imm, ctx, BPF_OP(code));
1020 emit_zext64(dst, ctx);
1047 emit_alu_r32(dst, src, ctx, BPF_OP(code));
1063 emit_alu_i32(dst, imm, ctx, BPF_OP(code));
1071 emit_alu_r32(dst, tmp2, ctx, BPF_OP(code));
1076 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
1095 bpf_put_reg64(dst, rd, ctx);
1101 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
1129 bpf_put_reg64(dst, rd, ctx);
1221 emit_branch_r64(dst, src, rvoff, ctx, BPF_OP(code));
1223 emit_branch_r32(dst, src, rvoff, ctx, BPF_OP(code));
1239 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx);
1242 bpf_put_reg64(dst, rd, ctx);
1250 if (emit_load_r64(dst, src, off, ctx, BPF_SIZE(code)))
1273 if (emit_store_r64(dst, src, off, ctx, BPF_SIZE(code),