Home
last modified time | relevance | path

Searched refs:user_mode (Results 1 – 25 of 191) sorted by relevance

12345678

/linux/arch/nds32/mm/
A Dfault.c98 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 Dexceptions.c76 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 Dfault.c79 !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 Dfault.c68 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 Dfault.c52 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 Dtraps.c114 } 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 Dtraps.c52 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 Dperf_event.c38 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 Dfault.c82 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 Dfault.c151 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 Dfault.c118 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 Dtraps.c137 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 Dfault.c68 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 Dfault.c61 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 Dfault.c187 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 Dfault.c32 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 Dfault.c88 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 Dtraps.c66 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 Dfault.c122 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 Dfault.c97 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 Dvm_fault.c55 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 Dptrace.h141 #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 Dfault.c279 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 Ddebug-monitors.c211 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 Dfault.c80 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()

Completed in 58 milliseconds

12345678