Home
last modified time | relevance | path

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

12345678

/linux/arch/openrisc/mm/
H 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()
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 Dtraps.c44 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 Dfault.c118 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 Dfault.c68 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 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/xtensa/mm/
H A Dfault.c105 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 Dfault.c34 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 Dfault.c82 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 Dfault.c64 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 Dfault.c61 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 Dtraps.c150 } 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 Dtraps.c84 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 Dtraps.c56 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 Ddumpstack.c146 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 Dfault.c122 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 Dvm_fault.c56 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 Dtraps.c132 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 Dfault.c74 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 Dfault.c89 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 Dfault.c222 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 Dfault.c98 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 Dptrace.h142 #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 Dfault.c286 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 Dtraps.c42 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 Dfault.c248 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()

12345678