Home
last modified time | relevance | path

Searched defs:opcode (Results 1 – 25 of 83) sorted by relevance

1234

/arch/arm/nwfpe/
Dfpopcode.h192 #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 …]
Dfpa11.c35 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()
Dfpa11_cprt.c23 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()
Dfpa11_cpdt.c212 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()
Dfpa11_cpdo.c18 unsigned int EmulateCPDO(const unsigned int opcode) in EmulateCPDO()
/arch/riscv/kernel/probes/
Dsimulate-insn.c36 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/csky/kernel/probes/
Dsimulate-insn.c69 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/
Dsimulate-insn.c52 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/
Dopal-call.c18 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
Dopal-tracepoints.c48 void __trace_opal_entry(unsigned long opcode, unsigned long *args) in __trace_opal_entry()
69 void __trace_opal_exit(long opcode, unsigned long retval) in __trace_opal_exit()
/arch/x86/lib/
Dinat.c13 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/include/asm/
Dtext-patching.h70 static __always_inline int text_opcode_size(u8 opcode) in text_opcode_size()
93 u8 opcode; member
99 void __text_gen_insn(void *buf, u8 opcode, const void *addr, const void *dest, int size) in __text_gen_insn()
129 void *text_gen_insn(u8 opcode, const void *addr, const void *dest) in text_gen_insn()
Diosf_mbi.h202 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/x86/mm/
Dpf_in.c103 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/
Dsie.h88 #define exit_code_ipa0(ipa0, opcode, mnemonic) \ argument
90 #define exit_code(opcode, mnemonic) \ argument
/arch/arm/kernel/
Dopcodes.c52 asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr) in arm_check_condition()
/arch/powerpc/xmon/
Dppc-dis.c83 const struct powerpc_opcode *opcode; in lookup_powerpc() local
121 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
Dspu-dis.c47 unsigned int opcode = insn >> (32-11); in get_index_for_opcode() local
/arch/arm/probes/
Ddecode-thumb.c843 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/
Dgen_opcode_table.c24 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/
Dasm-prototypes.h42 static inline long ucall_norets(unsigned long opcode, ...) in ucall_norets()
/arch/mips/kernel/
Dtraps.c522 static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode) in simulate_ll()
561 static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode) in simulate_sc()
609 static int simulate_llsc(struct pt_regs *regs, unsigned int opcode) in simulate_llsc()
664 static int simulate_rdhwr_normal(struct pt_regs *regs, unsigned int opcode) in simulate_rdhwr_normal()
678 static int simulate_rdhwr_mm(struct pt_regs *regs, unsigned int opcode) in simulate_rdhwr_mm()
691 static int simulate_sync(struct pt_regs *regs, unsigned int opcode) in simulate_sync()
716 unsigned int opcode) in simulate_loongson3_cpucfg()
816 static int simulate_fp(struct pt_regs *regs, unsigned int opcode, in simulate_fp()
953 static int simulate_fp(struct pt_regs *regs, unsigned int opcode, in simulate_fp()
1024 unsigned int opcode, bcode; in do_bp() local
[all …]
/arch/powerpc/platforms/pseries/
DhvCall_inst.c86 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/x86/kernel/
Dalternative.c126 static inline bool is_jmp(const u8 opcode) in is_jmp()
955 void __init_or_module text_poke_early(void *addr, const void *opcode, in text_poke_early()
1048 static void *__text_poke(void *addr, const void *opcode, size_t len) in __text_poke()
1168 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke()
1189 void *text_poke_kgdb(void *addr, const void *opcode, size_t len) in text_poke_kgdb()
1209 u8 opcode; member
1471 const void *opcode, size_t len, const void *emulate) in text_poke_loc_init()
1570 void __ref text_poke_queue(void *addr, const void *opcode, size_t len, const void *emulate) in text_poke_queue()
1596 void __ref text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate) in text_poke_bp()
/arch/nds32/kernel/
Dftrace.c94 unsigned long opcode = 0x46000000; in gen_sethi_insn() local
103 unsigned long opcode = 0x58000000; in gen_ori_insn() local
113 unsigned long opcode = 0x4a000001; in gen_jral_insn() local

1234