/linux/arch/nds32/mm/ |
A D | fault.c | 98 if (user_mode(regs)) in do_page_fault() 111 if (user_mode(regs)) in do_page_fault() 132 if (!user_mode(regs) && in do_page_fault() 144 if (!user_mode(regs) && in do_page_fault() 219 if (!user_mode(regs)) in do_page_fault() 259 if (user_mode(regs)) { in do_page_fault() 310 if (!user_mode(regs)) in do_page_fault() 319 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/microblaze/kernel/ |
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/openrisc/mm/ |
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() 209 if (user_mode(regs)) { in do_page_fault() 261 if (!user_mode(regs)) in do_page_fault() 276 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/nios2/mm/ |
A D | fault.c | 68 if (user_mode(regs)) in do_page_fault() 84 if (user_mode(regs)) in do_page_fault() 90 if (!user_mode(regs) && !search_exception_tables(regs->ea)) in do_page_fault() 178 if (user_mode(regs)) { in do_page_fault() 213 if (!user_mode(regs)) in do_page_fault() 222 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/xtensa/mm/ |
A D | fault.c | 52 if (address >= TASK_SIZE && !user_mode(regs)) in do_page_fault() 73 if (user_mode(regs)) in do_page_fault() 116 if (!user_mode(regs)) in do_page_fault() 151 if (user_mode(regs)) { in do_page_fault() 166 if (!user_mode(regs)) in do_page_fault() 182 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/x86/kernel/ |
A D | traps.c | 114 } else if (!user_mode(regs)) { in do_trap_no_signal() 300 if (!user_mode(regs)) in DEFINE_IDTENTRY_ERRORCODE() 478 if (!user_mode(regs)) in DEFINE_IDTENTRY() 586 if (user_mode(regs)) { in DEFINE_IDTENTRY_ERRORCODE() 690 if (user_mode(regs)) { in DEFINE_IDTENTRY_RAW() 792 BUG_ON(!user_mode(&new_stack->regs)); in fixup_bad_iret() 904 WARN_ON_ONCE(user_mode(regs)); in exc_debug_kernel() 965 WARN_ON_ONCE(!user_mode(regs)); in exc_debug_user() 1047 if (user_mode(regs)) in DEFINE_IDTENTRY_RAW() 1069 if (!user_mode(regs)) { in math_error() [all …]
|
/linux/arch/s390/kernel/ |
A D | traps.c | 52 if (user_mode(regs)) { in do_report_trap() 85 if (user_mode(regs)) { in default_trap_handler() 160 if (user_mode(regs)) { in illegal_op() 180 if (is_uprobe_insn || !user_mode(regs)) { in illegal_op() 239 if (user_mode(regs)) in space_switch_exception() 249 if (user_mode(regs)) in monitor_event_exception() 311 if (user_mode(regs)) { in __do_pgm_check() 326 if (user_mode(regs)) { in __do_pgm_check()
|
A D | perf_event.c | 38 if (user_mode(regs)) in is_in_guest() 76 flags = user_mode(regs) ? PERF_RECORD_MISC_GUEST_USER in perf_misc_flags_sf() 79 flags = user_mode(regs) ? PERF_RECORD_MISC_USER in perf_misc_flags_sf() 97 return user_mode(regs) ? PERF_RECORD_MISC_USER in perf_misc_flags()
|
/linux/arch/csky/mm/ |
A D | fault.c | 82 if (!user_mode(regs)) { in mm_fault_error() 90 if (!user_mode(regs)) { in mm_fault_error() 108 if (user_mode(regs)) { in bad_area() 125 if (user_mode(regs)) { in vmalloc_fault() 233 if (user_mode(regs)) in do_page_fault() 283 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/x86/mm/ |
A D | fault.c | 151 if (user_mode(regs)) { in is_prefetch() 424 if (user_mode(regs)) in is_errata93() 532 if (address < PAGE_SIZE && !user_mode(regs)) in show_fault_oops() 641 if (user_mode(regs)) { in page_fault_oops() 716 WARN_ON_ONCE(user_mode(regs)); in kernelmode_fixup_or_oops() 805 if (!user_mode(regs)) { in __bad_area_nosemaphore() 938 if (!user_mode(regs)) { in do_sigbus() 1293 if (user_mode(regs)) { in do_user_addr_fault() 1404 if (!user_mode(regs)) in do_user_addr_fault() 1434 if (!user_mode(regs)) { in do_user_addr_fault() [all …]
|
/linux/arch/alpha/mm/ |
A D | fault.c | 118 if (user_mode(regs)) in do_page_fault() 190 if (user_mode(regs)) in do_page_fault() 213 if (!user_mode(regs)) in do_page_fault() 223 if (!user_mode(regs)) in do_page_fault() 233 if (user_mode(regs)) in do_page_fault()
|
/linux/arch/nds32/kernel/ |
A D | traps.c | 137 if (!user_mode(regs) || in_interrupt()) { in die() 151 if (user_mode(regs)) in die_if_kernel() 228 if (user_mode(regs)) { in do_debug_trap() 242 if (!user_mode(regs)) in unhandled_interruption() 253 if (!user_mode(regs)) in unhandled_exceptions() 280 if (!user_mode(regs)) in do_revinsn() 298 if (user_mode(regs) && unalign_access_mode) { in do_dispatch_general()
|
/linux/arch/riscv/mm/ |
A D | fault.c | 68 if (!user_mode(regs)) { in mm_fault_error() 76 if (!user_mode(regs)) { in mm_fault_error() 94 if (user_mode(regs)) { in bad_area() 113 if (user_mode(regs)) in vmalloc_fault() 270 if (user_mode(regs)) in do_page_fault() 273 if (!user_mode(regs) && addr < TASK_SIZE && in do_page_fault()
|
/linux/arch/powerpc/mm/ |
A D | fault.c | 61 if (!user_mode(regs)) in __bad_area_nosemaphore() 124 if (!user_mode(regs)) in bad_access_pkey() 140 if (!user_mode(regs)) in do_sigbus() 172 if (fatal_signal_pending(current) && !user_mode(regs)) in mm_fault_error() 181 if (!user_mode(regs)) in mm_fault_error() 393 int is_user = user_mode(regs); in ___do_page_fault() 512 return user_mode(regs) ? 0 : SIGBUS; in ___do_page_fault()
|
/linux/arch/arm/mm/ |
A D | fault.c | 187 if (user_mode(regs)) in do_bad_area() 261 if (user_mode(regs)) in do_page_fault() 272 if (is_permission_fault(fsr) && !user_mode(regs)) in do_page_fault() 285 if (!user_mode(regs) && !search_exception_tables(regs->ARM_pc)) in do_page_fault() 297 if (!user_mode(regs) && in do_page_fault() 310 if (!user_mode(regs)) in do_page_fault() 334 if (!user_mode(regs)) in do_page_fault() 410 if (user_mode(regs)) in do_translation_fault()
|
/linux/arch/m68k/mm/ |
A D | fault.c | 32 if (user_mode(regs)) { in send_fault_sig() 86 if (user_mode(regs)) in do_page_fault() 102 if (user_mode(regs)) { in do_page_fault() 179 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/arc/mm/ |
A D | fault.c | 88 if (address >= VMALLOC_START && !user_mode(regs)) { in do_page_fault() 109 if (user_mode(regs)) in do_page_fault() 144 if (!user_mode(regs)) in do_page_fault() 169 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/openrisc/kernel/ |
A D | traps.c | 66 if (user_mode(regs)) in show_registers() 221 if (user_mode(regs)) in die_if_kernel() 241 if (user_mode(regs)) { in do_unaligned_access() 254 if (user_mode(regs)) { in do_bus_fault() 360 if (user_mode(regs)) { in simulate_lwa() 407 if (user_mode(regs)) { in simulate_swa() 449 if (user_mode(regs)) { in do_illegal_instruction()
|
/linux/arch/microblaze/mm/ |
A D | fault.c | 122 if (user_mode(regs)) in do_page_fault() 266 if (user_mode(regs)) { in do_page_fault() 280 if (!user_mode(regs)) in do_page_fault() 288 if (user_mode(regs)) { in do_page_fault()
|
/linux/arch/mips/mm/ |
A D | fault.c | 97 if (user_mode(regs)) in __do_page_fault() 160 if (!user_mode(regs)) in __do_page_fault() 200 if (user_mode(regs)) { in __do_page_fault() 249 if (!user_mode(regs)) in __do_page_fault() 258 if (!user_mode(regs)) in __do_page_fault()
|
/linux/arch/hexagon/mm/ |
A D | vm_fault.c | 55 if (user_mode(regs)) in do_page_fault() 115 if (!user_mode(regs)) in do_page_fault() 141 if (user_mode(regs)) { in do_page_fault()
|
/linux/arch/mips/include/asm/ |
A D | ptrace.h | 141 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) macro 150 if (is_syscall_success(regs) || !user_mode(regs)) in regs_return_value() 166 if (unlikely(!user_mode(regs))) in die_if_kernel()
|
/linux/arch/parisc/mm/ |
A D | fault.c | 279 if (user_mode(regs)) in do_page_fault() 352 if (user_mode(regs)) { in do_page_fault() 415 if (!user_mode(regs) && fixup_exception(regs)) { in do_page_fault() 423 if (!user_mode(regs)) in do_page_fault()
|
/linux/arch/arm64/kernel/ |
A D | debug-monitors.c | 211 list = user_mode(regs) ? &user_step_hook : &kernel_step_hook; in call_step_hook() 231 if (WARN_ON(!user_mode(regs))) in send_user_sigtrap() 256 if (!handler_found && user_mode(regs)) { in single_step_handler() 308 list = user_mode(regs) ? &user_break_hook : &kernel_break_hook; in call_break_hook() 331 if (user_mode(regs)) { in brk_handler()
|
/linux/arch/s390/mm/ |
A D | fault.c | 80 if (user_mode(regs)) in get_fault_type() 296 if (user_mode(regs)) { in do_fault_error() 309 if (!user_mode(regs)) in do_fault_error() 314 if (!user_mode(regs)) in do_fault_error() 320 if (!user_mode(regs)) in do_fault_error() 326 if (!user_mode(regs)) in do_fault_error() 396 if (user_mode(regs)) in do_exception() 789 if (user_mode(regs)) { in do_secure_storage_access()
|