Home
last modified time | relevance | path

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

12345678

/arch/microblaze/kernel/
Dexceptions.c78 type, user_mode(regs) ? "user" : "kernel", fsr, in full_exception()
84 if (user_mode(regs)) { in full_exception()
93 if (user_mode(regs)) { in full_exception()
102 if (user_mode(regs)) { in full_exception()
111 if (user_mode(regs)) { in full_exception()
/arch/nds32/mm/
Dfault.c95 if (user_mode(regs)) in do_page_fault()
108 if (user_mode(regs)) in do_page_fault()
127 if (!user_mode(regs) && in do_page_fault()
139 if (!user_mode(regs) && in do_page_fault()
214 if (!user_mode(regs)) in do_page_fault()
270 if (user_mode(regs)) { in do_page_fault()
325 if (!user_mode(regs)) in do_page_fault()
334 if (!user_mode(regs)) in do_page_fault()
/arch/openrisc/mm/
Dfault.c78 !user_mode(regs)) in do_page_fault()
82 if (user_mode(regs)) { in do_page_fault()
119 if (user_mode(regs)) { in do_page_fault()
211 if (user_mode(regs)) { in do_page_fault()
265 if (!user_mode(regs)) in do_page_fault()
280 if (!user_mode(regs)) in do_page_fault()
/arch/nios2/mm/
Dfault.c67 if (user_mode(regs)) in do_page_fault()
83 if (user_mode(regs)) in do_page_fault()
87 if (!user_mode(regs) && !search_exception_tables(regs->ea)) in do_page_fault()
187 if (user_mode(regs)) { in do_page_fault()
222 if (!user_mode(regs)) in do_page_fault()
231 if (!user_mode(regs)) in do_page_fault()
/arch/alpha/mm/
Dfault.c117 if (user_mode(regs)) in do_page_fault()
192 if (user_mode(regs)) in do_page_fault()
215 if (!user_mode(regs)) in do_page_fault()
225 if (!user_mode(regs)) in do_page_fault()
235 if (user_mode(regs)) in do_page_fault()
/arch/riscv/mm/
Dfault.c66 if (user_mode(regs)) in do_page_fault()
173 if (user_mode(regs)) { in do_page_fault()
200 if (!user_mode(regs)) in do_page_fault()
208 if (!user_mode(regs)) in do_page_fault()
223 if (user_mode(regs)) in do_page_fault()
/arch/arc/mm/
Dfault.c77 if (address >= VMALLOC_START && !user_mode(regs)) { in do_page_fault()
98 if (user_mode(regs)) in do_page_fault()
141 if (!user_mode(regs)) in do_page_fault()
179 if (!user_mode(regs)) in do_page_fault()
/arch/x86/kernel/
Dtraps.c97 if (user_mode(regs)) { in ist_enter()
120 if (!user_mode(regs)) in ist_exit()
139 BUG_ON(!user_mode(regs)); in ist_begin_non_atomic()
206 } else if (!user_mode(regs)) { in do_trap_no_signal()
272 if (!user_mode(regs) && fixup_bug(regs, trapnr)) in do_error_trap()
441 if (!user_mode(regs)) in do_bounds()
527 if (user_mode(regs) && fixup_umip_exception(regs)) in do_general_protection()
538 if (!user_mode(regs)) { in do_general_protection()
656 BUG_ON(!user_mode(&new_stack->regs)); in fixup_bad_iret()
742 if (unlikely(!user_mode(regs) && (dr6 & DR_STEP) && in do_debug()
[all …]
/arch/xtensa/mm/
Dfault.c53 if (address >= TASK_SIZE && !user_mode(regs)) in do_page_fault()
74 if (user_mode(regs)) in do_page_fault()
157 if (user_mode(regs)) { in do_page_fault()
172 if (!user_mode(regs)) in do_page_fault()
188 if (!user_mode(regs)) in do_page_fault()
/arch/m68k/mm/
Dfault.c32 if (user_mode(regs)) { in send_fault_sig()
86 if (user_mode(regs)) in do_page_fault()
100 if (user_mode(regs)) { in do_page_fault()
189 if (!user_mode(regs)) in do_page_fault()
/arch/microblaze/mm/
Dfault.c122 if (user_mode(regs)) in do_page_fault()
269 if (user_mode(regs)) { in do_page_fault()
283 if (!user_mode(regs)) in do_page_fault()
291 if (user_mode(regs)) { in do_page_fault()
/arch/s390/kernel/
Dtraps.c47 if (user_mode(regs)) { in do_report_trap()
88 if (user_mode(regs)) { in default_trap_handler()
163 if (user_mode(regs)) { in illegal_op()
183 if (is_uprobe_insn || !user_mode(regs)) { in illegal_op()
242 if (user_mode(regs)) in space_switch_exception()
Dperf_regs.c19 if (!user_mode(regs)) in perf_reg_value()
66 if (user_mode(regs_user->regs)) in perf_get_regs_user()
Dperf_event.c59 if (user_mode(regs)) in is_in_guest()
97 flags = user_mode(regs) ? PERF_RECORD_MISC_GUEST_USER in perf_misc_flags_sf()
100 flags = user_mode(regs) ? PERF_RECORD_MISC_USER in perf_misc_flags_sf()
118 return user_mode(regs) ? PERF_RECORD_MISC_USER in perf_misc_flags()
/arch/nds32/kernel/
Dtraps.c179 if (!user_mode(regs) || in_interrupt()) { in die()
194 if (user_mode(regs)) in die_if_kernel()
276 if (user_mode(regs)) { in do_debug_trap()
290 if (!user_mode(regs)) in unhandled_interruption()
301 if (!user_mode(regs)) in unhandled_exceptions()
328 if (!user_mode(regs)) in do_revinsn()
346 if (user_mode(regs) && unalign_access_mode) { in do_dispatch_general()
/arch/mips/include/asm/
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()
/arch/arm64/mm/
Dfault.c395 if (user_mode(regs)) { in do_bad_area()
470 if (user_mode(regs)) in do_page_fault()
504 if (!user_mode(regs) && !search_exception_tables(regs->pc)) in do_page_fault()
515 if (!user_mode(regs) && !search_exception_tables(regs->pc)) { in do_page_fault()
533 if (!user_mode(regs)) in do_page_fault()
578 if (!user_mode(regs)) in do_page_fault()
747 if (!user_mode(regs)) { in do_mem_abort()
784 if (user_mode(regs)) { in do_sp_pc_abort()
841 if (user_mode(regs)) { in debug_exception_enter()
864 if (!user_mode(regs)) in debug_exception_exit()
[all …]
/arch/ia64/mm/
Dfault.c90 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) in ia64_do_page_fault()
100 if (user_mode(regs)) in ia64_do_page_fault()
228 if (user_mode(regs)) { in ia64_do_page_fault()
280 if (!user_mode(regs)) in ia64_do_page_fault()
/arch/hexagon/mm/
Dvm_fault.c55 if (user_mode(regs)) in do_page_fault()
118 if (!user_mode(regs)) in do_page_fault()
144 if (user_mode(regs)) { in do_page_fault()
/arch/openrisc/kernel/
Dtraps.c72 if (user_mode(regs)) in show_registers()
227 if (user_mode(regs)) in die_if_kernel()
254 if (user_mode(regs)) { in do_unaligned_access()
267 if (user_mode(regs)) { in do_bus_fault()
373 if (user_mode(regs)) { in simulate_lwa()
420 if (user_mode(regs)) { in simulate_swa()
462 if (user_mode(regs)) { in do_illegal_instruction()
/arch/sh/kernel/
Dtraps.c40 if (!user_mode(regs) || in_interrupt()) in die()
65 if (!user_mode(regs)) in die_if_kernel()
77 if (!user_mode(regs)) { in die_if_no_fixup()
Dtraps_64.c119 if (user_mode(regs)) { in generate_and_check_address()
180 if (user_mode(regs)) { in misaligned_load()
254 if (user_mode(regs)) { in misaligned_store()
326 if (user_mode(regs)) { in misaligned_fpu_load()
398 if (user_mode(regs)) { in misaligned_fpu_store()
465 error = read_opcode(regs->pc, &opcode, user_mode(regs)); in misaligned_fixup()
601 if (user_mode(regs)) in do_unhandled_exception()
705 if (!user_mode(regs)) { in do_reserved_inst()
721 if (!user_mode(regs)) in do_reserved_inst()
/arch/unicore32/mm/
Dfault.c136 if (user_mode(regs)) in do_bad_area()
217 if (user_mode(regs)) in do_pf()
228 if (!user_mode(regs) in do_pf()
241 if (!user_mode(regs) && in do_pf()
282 if (!user_mode(regs)) in do_pf()
345 if (user_mode(regs)) in do_ifault()
/arch/nios2/kernel/
Dtraps.c48 if (!user_mode(regs)) in _exception()
136 if (!user_mode(fp)) { in handle_unaligned_c()
179 cause, user_mode(regs) ? "user" : "kernel", addr); in unhandled_exception()
/arch/arm/mm/
Dfault.c175 if (user_mode(regs)) in do_bad_area()
263 if (user_mode(regs)) in do_page_fault()
274 if (!user_mode(regs) && !search_exception_tables(regs->ARM_pc)) in do_page_fault()
286 if (!user_mode(regs) && in do_page_fault()
299 if (!user_mode(regs)) in do_page_fault()
342 if (!user_mode(regs)) in do_page_fault()
417 if (user_mode(regs)) in do_translation_fault()

12345678