/arch/sh/kernel/cpu/sh2a/ |
H A D | opcode_helper.c | 37 unsigned int instruction_size(unsigned int insn) argument 40 switch ((insn & 0xf00f)) { 48 switch ((insn & 0xf08f)) {
|
/arch/arm/kernel/ |
H A D | patch.h | 4 void patch_text(void *addr, unsigned int insn); 5 void __patch_text_real(void *addr, unsigned int insn, bool remap); 7 static inline void __patch_text(void *addr, unsigned int insn) argument 9 __patch_text_real(addr, insn, true); 12 static inline void __patch_text_early(void *addr, unsigned int insn) argument 14 __patch_text_real(addr, insn, false);
|
H A D | jump_label.c | 4 #include "insn.h" 14 unsigned int insn; local 17 insn = arm_gen_branch(entry->code, entry->target); 19 insn = arm_gen_nop(); 22 __patch_text_early(addr, insn); 24 patch_text(addr, insn);
|
/arch/powerpc/xmon/ |
H A D | dis-asm.h | 15 extern int print_insn_powerpc(unsigned long insn, unsigned long memaddr); 16 extern int print_insn_spu(unsigned long insn, unsigned long memaddr); 18 static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr) argument 20 printf("%.8x", insn); 24 static inline int print_insn_spu(unsigned long insn, unsigned long memaddr) argument 26 printf("%.8x", insn);
|
H A D | ppc-dis.c | 31 print_insn_powerpc (unsigned long insn, unsigned long memaddr) argument 51 op = PPC_OP (insn); 72 if ((insn & opcode->mask) != opcode->opcode 84 (*operand->extract) (insn, dialect, &invalid); 111 value = (*operand->extract) (insn, dialect, &invalid); 114 value = (insn >> operand->shift) & ((1 << operand->bits) - 1); 192 printf(".long 0x%lx", insn);
|
H A D | spu-dis.c | 55 get_index_for_opcode (unsigned int insn) argument 58 unsigned int opcode = insn >> (32-11); 94 print_insn_spu (unsigned long insn, unsigned long memaddr) argument 101 index = get_index_for_opcode (insn); 105 printf(".long 0x%x", insn); 117 int fb = (insn >> (32-18)) & 0x7f; 138 DECODE_INSN_RT (insn)); 142 DECODE_INSN_RA (insn)); 146 DECODE_INSN_RB (insn)); 150 DECODE_INSN_RC (insn)); [all...] |
/arch/s390/lib/ |
H A D | probes.c | 10 int probe_is_prohibited_opcode(u16 *insn) argument 12 if (!is_known_insn((unsigned char *)insn)) 14 switch (insn[0] >> 8) { 23 switch (insn[0] & 0x0f) { 28 switch (insn[0]) { 44 int probe_get_fixup_type(u16 *insn) argument 49 switch (insn[0] >> 8) { 54 if ((insn[0] & 0x0f) == 0) 75 if ((insn[0] & 0xff) == 0xb2) 79 if ((insn[ 116 probe_is_insn_relative_long(u16 *insn) argument [all...] |
/arch/arm64/kernel/ |
H A D | jump_label.c | 21 #include <asm/insn.h> 29 u32 insn; local 32 insn = aarch64_insn_gen_branch_imm(entry->code, 36 insn = aarch64_insn_gen_nop(); 39 aarch64_insn_patch_text(&addr, &insn, 1);
|
/arch/sparc/kernel/ |
H A D | jump_label.c | 17 u32 *insn = (u32 *) (unsigned long) entry->code; local 35 *insn = val; 36 flushi(insn);
|
/arch/x86/um/ |
H A D | fault.c | 11 unsigned long insn; member in struct:exception_table_entry
|
/arch/mips/kernel/ |
H A D | jump_label.c | 44 union mips_instruction insn; local 55 insn.j_format.opcode = J_ISA_BIT ? mm_j32_op : j_op; 56 insn.j_format.target = e->target >> J_RANGE_SHIFT; 58 insn.word = 0; /* nop */ 64 insn_p->halfword[0] = insn.word >> 16; 65 insn_p->halfword[1] = insn.word; 67 *insn_p = insn;
|
/arch/mn10300/include/asm/ |
H A D | kprobes.h | 38 kprobe_opcode_t insn[MAX_INSN_SIZE]; member in struct:arch_specific_insn
|
/arch/arm/include/asm/ |
H A D | probes.h | 36 probes_opcode_t *insn; member in struct:arch_probes_insn
|
H A D | unwind.h | 34 unsigned long insn; member in struct:unwind_idx
|
H A D | uprobes.h | 31 u8 insn[MAX_UINSN_BYTES]; member in struct:arch_uprobe
|
/arch/mips/math-emu/ |
H A D | dsemul.c | 106 u32 insn, cookie; local 129 insn = (instr[0] << 16) | instr[1]; 131 err = __get_user(insn, &fr->badinst); 135 if (unlikely(err || (insn != BREAK_MATH) || (cookie != BD_COOKIE))) {
|
/arch/powerpc/include/asm/ |
H A D | code-patching.h | 54 u32 *insn = func; local 72 if ((((*insn & OP_RT_RA_MASK) == ADDIS_R2_R12) || 73 ((*insn & OP_RT_RA_MASK) == LIS_R2)) && 74 ((*(insn+1) & OP_RT_RA_MASK) == ADDI_R2_R2)) 75 return (unsigned long)(insn + 2);
|
H A D | uprobes.h | 35 #define UPROBE_SWBP_INSN_SIZE 4 /* swbp insn size in bytes */ 39 u32 insn; member in union:arch_uprobe::__anon2408
|
H A D | kprobes.h | 82 kprobe_opcode_t *insn; member in struct:arch_specific_insn
|
/arch/s390/include/asm/ |
H A D | uprobes.h | 22 uprobe_opcode_t insn[3]; member in union:arch_uprobe::__anon2549
|
/arch/s390/kernel/ |
H A D | jump_label.c | 15 struct insn { struct 28 struct insn insn; local 33 insn.opcode = 0xc0f4; 34 insn.offset = (entry->target - entry->code) >> 1; 37 insn.opcode = 0xc004; 38 insn.offset = 0; 41 rc = probe_kernel_write((void *)entry->code, &insn, JUMP_LABEL_NOP_SIZE);
|
/arch/x86/mm/kmemcheck/ |
H A D | selftest.c | 9 const uint8_t *insn; member in struct:selftest_opcode 42 kmemcheck_opcode_decode(op->insn, &size);
|
/arch/avr32/include/asm/ |
H A D | kprobes.h | 27 kprobe_opcode_t insn[MAX_INSN_SIZE]; member in struct:arch_specific_insn
|
/arch/metag/include/asm/ |
H A D | syscall.h | 25 unsigned long insn; local 32 if (get_user(insn, (unsigned long *)(regs->ctx.CurrPC - 4))) 35 if (insn == __METAG_SW_ENCODING(SYS))
|
/arch/sh/include/asm/ |
H A D | kprobes.h | 31 kprobe_opcode_t insn[MAX_INSN_SIZE]; member in struct:arch_specific_insn
|