Home
last modified time | relevance | path

Searched defs:dst_reg (Results 1 – 14 of 14) sorted by relevance

/linux/arch/x86/net/
H A Dbpf_jit_comp.c276 static u8 add_1reg(u8 byte, u32 dst_reg) in add_1reg()
282 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) in add_2reg()
910 u32 dst_reg, const u32 imm32) in emit_mov_imm32()
949 static void emit_mov_imm64(u8 **pprog, u32 dst_reg, in emit_mov_imm64()
975 static void emit_mov_reg(u8 **pprog, bool is64, u32 dst_reg, u32 src_reg) in emit_mov_reg()
992 static void emit_movsx_reg(u8 **pprog, int num_bits, bool is64, u32 dst_reg, in emit_movsx_reg()
1059 static void maybe_emit_mod(u8 **pprog, u32 dst_reg, u32 src_reg, bool is64) in maybe_emit_mod()
1085 static void emit_ldx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) in emit_ldx()
1115 static void emit_ldsx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) in emit_ldsx()
1137 static void emit_ldx_index(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, u32 index_reg, int off) in emit_ldx_index()
[all …]
H A Dbpf_jit_comp32.c189 static u8 add_1reg(u8 byte, u32 dst_reg) in add_1reg()
195 static u8 add_2reg(u8 byte, u32 dst_reg, u32 src_reg) in add_2reg()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c552 static int zero_extend(u32 *image, struct codegen_context *ctx, u32 src_reg, u32 dst_reg, u32 size) in zero_extend()
575 static int sign_extend(u32 *image, struct codegen_context *ctx, u32 src_reg, u32 dst_reg, u32 size) in sign_extend()
763 u32 dst_reg = bpf_to_ppc(insn->dst_reg); in bpf_jit_emit_atomic_ops() local
893 u32 dst_reg = bpf_to_ppc(insn.dst_reg); in emit_atomic_ld_st() local
970 u32 dst_reg = bpf_to_ppc(insn[i].dst_reg); in bpf_jit_build_body() local
H A Dbpf_jit_comp32.c335 u32 dst_reg = bpf_to_ppc(insn[i].dst_reg); in bpf_jit_build_body() local
H A Dbpf_jit_comp.c414 int dst_reg, u32 code) in bpf_add_extable_entry()
/linux/tools/testing/selftests/bpf/verifier/
H A Datomic_fetch.c95 #define __ATOMIC_FETCH_OP_TEST(src_reg, dst_reg, operand1, op, operand2, expect) \ argument
/linux/kernel/bpf/
H A Dverifier.c6292 static void add_scalar_to_reg(struct bpf_reg_state *dst_reg, s64 val) in add_scalar_to_reg()
13510 struct bpf_reg_state *dst_reg, in sanitize_ptr_alu()
13618 const struct bpf_reg_state *dst_reg) in sanitize_err()
13686 const struct bpf_reg_state *dst_reg) in sanitize_check_bounds()
13728 struct bpf_reg_state *regs = state->regs, *dst_reg; in adjust_ptr_min_max_vals() local
13947 static void scalar32_min_max_add(struct bpf_reg_state *dst_reg, in scalar32_min_max_add()
13978 static void scalar_min_max_add(struct bpf_reg_state *dst_reg, in scalar_min_max_add()
14009 static void scalar32_min_max_sub(struct bpf_reg_state *dst_reg, in scalar32_min_max_sub()
14041 static void scalar_min_max_sub(struct bpf_reg_state *dst_reg, in scalar_min_max_sub()
14073 static void scalar32_min_max_mul(struct bpf_reg_state *dst_reg, in scalar32_min_max_mul()
[all …]
/linux/arch/loongarch/net/
H A Dbpf_jit.c467 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup); in ex_handler_bpf() local
480 int dst_reg) in add_exception_handler()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c491 static void emit_percpu_ptr(const u8 dst_reg, void __percpu *ptr, in emit_percpu_ptr()
1092 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup); in ex_handler_bpf() local
1115 int dst_reg) in add_exception_handler()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c765 static int add_exception_handler(const struct bpf_insn *insn, int dst_reg, in add_exception_handler()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c1507 u8 dst_reg; wrp_mul() local
[all...]
/linux/net/core/
H A Dfilter.c314 static u32 convert_skb_access(int skb_field, int dst_reg, int src_reg, in convert_skb_access()
9657 static struct bpf_insn *bpf_convert_shinfo_access(__u8 dst_reg, __u8 skb_reg, in bpf_convert_shinfo_access()
/linux/include/uapi/linux/
H A Dbpf.h82 __u8 dst_reg:4; /* dest register */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h82 __u8 dst_reg:4; /* dest register */ member