Lines Matching refs:instr
432 int call_undef_hook(struct pt_regs *regs, unsigned int instr) in call_undef_hook() argument
436 int (*fn)(struct pt_regs *regs, unsigned int instr) = NULL; in call_undef_hook()
440 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
445 return fn ? fn(regs, instr) : 1; in call_undef_hook()
450 unsigned int instr; in do_undefinstr() local
458 instr = __mem_to_opcode_thumb16(((u16 *)pc)[0]); in do_undefinstr()
459 if (is_wide_instruction(instr)) { in do_undefinstr()
462 instr = __opcode_thumb32_compose(instr, inst2); in do_undefinstr()
466 instr = __mem_to_opcode_arm(*(u32 *) pc); in do_undefinstr()
468 if (get_user(instr, (u16 __user *)pc)) in do_undefinstr()
470 instr = __mem_to_opcode_thumb16(instr); in do_undefinstr()
471 if (is_wide_instruction(instr)) { in do_undefinstr()
476 instr = __opcode_thumb32_compose(instr, instr2); in do_undefinstr()
479 if (get_user(instr, (u32 __user *)pc)) in do_undefinstr()
481 instr = __mem_to_opcode_arm(instr); in do_undefinstr()
484 if (call_undef_hook(regs, instr) == 0) in do_undefinstr()
698 static int get_tp_trap(struct pt_regs *regs, unsigned int instr) in get_tp_trap() argument
700 int reg = (instr >> 12) & 15; in get_tp_trap()
731 baddataabort(int code, unsigned long instr, struct pt_regs *regs) in baddataabort() argument
739 task_pid_nr(current), current->comm, code, instr); in baddataabort()
746 SIGILL, ILL_ILLOPC, (void __user *)addr, instr, 0); in baddataabort()