/arch/arm/probes/kprobes/ |
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
|
/arch/arm/net/ |
D | bpf_jit_32.h | 164 #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/ |
D | bpf_jit.c | 144 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/ |
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 806 static inline void emit_jalr(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_jalr() [all …]
|
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
|
/arch/x86/mm/ |
D | extable.c | 124 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/ |
D | simulate-insn.c | 44 u32 imm; in simulate_jal() local 70 u32 imm = (opcode >> 20) & 0xfff; in simulate_jalr() local
|
/arch/arm64/net/ |
D | bpf_jit_comp.c | 176 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
|
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
|
/arch/arm64/lib/ |
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()
|
/arch/arm64/kernel/ |
D | module.c | 161 u64 imm; in reloc_insn_movw() local 202 u64 imm, imm_mask; in reloc_insn_imm() local
|
/arch/openrisc/kernel/ |
D | traps.c | 342 long imm; in simulate_lwa() local 384 long imm; in simulate_swa() local
|
/arch/nds32/kernel/ |
D | ftrace.c | 95 unsigned long imm = addr >> 12; in gen_sethi_insn() local 104 unsigned long imm = addr & 0x0000fff; in gen_ori_insn() local
|
/arch/nds32/mm/ |
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
|
/arch/x86/include/asm/ |
D | extable_fixup_types.h | 21 #define EX_DATA_IMM(imm) ((imm) << EX_DATA_IMM_SHIFT) argument
|
/arch/microblaze/kernel/ |
D | ftrace.c | 103 static unsigned int imm; /* saving whole imm instruction */ variable
|
/arch/arm64/include/asm/ |
D | debug-monitors.h | 91 u16 imm; member
|
/arch/s390/net/ |
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
|
/arch/ia64/kernel/ |
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
|
D | patch.c | 223 u64 ip, mask, imm; in ia64_patch_phys_stack_reg() local
|
/arch/powerpc/lib/ |
D | code-patching.c | 327 signed long imm; in branch_iform_target() local 343 signed long imm; in branch_bform_target() local
|
/arch/powerpc/net/ |
D | bpf_jit_comp32.c | 291 s32 imm = insn[i].imm; in bpf_jit_build_body() local
|
D | bpf_jit_comp64.c | 315 s32 imm = insn[i].imm; in bpf_jit_build_body() local
|
/arch/csky/abiv1/ |
D | alignment.c | 219 uint32_t imm = 0; in csky_alignment() local
|
/arch/sparc/net/ |
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
|