Home
last modified time | relevance | path

Searched defs:imm (Results 1 – 25 of 35) sorted by relevance

12

/arch/arm/probes/kprobes/
Dcheckers-common.c34 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
/arch/arm/net/
Dbpf_jit_32.h164 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument
170 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument
171 #define ARM_ADDS_I(rd, rn, imm) _AL3_I(ARM_INST_ADDS, 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
210 #define ARM_LSL_I(rd, rn, imm) (_AL3_I(ARM_INST_LSL, rd, 0, rn) | (imm) << 7) argument
[all …]
/arch/mips/net/
Dbpf_jit.c144 static inline bool is_range16(s32 imm) in is_range16()
161 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
187 static inline void emit_ori(unsigned int dst, unsigned src, u32 imm, in emit_ori()
199 int imm, struct jit_ctx *ctx) in emit_daddiu()
209 u32 imm, struct jit_ctx *ctx) in emit_addiu()
226 u32 imm, struct jit_ctx *ctx) in emit_andi()
243 static inline void emit_xori(ptr dst, ptr src, u32 imm, struct jit_ctx *ctx) in emit_xori()
317 unsigned int imm, struct jit_ctx *ctx) in emit_sltiu()
424 int imm, struct jit_ctx *ctx) in emit_load_ptr()
431 static inline void emit_load_func(unsigned int reg, ptr imm, in emit_load_func()
[all …]
/arch/riscv/net/
Dbpf_jit.h262 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
806 static inline void emit_jalr(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_jalr()
[all …]
Dbpf_jit_comp32.c111 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
/arch/x86/mm/
Dextable.c124 struct pt_regs *regs, int reg, int imm) in ex_handler_imm_reg()
141 int type, reg, imm; in fixup_exception() local
/arch/riscv/kernel/probes/
Dsimulate-insn.c44 u32 imm; in simulate_jal() local
70 u32 imm = (opcode >> 20) & 0xfff; in simulate_jalr() local
/arch/arm64/net/
Dbpf_jit_comp.c176 static bool is_addsub_imm(u32 imm) in is_addsub_imm()
435 const s32 imm = insn->imm; in build_insn() local
445 #define check_imm(bits, imm) do { \ in build_insn() argument
453 #define check_imm19(imm) check_imm(19, imm) in build_insn() argument
454 #define check_imm26(imm) check_imm(26, imm) in build_insn() argument
Dbpf_jit.h201 #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
/arch/arm64/lib/
Dinsn.c198 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()
/arch/arm64/kernel/
Dmodule.c161 u64 imm; in reloc_insn_movw() local
202 u64 imm, imm_mask; in reloc_insn_imm() local
/arch/openrisc/kernel/
Dtraps.c342 long imm; in simulate_lwa() local
384 long imm; in simulate_swa() local
/arch/nds32/kernel/
Dftrace.c95 unsigned long imm = addr >> 12; in gen_sethi_insn() local
104 unsigned long imm = addr & 0x0000fff; in gen_ori_insn() local
/arch/nds32/mm/
Dalignment.c198 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
/arch/x86/include/asm/
Dextable_fixup_types.h21 #define EX_DATA_IMM(imm) ((imm) << EX_DATA_IMM_SHIFT) argument
/arch/microblaze/kernel/
Dftrace.c103 static unsigned int imm; /* saving whole imm instruction */ variable
/arch/arm64/include/asm/
Ddebug-monitors.h91 u16 imm; member
/arch/s390/net/
Dbpf_jit_comp.c180 #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
/arch/ia64/kernel/
Dunaligned.c171 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
Dpatch.c223 u64 ip, mask, imm; in ia64_patch_phys_stack_reg() local
/arch/powerpc/lib/
Dcode-patching.c327 signed long imm; in branch_iform_target() local
343 signed long imm; in branch_bform_target() local
/arch/powerpc/net/
Dbpf_jit_comp32.c291 s32 imm = insn[i].imm; in bpf_jit_build_body() local
Dbpf_jit_comp64.c315 s32 imm = insn[i].imm; in bpf_jit_build_body() local
/arch/csky/abiv1/
Dalignment.c219 uint32_t imm = 0; in csky_alignment() local
/arch/sparc/net/
Dbpf_jit_comp_64.c298 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

12