/linux/arch/openrisc/mm/ |
H A D | fault.c | 79 !user_mode(regs)) in do_page_fault() 83 if (user_mode(regs)) { in do_page_fault() 122 if (user_mode(regs)) { in do_page_fault() 169 if (!user_mode(regs)) in do_page_fault() 215 if (user_mode(regs)) { in do_page_fault() 262 if (!user_mode(regs)) in do_page_fault() 277 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/riscv/kernel/ |
H A D | traps.c | 44 if (!user_mode(regs)) in copy_code() 136 if (user_mode(regs)) { in do_trap_error() 152 if (user_mode(regs)) { \ 174 if (user_mode(regs)) { in do_trap_insn_illegal() 203 if (user_mode(regs)) { in do_trap_load_misaligned() 224 if (user_mode(regs)) { in do_trap_store_misaligned() 261 bool user = user_mode(regs); in probe_single_step_handler() 268 bool user = user_mode(regs); in probe_breakpoint_handler() 283 if (user_mode(regs)) in handle_break() 299 if (user_mode(regs)) { in do_trap_break() [all …]
|
/linux/arch/alpha/mm/ |
H A D | fault.c | 118 if (user_mode(regs)) in do_page_fault() 148 if (!user_mode(regs)) in do_page_fault() 188 if (user_mode(regs)) in do_page_fault() 211 if (!user_mode(regs)) in do_page_fault() 221 if (!user_mode(regs)) in do_page_fault() 231 if (user_mode(regs)) in do_page_fault()
|
/linux/arch/nios2/mm/ |
H A D | fault.c | 68 if (user_mode(regs)) in do_page_fault() 84 if (user_mode(regs)) in do_page_fault() 127 if (!user_mode(regs)) in do_page_fault() 170 if (user_mode(regs)) { in do_page_fault() 205 if (!user_mode(regs)) in do_page_fault() 214 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/microblaze/kernel/ |
H A D | exceptions.c | 76 type, user_mode(regs) ? "user" : "kernel", fsr, in full_exception() 82 if (user_mode(regs)) { in full_exception() 91 if (user_mode(regs)) { in full_exception() 100 if (user_mode(regs)) { in full_exception() 109 if (user_mode(regs)) { in full_exception()
|
/linux/arch/xtensa/mm/ |
H A D | fault.c | 105 if (address >= TASK_SIZE && !user_mode(regs)) { in do_page_fault() 128 if (user_mode(regs)) in do_page_fault() 162 if (!user_mode(regs)) in do_page_fault() 201 if (user_mode(regs)) { in do_page_fault() 214 if (!user_mode(regs)) in do_page_fault() 229 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/m68k/mm/ |
H A D | fault.c | 34 if (user_mode(regs)) { in send_fault_sig() 88 if (user_mode(regs)) in do_page_fault() 102 if (user_mode(regs)) { in do_page_fault() 145 if (!user_mode(regs)) in do_page_fault() 185 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/csky/mm/ |
H A D | fault.c | 82 if (!user_mode(regs)) { in mm_fault_error() 90 if (!user_mode(regs)) { in mm_fault_error() 107 if (user_mode(regs)) { in bad_area_nosemaphore() 124 if (user_mode(regs)) { in vmalloc_fault() 232 if (user_mode(regs)) in do_page_fault() 271 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/riscv/mm/ |
H A D | fault.c | 64 if (!user_mode(regs)) { in mm_fault_error() 96 if (user_mode(regs)) { in bad_area_nosemaphore() 124 if (user_mode(regs)) in vmalloc_fault() 271 if (user_mode(regs)) in handle_page_fault() 274 if (!user_mode(regs) && addr < TASK_SIZE && unlikely(!(regs->status & SR_SUM))) { in handle_page_fault() 315 if (!user_mode(regs)) in handle_page_fault() 354 if (!user_mode(regs)) in handle_page_fault()
|
/linux/arch/powerpc/mm/ |
H A D | fault.c | 61 if (!user_mode(regs)) in __bad_area_nosemaphore() 125 if (!user_mode(regs)) in bad_access_pkey() 142 if (!user_mode(regs)) in do_sigbus() 174 if (fatal_signal_pending(current) && !user_mode(regs)) in mm_fault_error() 183 if (!user_mode(regs)) in mm_fault_error() 420 int is_user = user_mode(regs); in ___do_page_fault() 511 return user_mode(regs) ? 0 : SIGBUS; in ___do_page_fault() 546 return user_mode(regs) ? 0 : SIGBUS; in ___do_page_fault() 680 if (user_mode(regs)) in DEFINE_INTERRUPT_HANDLER()
|
/linux/arch/x86/kernel/ |
H A D | traps.c | 150 } else if (!user_mode(regs)) { in do_trap_no_signal() 309 if (!user_mode(regs) && handle_bug(regs)) in DEFINE_IDTENTRY_RAW() 350 if (!user_mode(regs)) in DEFINE_IDTENTRY_ERRORCODE() 528 if (!user_mode(regs)) in DEFINE_IDTENTRY() 699 if (user_mode(regs) && try_fixup_enqcmd_gp()) in DEFINE_IDTENTRY_ERRORCODE() 705 if (user_mode(regs) && fixup_umip_exception(regs)) in DEFINE_IDTENTRY_ERRORCODE() 716 if (user_mode(regs)) { in DEFINE_IDTENTRY_ERRORCODE() 801 if (user_mode(regs)) { in DEFINE_IDTENTRY_RAW() 898 BUG_ON(!user_mode(new_stack)); in fixup_bad_iret() 1014 WARN_ON_ONCE(user_mode(regs)); in exc_debug_kernel() [all …]
|
/linux/arch/openrisc/kernel/ |
H A D | traps.c | 84 if (user_mode(regs)) in show_registers() 183 if (user_mode(regs)) { in do_fpe_trap() 215 if (user_mode(regs)) { in do_trap() 225 if (user_mode(regs)) { in do_unaligned_access() 237 if (user_mode(regs)) { in do_bus_fault() 342 if (user_mode(regs)) { in simulate_lwa() 389 if (user_mode(regs)) { in simulate_swa() 431 if (user_mode(regs)) { in do_illegal_instruction()
|
/linux/arch/s390/kernel/ |
H A D | traps.c | 56 if (user_mode(regs)) { in do_report_trap() 87 if (user_mode(regs)) { in default_trap_handler() 162 if (user_mode(regs)) { in illegal_op() 182 if (is_uprobe_insn || !user_mode(regs)) { in illegal_op() 241 if (user_mode(regs)) in space_switch_exception() 249 if (user_mode(regs)) in monitor_event_exception() 326 if (user_mode(regs)) { in __do_pgm_check() 341 if (user_mode(regs)) { in __do_pgm_check()
|
H A D | dumpstack.c | 146 if (user_mode(regs)) { in show_last_breaking_event() 159 mode = user_mode(regs) ? "User" : "Krnl"; in show_registers() 161 if (!user_mode(regs)) in show_registers() 184 if (!user_mode(regs)) in show_regs()
|
/linux/arch/microblaze/mm/ |
H A D | fault.c | 122 if (user_mode(regs)) in do_page_fault() 224 if (!user_mode(regs)) in do_page_fault() 272 if (user_mode(regs)) { in do_page_fault() 286 if (!user_mode(regs)) in do_page_fault() 294 if (user_mode(regs)) { in do_page_fault()
|
/linux/arch/hexagon/mm/ |
H A D | vm_fault.c | 56 if (user_mode(regs)) in do_page_fault() 87 if (!user_mode(regs)) in do_page_fault() 110 if (!user_mode(regs)) in do_page_fault() 137 if (user_mode(regs)) { in do_page_fault()
|
/linux/arch/parisc/kernel/ |
H A D | traps.c | 132 user = user_mode(regs); in show_regs() 220 if (user_mode(regs)) { in die_if_kernel() 286 if (unlikely(iir == PARISC_BUG_BREAK_INSN && !user_mode(regs))) { in handle_break() 300 if (unlikely(iir == PARISC_KPROBES_BREAK_INSN && !user_mode(regs))) { in handle_break() 304 if (unlikely(iir == PARISC_KPROBES_BREAK_INSN2 && !user_mode(regs))) { in handle_break() 312 iir == PARISC_KGDB_BREAK_INSN)) && !user_mode(regs)) { in handle_break() 319 if ((iir == SPINLOCK_BREAK_INSN) && !user_mode(regs)) { in handle_break() 621 if(user_mode(regs)){ in handle_interruption() 713 if (user_mode(regs)) { in handle_interruption() 734 if (code == 27 && !user_mode(regs) && in handle_interruption() [all …]
|
/linux/arch/s390/mm/ |
H A D | fault.c | 74 if (user_mode(regs)) in get_fault_type() 237 if (user_mode(regs)) { in handle_fault_error_nolock() 316 if (user_mode(regs)) in do_exception() 347 if (!user_mode(regs)) in do_exception() 382 if (!user_mode(regs)) in do_exception() 428 if (!user_mode(regs)) in do_exception() 433 if (!user_mode(regs)) in do_exception() 438 if (!user_mode(regs)) in do_exception() 465 if (user_mode(regs)) { in do_protection_exception() 514 if (user_mode(regs)) { in do_secure_storage_access()
|
/linux/arch/arc/mm/ |
H A D | fault.c | 89 if (address >= VMALLOC_START && !user_mode(regs)) { in do_page_fault() 110 if (user_mode(regs)) in do_page_fault() 139 if (!user_mode(regs)) in do_page_fault() 168 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/arm/mm/ |
H A D | fault.c | 222 if (user_mode(regs)) in do_bad_area() 248 if (user_mode(regs)) in ttbr0_usermode_access_allowed() 288 if (user_mode(regs)) in do_page_fault() 299 if (is_permission_fault(fsr) && !user_mode(regs)) in do_page_fault() 342 if (!user_mode(regs)) in do_page_fault() 374 if (!user_mode(regs)) in do_page_fault() 403 if (!user_mode(regs)) in do_page_fault() 477 if (user_mode(regs)) in do_translation_fault()
|
/linux/arch/mips/mm/ |
H A D | fault.c | 98 if (user_mode(regs)) in __do_page_fault() 153 if (!user_mode(regs)) in __do_page_fault() 196 if (user_mode(regs)) { in __do_page_fault() 245 if (!user_mode(regs)) in __do_page_fault() 254 if (!user_mode(regs)) in __do_page_fault()
|
/linux/arch/mips/include/asm/ |
H A D | ptrace.h | 142 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) macro 151 if (is_syscall_success(regs) || !user_mode(regs)) in regs_return_value() 169 if (unlikely(!user_mode(regs))) in die_if_kernel()
|
/linux/arch/parisc/mm/ |
H A D | fault.c | 286 if (user_mode(regs)) in do_page_fault() 321 if (!user_mode(regs)) { in do_page_fault() 366 if (user_mode(regs)) { in do_page_fault() 430 if (!user_mode(regs) && fixup_exception(regs)) { in do_page_fault() 438 if (!user_mode(regs)) { in do_page_fault()
|
/linux/arch/sh/kernel/ |
H A D | traps.c | 42 if (!user_mode(regs) || in_interrupt()) in die() 67 if (!user_mode(regs)) in die_if_kernel() 79 if (!user_mode(regs)) { in die_if_no_fixup()
|
/linux/arch/sh/mm/ |
H A D | fault.c | 248 if (user_mode(regs)) { in __bad_area_nosemaphore() 306 if (!user_mode(regs)) in do_sigbus() 321 if (!user_mode(regs)) in mm_fault_error() 335 if (!user_mode(regs)) { in mm_fault_error() 459 if (user_mode(regs)) in do_page_fault()
|