/arch/m32r/kernel/ |
H A D | traps.c | 285 unsigned long insn; local 296 if (copy_from_user(&insn, (void *)regs->bpc, 4)) { 300 tmp = handle_unaligned_access(insn, regs); 312 if (copy_from_user(&insn, (void *)regs->bpc, 4)) { 314 die("insn faulting in do_address_error", regs, 0); 316 handle_unaligned_access(insn, regs);
|
/arch/m68k/include/asm/ |
H A D | uaccess_mm.h | 54 unsigned long insn, fixup; member in struct:exception_table_entry
|
H A D | uaccess_no.h | 44 unsigned long insn, fixup; member in struct:exception_table_entry
|
/arch/mips/dec/ |
H A D | kn01-berr.c | 81 union mips_instruction insn; local 104 __get_user(insn.word, pc); 105 vaddr = regs->regs[insn.i_format.rs] + 106 insn.i_format.simmediate;
|
/arch/sh/include/asm/ |
H A D | uaccess.h | 184 unsigned long insn, fixup; member in struct:exception_table_entry
|
/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 180 unsigned short insn = *(unsigned short *)regs->pc; local 184 (insn >> 12) & 0xf, 185 (insn >> 8) & 0xf, 186 (insn >> 4) & 0xf, 187 insn & 0xf 195 nextpc = regs->pc + 4 + ((short)((insn & 0xfff) << 4) >> 3); 200 nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1); 209 nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1); 221 } else if (insn == 0x000b) { 226 nextpc = regs->pc + instruction_size(insn); [all...] |
/arch/sparc/include/asm/ |
H A D | processor_32.h | 42 unsigned long insn; member in struct:fpq
|
/arch/sparc/mm/ |
H A D | fault_32.c | 62 unsigned int insn; local 74 insn = *((unsigned int *) pc); 75 if ((insn >> 21) & 1) 82 insn = *((unsigned int *) pc); 83 if (!((insn >> 21) & 1) || ((insn>>19)&0x3f) == 15) 146 unsigned int insn; local 152 insn = *(unsigned int *) regs->pc; 154 __get_user(insn, (unsigned int *) regs->pc); 156 return safe_compute_effective_address(regs, insn); [all...] |
H A D | fault_64.c | 99 u32 insn = 0; local 124 : "=r" (insn) 137 : "=r" (insn) 145 return insn; 170 unsigned long fault_addr, unsigned int insn, 186 if (insn) 187 addr = compute_effective_address(regs, insn, 0); 200 static unsigned int get_fault_insn(struct pt_regs *regs, unsigned int insn) argument 202 if (!insn) { 206 insn 169 do_fault_siginfo(int code, int sig, struct pt_regs *regs, unsigned long fault_addr, unsigned int insn, int fault_code) argument 214 do_kernel_fault(struct pt_regs *regs, int si_code, int fault_code, unsigned int insn, unsigned long address) argument 287 unsigned int insn = 0; local [all...] |
/arch/x86/include/asm/ |
H A D | kprobes.h | 27 #include <asm/insn.h> 69 kprobe_opcode_t *insn; member in struct:arch_specific_insn 74 * added a relative jump after the instruction copy in insn, 86 kprobe_opcode_t *insn; member in struct:arch_optimized_insn
|
/arch/x86/lib/ |
H A D | insn.c | 27 #include <asm/insn.h> 30 #define validate_next(t, insn, n) \ 31 ((insn)->next_byte + sizeof(t) + n - (insn)->kaddr <= MAX_INSN_SIZE) 33 #define __get_next(t, insn) \ 34 ({ t r = *(t*)insn->next_byte; insn->next_byte += sizeof(t); r; }) 36 #define __peek_nbyte_next(t, insn, n) \ 37 ({ t r = *(t*)((insn)->next_byte + n); r; }) 39 #define get_next(t, insn) \ 53 insn_init(struct insn *insn, const void *kaddr, int x86_64) argument 74 insn_get_prefixes(struct insn *insn) argument 189 insn_get_opcode(struct insn *insn) argument 240 insn_get_modrm(struct insn *insn) argument 278 insn_rip_relative(struct insn *insn) argument 300 insn_get_sib(struct insn *insn) argument 331 insn_get_displacement(struct insn *insn) argument 387 __get_moffset(struct insn *insn) argument 416 __get_immv32(struct insn *insn) argument 439 __get_immv(struct insn *insn) argument 467 __get_immptr(struct insn *insn) argument 502 insn_get_immediate(struct insn *insn) argument 572 insn_get_length(struct insn *insn) argument [all...] |
/arch/x86/tools/ |
H A D | insn_sanity.c | 34 #include <asm/insn.h> 36 #include <insn.c> 80 static void dump_insn(FILE *fp, struct insn *insn) argument 83 dump_field(fp, "prefixes", "\t", &insn->prefixes); 84 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); 85 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); 86 dump_field(fp, "opcode", "\t", &insn->opcode); 87 dump_field(fp, "modrm", "\t", &insn->modrm); 88 dump_field(fp, "sib", "\t", &insn 98 dump_stream(FILE *fp, const char *msg, unsigned long nr_iter, unsigned char *insn_buf, struct insn *insn) argument 238 struct insn insn; local [all...] |
H A D | test_get_len.c | 27 #include <asm/insn.h> 29 #include <insn.c> 70 static void dump_insn(FILE *fp, struct insn *insn) argument 73 dump_field(fp, "prefixes", "\t", &insn->prefixes); 74 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); 75 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); 76 dump_field(fp, "opcode", "\t", &insn->opcode); 77 dump_field(fp, "modrm", "\t", &insn->modrm); 78 dump_field(fp, "sib", "\t", &insn 115 struct insn insn; local [all...] |
/arch/alpha/include/asm/ |
H A D | uaccess.h | 446 * - insn is a 32-bit pc-relative offset from the faulting insn. 465 signed int insn; member in struct:exception_table_entry
|
/arch/alpha/kernel/ |
H A D | ptrace.c | 178 unsigned int insn, op_code; local 182 res = read_int(child, pc, (int *) &insn); 186 op_code = insn >> 26; 196 displ = ((s32)(insn << 11)) >> 9; 203 reg_b = (insn >> 16) & 0x1f; 208 DBG(DBG_BPT, ("execing normal insn\n")); 214 (int *) &insn); 217 task_thread_info(child)->bpt_insn[i] = insn;
|
/arch/alpha/math-emu/ |
H A D | math.c | 106 __u32 insn; local 109 get_user(insn, (__u32 __user *)pc); 110 fc = (insn >> 0) & 0x1f; /* destination register */ 111 fb = (insn >> 16) & 0x1f; 112 fa = (insn >> 21) & 0x1f; 113 func = (insn >> 5) & 0xf; 114 src = (insn >> 9) & 0x3; 115 mode = (insn >> 11) & 0x3; 220 if (insn & 0x2000) { 331 printk(KERN_ERR "alpha_fp_emul: Invalid FP insn 340 unsigned long insn, opcode, rc, si_code = 0; local [all...] |
/arch/arm/include/asm/ |
H A D | uaccess.h | 47 unsigned long insn, fixup; member in struct:exception_table_entry
|
/arch/arm/kernel/ |
H A D | kprobes.c | 57 kprobe_opcode_t insn; local 71 insn = __mem_to_opcode_thumb16(((u16 *)addr)[0]); 72 if (is_wide_instruction(insn)) { 74 insn = __opcode_thumb32_compose(insn, inst2); 85 insn = __mem_to_opcode_arm(*p->addr); 90 p->opcode = insn; 91 p->ainsn.insn = tmp_insn; 93 switch ((*decode_insn)(insn, &p->ainsn, true, actions)) { 98 p->ainsn.insn 131 kprobe_opcode_t insn = p->opcode; local [all...] |
H A D | probes.c | 199 prepare_emulated_insn(probes_opcode_t insn, struct arch_probes_insn *asi, argument 204 u16 *thumb_insn = (u16 *)asi->insn; 208 return insn; 210 asi->insn[1] = __opcode_to_mem_arm(0xe12fff1e); /* ARM bx lr */ 212 asi->insn[1] = __opcode_to_mem_arm(0xe1a0f00e); /* mov pc, lr */ 215 if (insn < 0xe0000000) 216 insn = (insn | 0xe0000000) & ~0x10000000; 217 return insn; 225 set_emulated_insn(probes_opcode_t insn, struc argument 263 probes_opcode_t insn = *pinsn; local 389 probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, const union decode_item *table, bool thumb, bool emulate, const union decode_action *actions) argument [all...] |
H A D | unwind.c | 70 const unsigned long *insn; /* pointer to the current instructions word */ member in struct:unwind_ctrl_block 232 ret = (*ctrl->insn >> (ctrl->byte * 8)) & 0xff; 235 ctrl->insn++; 278 unsigned long insn) 284 for (reg = 4; reg <= 4 + (insn & 7); reg++) 288 if (insn & 0x8) 321 unsigned long insn = unwind_get_byte(ctrl); local 324 pr_debug("%s: insn = %08lx\n", __func__, insn); 326 if ((insn 277 unwind_exec_pop_r4_to_rN(struct unwind_ctrl_block *ctrl, unsigned long insn) argument [all...] |
H A D | uprobes.c | 26 bool is_swbp_insn(uprobe_opcode_t *insn) argument 28 return (__mem_to_opcode_arm(*insn) & 0x0fffffff) == 56 opcode = __mem_to_opcode_arm(*(unsigned int *) auprobe->insn); 78 unsigned int insn; local 86 insn = __mem_to_opcode_arm(*(unsigned int *)auprobe->insn); 87 auprobe->ixol[0] = __opcode_to_mem_arm(insn); 90 ret = arm_probes_decode_insn(insn, &auprobe->asi, false, 106 if (insn >= 0xe0000000) 109 bpinsn |= insn [all...] |
/arch/arm/kvm/ |
H A D | emulate.c | 171 unsigned long cpsr, cond, insn; local 199 /* The cond for this insn works out as the top 4 bits. */ 204 insn = cond << 28; 205 return arm_check_condition(insn, cpsr) != ARM_OPCODE_CONDTEST_FAIL;
|
/arch/blackfin/include/asm/ |
H A D | uaccess.h | 63 unsigned long insn, fixup; member in struct:exception_table_entry
|
/arch/cris/include/asm/ |
H A D | uaccess.h | 74 unsigned long insn, fixup; member in struct:exception_table_entry
|
/arch/ia64/include/asm/ |
H A D | kprobes.h | 109 kprobe_opcode_t *insn; member in struct:arch_specific_insn
|