/arch/riscv/kernel/probes/ |
D | simulate-insn.c | 36 bool __kprobes simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jal() 61 bool __kprobes simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jalr() 87 #define auipc_rd_idx(opcode) \ argument 90 #define auipc_imm(opcode) \ argument 94 #define auipc_offset(opcode) sign_extend64(auipc_imm(opcode), 31) argument 96 #define auipc_offset(opcode) auipc_imm(opcode) argument 101 bool __kprobes simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_auipc() 121 #define branch_rs1_idx(opcode) \ argument 124 #define branch_rs2_idx(opcode) \ argument 127 #define branch_funct3(opcode) \ argument [all …]
|
/arch/arm/nwfpe/ |
D | fpopcode.h | 192 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) argument 195 #define getOffset(opcode) (opcode & MASK_OFFSET) argument 198 #define TEST_OPCODE(opcode,mask) (((opcode) & (mask)) == (mask)) argument 200 #define LOAD_OP(opcode) TEST_OPCODE((opcode),MASK_CPDT | BIT_LOAD) argument 201 #define STORE_OP(opcode) ((opcode & (MASK_CPDT | BIT_LOAD)) == MASK_CPDT) argument 203 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 204 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 205 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 206 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 208 #define PREINDEXED(opcode) ((opcode & BIT_PREINDEX) != 0) argument [all …]
|
D | fpa11.c | 35 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() 53 int8 SetRoundingPrecision(const unsigned int opcode) in SetRoundingPrecision() 85 unsigned int EmulateAll(unsigned int opcode) in EmulateAll()
|
D | fpa11_cprt.c | 23 unsigned int EmulateCPRT(const unsigned int opcode) in EmulateCPRT() 57 unsigned int PerformFLT(const unsigned int opcode) in PerformFLT() 100 unsigned int PerformFIX(const unsigned int opcode) in PerformFIX() 142 static unsigned int PerformComparison(const unsigned int opcode) in PerformComparison()
|
D | fpa11_cpdt.c | 212 unsigned int PerformLDF(const unsigned int opcode) in PerformLDF() 255 unsigned int PerformSTF(const unsigned int opcode) in PerformSTF() 306 unsigned int PerformLFM(const unsigned int opcode) in PerformLFM() 342 unsigned int PerformSFM(const unsigned int opcode) in PerformSFM() 378 unsigned int EmulateCPDT(const unsigned int opcode) in EmulateCPDT()
|
D | fpa11_cpdo.c | 18 unsigned int EmulateCPDO(const unsigned int opcode) in EmulateCPDO()
|
/arch/csky/kernel/probes/ |
D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16() 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32() 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16() 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32() 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16() 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf32() 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp16() 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp32() 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr16() 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr32() [all …]
|
/arch/arm64/kernel/probes/ |
D | simulate-insn.c | 52 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz() 60 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz() 68 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz() 76 static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs) in check_tbnz() 88 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) in simulate_adr_adrp() 106 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_bl() 118 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_cond() 129 simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs) in simulate_br_blr_ret() 142 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) in simulate_cbz_cbnz() 157 simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs) in simulate_tbz_tbnz() [all …]
|
/arch/powerpc/platforms/powernv/ |
D | opal-call.c | 18 unsigned long opcode) in __trace_opal_entry() 42 static void __trace_opal_exit(unsigned long opcode, unsigned long retval) in __trace_opal_exit() 71 unsigned long opcode, unsigned long msr) in __opal_call_trace() 88 unsigned long opcode, unsigned long msr) in __opal_call_trace() 97 int64_t a4, int64_t a5, int64_t a6, int64_t a7, int64_t opcode) in opal_call() 126 #define OPAL_CALL(name, opcode) \ argument
|
D | opal-tracepoints.c | 47 void __trace_opal_entry(unsigned long opcode, unsigned long *args) in __trace_opal_entry() 68 void __trace_opal_exit(long opcode, unsigned long retval) in __trace_opal_exit()
|
/arch/x86/lib/ |
D | inat.c | 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute() 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute() 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute()
|
/arch/x86/mm/ |
D | pf_in.c | 103 static int get_opcode(unsigned char *addr, unsigned int *opcode) in get_opcode() 119 #define CHECK_OP_TYPE(opcode, array, type) \ argument 129 unsigned int opcode; in get_ins_type() local 150 unsigned int opcode; in get_ins_reg_width() local 173 unsigned int opcode; in get_ins_mem_width() local 396 unsigned int opcode; in get_ins_reg_val() local 450 unsigned int opcode; in get_ins_imm_val() local
|
/arch/s390/include/uapi/asm/ |
D | sie.h | 88 #define exit_code_ipa0(ipa0, opcode, mnemonic) \ argument 90 #define exit_code(opcode, mnemonic) \ argument
|
/arch/x86/include/asm/ |
D | text-patching.h | 73 static __always_inline int text_opcode_size(u8 opcode) in text_opcode_size() 96 u8 opcode; member 102 void __text_gen_insn(void *buf, u8 opcode, const void *addr, const void *dest, int size) in __text_gen_insn() 132 void *text_gen_insn(u8 opcode, const void *addr, const void *dest) in text_gen_insn()
|
D | iosf_mbi.h | 202 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr) in iosf_mbi_read() 209 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) in iosf_mbi_write() 216 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) in iosf_mbi_modify()
|
/arch/riscv/include/asm/ |
D | insn-def.h | 63 #define __INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 66 #define __INSN_I(opcode, func3, rd, rs1, simm12) \ argument 101 #define __INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 106 #define __INSN_I(opcode, func3, rd, rs1, simm12) \ argument 115 #define INSN_R(opcode, func3, func7, rd, rs1, rs2) \ argument 119 #define INSN_I(opcode, func3, rd, rs1, simm12) \ argument
|
/arch/arm/kernel/ |
D | opcodes.c | 52 asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr) in arm_check_condition()
|
/arch/powerpc/xmon/ |
D | ppc-dis.c | 83 const struct powerpc_opcode *opcode; in lookup_powerpc() local 121 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
|
D | spu-dis.c | 47 unsigned int opcode = insn >> (32-11); in get_index_for_opcode() local
|
/arch/arm/probes/ |
D | decode-thumb.c | 843 static void __kprobes thumb16_singlestep(probes_opcode_t opcode, in thumb16_singlestep() 852 static void __kprobes thumb32_singlestep(probes_opcode_t opcode, in thumb32_singlestep()
|
/arch/s390/tools/ |
D | gen_opcode_table.c | 24 char opcode[STRING_SIZE_MAX]; member 35 char opcode[2]; member 233 char *opcode; in print_opcode() local 273 char opcode[2] = ""; in print_opcode_table() local
|
/arch/powerpc/include/asm/ |
D | asm-prototypes.h | 27 static inline long ucall_norets(unsigned long opcode, ...) in ucall_norets()
|
/arch/mips/kernel/ |
D | traps.c | 528 static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode) in simulate_ll() 567 static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode) in simulate_sc() 615 static int simulate_llsc(struct pt_regs *regs, unsigned int opcode) in simulate_llsc() 670 static int simulate_rdhwr_normal(struct pt_regs *regs, unsigned int opcode) in simulate_rdhwr_normal() 684 static int simulate_rdhwr_mm(struct pt_regs *regs, unsigned int opcode) in simulate_rdhwr_mm() 697 static int simulate_sync(struct pt_regs *regs, unsigned int opcode) in simulate_sync() 722 unsigned int opcode) in simulate_loongson3_cpucfg() 822 static int simulate_fp(struct pt_regs *regs, unsigned int opcode, in simulate_fp() 959 static int simulate_fp(struct pt_regs *regs, unsigned int opcode, in simulate_fp() 1030 unsigned int opcode, bcode; in do_bp() local [all …]
|
/arch/powerpc/platforms/pseries/ |
D | hvCall_inst.c | 86 static void probe_hcall_entry(void *ignored, unsigned long opcode, unsigned long *args) in probe_hcall_entry() 98 static void probe_hcall_exit(void *ignored, unsigned long opcode, long retval, in probe_hcall_exit()
|
/arch/loongarch/include/asm/ |
D | inst.h | 250 unsigned int opcode : 17; member 256 unsigned int opcode : 6; member 262 unsigned int opcode : 7; member 269 unsigned int opcode : 6; member 275 unsigned int opcode : 22; member 282 unsigned int opcode : 17; member 289 unsigned int opcode : 16; member 296 unsigned int opcode : 10; member 303 unsigned int opcode : 8; member 310 unsigned int opcode : 6; member [all …]
|