/linux/arch/arm/net/ |
A D | bpf_jit_32.h | 170 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument 173 #define ARM_ADC_I(rd, rn, imm) _AL3_I(ARM_INST_ADC, rd, rn, imm) argument 177 #define ARM_AND_I(rd, rn, imm) _AL3_I(ARM_INST_AND, rd, rn, imm) argument 180 #define ARM_BIC_I(rd, rn, imm) _AL3_I(ARM_INST_BIC, rd, rn, imm) argument 187 #define ARM_CMP_I(rn, imm) _AL3_I(ARM_INST_CMP, 0, rn, imm) argument 190 #define ARM_EOR_I(rd, rn, imm) _AL3_I(ARM_INST_EOR, rd, rn, imm) argument 195 #define ARM_LDR_R_SI(rt, rn, rm, type, imm) \ argument 219 #define ARM_MOV_I(rd, imm) _AL3_I(ARM_INST_MOV, rd, 0, imm) argument 225 #define ARM_MOVW(rd, imm) \ argument 228 #define ARM_MOVT(rd, imm) \ argument [all …]
|
/linux/arch/arm/probes/kprobes/ |
A D | checkers-common.c | 34 int imm = insn & 0xff; in checker_stack_use_imm_0xx() local 47 int imm = insn & 0xff; in checker_stack_use_t32strd() local 56 int imm = ((insn & 0xf00) >> 4) + (insn & 0xf); in checker_stack_use_imm_x0x() local 66 int imm = insn & 0xfff; in checker_stack_use_imm_xxx() local
|
/linux/arch/mips/net/ |
A D | bpf_jit_comp.c | 192 void emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm) in emit_mov_i() 211 bool valid_alu_i(u8 op, s32 imm) in valid_alu_i() 243 bool rewrite_alu_i(u8 op, s32 imm, u8 *alu, s32 *val) in rewrite_alu_i() 294 void emit_alu_i(struct jit_context *ctx, u8 dst, s32 imm, u8 op) in emit_alu_i() 498 bool valid_jmp_i(u8 op, s32 imm) in valid_jmp_i() 601 void setup_jmp_i(struct jit_context *ctx, s32 imm, u8 width, in setup_jmp_i() 694 void emit_jmp_i(struct jit_context *ctx, u8 dst, s32 imm, s32 off, u8 op) in emit_jmp_i()
|
A D | bpf_jit_comp32.c | 174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mov_se_i64() 202 const u8 dst[], s32 imm, u8 op) in emit_alu_i64() 322 const u8 dst[], u32 imm, u8 op) in emit_shift_i64() 423 static void emit_mul_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mul_i64() 991 const u8 rs[], s64 imm) in emit_sltiu_r64() 1026 const u8 rs[], s64 imm) in emit_slti_r64() 1093 const u8 dst[], s32 imm, s32 off, u8 op) in emit_jmp_i64() 1464 s32 imm = insn->imm; in build_insn() local
|
A D | bpf_jit_comp64.c | 158 static void emit_alu_i64(struct jit_context *ctx, u8 dst, s32 imm, u8 op) in emit_alu_i64() 631 s32 imm = insn->imm; in build_insn() local
|
/linux/arch/riscv/net/ |
A D | bpf_jit.h | 262 u32 imm; in rv_j_insn() local 287 u32 imm; in rv_ci_insn() local 325 u32 imm; in rv_cb_insn() local 542 u32 imm; in rvc_addi4spn() local 579 u32 imm; in rvc_addi16sp() local 633 u32 imm; in rvc_lwsp() local 661 u32 imm; in rvc_swsp() local 788 u32 imm; in rvc_ldsp() local 796 u32 imm; in rvc_sdsp() local 845 static inline void emit_li(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_li() [all …]
|
A D | bpf_jit_comp32.c | 111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx) in emit_imm() 124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32() 243 static void emit_alu_i64(const s8 *dst, s32 imm, in emit_alu_i64() 327 static void emit_alu_i32(const s8 *dst, s32 imm, in emit_alu_i32() 964 s32 imm = insn->imm; in bpf_jit_emit_insn() local
|
/linux/arch/arm64/net/ |
A D | bpf_jit_comp.c | 177 static bool is_addsub_imm(u32 imm) in is_addsub_imm() 438 const s32 imm = insn->imm; in build_insn() local 448 #define check_imm(bits, imm) do { \ in build_insn() argument 456 #define check_imm19(imm) check_imm(19, imm) in build_insn() argument 457 #define check_imm26(imm) check_imm(26, imm) in build_insn() argument
|
A D | bpf_jit.h | 201 #define A64_LOGIC_IMM(sf, Rd, Rn, imm, type) ({ \ argument 207 #define A64_AND_I(sf, Rd, Rn, imm) A64_LOGIC_IMM(sf, Rd, Rn, imm, AND) argument 208 #define A64_ORR_I(sf, Rd, Rn, imm) A64_LOGIC_IMM(sf, Rd, Rn, imm, ORR) argument 209 #define A64_EOR_I(sf, Rd, Rn, imm) A64_LOGIC_IMM(sf, Rd, Rn, imm, EOR) argument 210 #define A64_ANDS_I(sf, Rd, Rn, imm) A64_LOGIC_IMM(sf, Rd, Rn, imm, AND_SETFLAGS) argument 212 #define A64_TST_I(sf, Rn, imm) A64_ANDS_I(sf, A64_ZR, Rn, imm) argument
|
/linux/arch/arm64/lib/ |
A D | insn.c | 198 u32 insn, u64 imm) in aarch64_insn_encode_immediate() 718 int imm, enum aarch64_insn_variant variant, in aarch64_insn_gen_add_sub_imm() 833 int imm, int shift, in aarch64_insn_gen_movewide() 1200 s32 imm; in aarch64_get_branch_offset() local 1301 static u32 aarch64_encode_immediate(u64 imm, in aarch64_encode_immediate() 1401 u64 imm) in aarch64_insn_gen_logical_immediate()
|
/linux/arch/riscv/kernel/probes/ |
A D | simulate-insn.c | 44 u32 imm; in simulate_jal() local 70 u32 imm = (opcode >> 20) & 0xfff; in simulate_jalr() local
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | jit.c | 1002 u64 imm, u8 size) in data_st_host_order() 1298 u64 imm = insn->imm; /* sign extend */ in wrp_alu64_imm() local 1403 u64 imm = insn->imm; /* sign extend */ in cmp_imm() local 1518 u32 imm = insn->imm; in wrp_mul() local 1861 u64 imm = meta->insn.imm; /* sign extend */ in mov_imm64() local 1916 u64 imm = insn->imm; /* sign extend */ in add_imm64() local 1941 u64 imm = insn->imm; /* sign extend */ in sub_imm64() local 2910 u64 imm = meta->insn.imm; /* sign extend */ in mem_st_data() local 3138 u64 imm = insn->imm; /* sign extend */ in jeq_imm() local 3180 u64 imm = insn->imm; /* sign extend */ in jset_imm() local [all …]
|
A D | verifier.c | 53 int imm; in nfp_record_adjust_head() local 315 u64 imm; in nfp_bpf_check_exit() local
|
/linux/arch/arm64/kernel/ |
A D | module.c | 160 u64 imm; in reloc_insn_movw() local 201 u64 imm, imm_mask; in reloc_insn_imm() local
|
/linux/arch/openrisc/kernel/ |
A D | traps.c | 342 long imm; in simulate_lwa() local 384 long imm; in simulate_swa() local
|
/linux/arch/s390/net/ |
A D | bpf_jit_comp.c | 180 #define EMIT4_IMM(op, b1, imm) \ argument 240 #define EMIT6_PCREL_RIEC(op1, op2, b1, imm, mask, target) \ argument 275 #define _EMIT6_IMM(op, imm) \ argument 281 #define EMIT6_IMM(op, b1, imm) \ argument 701 s32 imm = insn->imm; in bpf_jit_insn() local
|
/linux/arch/nds32/kernel/ |
A D | ftrace.c | 90 unsigned long imm = addr >> 12; in gen_sethi_insn() local 99 unsigned long imm = addr & 0x0000fff; in gen_ori_insn() local
|
/linux/arch/nds32/mm/ |
A D | alignment.c | 198 int imm, regular, load, len, addr_mode, idx_mode; in do_16() local 315 int imm, regular, load, len, sign_ext; in do_32() local
|
/linux/arch/ia64/kernel/ |
A D | unaligned.c | 171 unsigned long imm:7; /* [13:19] */ member 694 unsigned long imm; in emulate_load_updates() local 915 unsigned long imm; in emulate_store_int() local 1258 unsigned long imm; in emulate_store_float() local
|
/linux/kernel/bpf/ |
A D | disasm.c | 245 u64 imm = ((u64)(insn + 1)->imm << 32) | (u32)insn->imm; in print_bpf_insn() local
|
/linux/arch/microblaze/kernel/ |
A D | ftrace.c | 103 static unsigned int imm; /* saving whole imm instruction */ variable
|
/linux/arch/powerpc/lib/ |
A D | code-patching.c | 327 signed long imm; in branch_iform_target() local 343 signed long imm; in branch_bform_target() local
|
/linux/arch/sparc/net/ |
A D | bpf_jit_comp_64.c | 298 static void emit_alu_K(unsigned int opcode, unsigned int dst, unsigned int imm, in emit_alu_K() 317 static void emit_alu3_K(unsigned int opcode, unsigned int src, unsigned int imm, in emit_alu3_K() 636 const u8 dst, s32 imm, struct jit_ctx *ctx) in emit_cbcondi() 659 const s32 imm, bool is_imm, int branch_dst, in emit_compare_and_branch() 902 const s32 imm = insn->imm; in build_insn() local
|
/linux/arch/arm64/include/asm/ |
A D | debug-monitors.h | 91 u16 imm; member
|
/linux/drivers/scsi/csiostor/ |
A D | csio_scsi.c | 207 uint8_t imm = csio_hw_to_scsim(hw)->proto_cmd_len; in csio_scsi_init_cmd_wr() local 367 uint8_t imm = csio_hw_to_scsim(hw)->proto_cmd_len; in csio_scsi_init_read_wr() local 420 uint8_t imm = csio_hw_to_scsim(hw)->proto_cmd_len; in csio_scsi_init_write_wr() local 458 #define CSIO_SCSI_DATA_WRSZ(req, oper, sz, imm) \ argument
|