Home
last modified time | relevance | path

Searched refs:TSTATE_PRIV (Results 1 – 14 of 14) sorted by relevance

/arch/sparc/mm/
Dfault_64.c164 if (regs->tstate & TSTATE_PRIV) { in get_fault_insn()
178 if ((!insn) && (regs->tstate & TSTATE_PRIV)) in do_kernel_fault()
207 if (regs->tstate & TSTATE_PRIV) { in do_kernel_fault()
273 if (!(regs->tstate & TSTATE_PRIV)) { in do_sparc64_fault()
285 if (regs->tstate & TSTATE_PRIV) { in do_sparc64_fault()
306 if ((regs->tstate & TSTATE_PRIV) && in do_sparc64_fault()
379 BUG_ON(regs->tstate & TSTATE_PRIV); in do_sparc64_fault()
451 if (!(regs->tstate & TSTATE_PRIV)) in do_sparc64_fault()
470 if (regs->tstate & TSTATE_PRIV) in do_sparc64_fault()
/arch/sparc/kernel/
Dunaligned_64.c126 if (regs->tstate & TSTATE_PRIV) { in fetch_reg()
146 if (regs->tstate & TSTATE_PRIV) { in fetch_reg_addr()
166 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in compute_effective_address()
400 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in handle_popc()
566 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in handle_ld_nf()
597 if (tstate & TSTATE_PRIV) in handle_lddfmna()
658 if (tstate & TSTATE_PRIV) in handle_stdfmna()
Dstacktrace.c36 if (!(regs->tstate & TSTATE_PRIV)) in __save_stack_trace()
Dprocess_64.c154 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow()
160 if (!(regs->tstate & TSTATE_PRIV)) { in show_regwindow()
182 if (regs->tstate & TSTATE_PRIV) in show_regwindow()
220 if (regs->tstate & TSTATE_PRIV) { in __global_reg_self()
286 if (gp->tstate & TSTATE_PRIV) { in __trigger_all_cpu_backtrace()
574 kernel_thread = (regs->tstate & TSTATE_PRIV) ? 1 : 0; in copy_thread()
Dtraps_64.c95 if (regs->tstate & TSTATE_PRIV) { in bad_trap()
192 if (regs->tstate & TSTATE_PRIV) { in spitfire_insn_access_exception()
229 if (regs->tstate & TSTATE_PRIV) { in sun4v_insn_access_exception()
266 if (regs->tstate & TSTATE_PRIV) { in spitfire_data_access_exception()
316 if (regs->tstate & TSTATE_PRIV) { in sun4v_data_access_exception()
506 if (regs->tstate & TSTATE_PRIV) { in spitfire_ue_log()
1679 if ((regs->tstate & TSTATE_PRIV) == 0UL) { in cheetah_deferred_handler()
2014 if (regs->tstate & TSTATE_PRIV) { in do_fpe_common()
2085 if (regs->tstate & TSTATE_PRIV) in do_tof()
2107 if (regs->tstate & TSTATE_PRIV) in do_div0()
[all …]
Detrap_64.S37 andcc %g1, TSTATE_PRIV, %g0
136 wrpr %l7, (TSTATE_PRIV | TSTATE_IE), %tstate
233 andcc %g1, TSTATE_PRIV, %g0
Dvisemul.c155 if (regs->tstate & TSTATE_PRIV) { in fetch_reg()
175 BUG_ON(regs->tstate & TSTATE_PRIV); in __fetch_reg_addr_user()
192 BUG_ON(regs->tstate & TSTATE_PRIV); in __fetch_reg_addr_kern()
802 BUG_ON(regs->tstate & TSTATE_PRIV); in vis_emul()
Dkgdb_64.c76 gdb_regs[GDB_STATE] = (TSTATE_PRIV | TSTATE_IE | cwp); in sleeping_thread_to_gdb_regs()
Dwinfixup.S90 andcc %g1, TSTATE_PRIV, %g0
Dfpu_traps.S217 andcc %g3, TSTATE_PRIV, %g0
Drtrap_64.S178 andcc %l1, TSTATE_PRIV, %l3
/arch/sparc/include/asm/
Dpstate.h61 #define TSTATE_PRIV _AC(0x0000000000000400,UL) /* Privilege. */ macro
Dptrace.h206 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
/arch/sparc/math-emu/
Dmath_64.c184 if (tstate & TSTATE_PRIV) in do_mathemu()