Home
last modified time | relevance | path

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

/linux/arch/sparc/mm/
A Dfault_64.c187 if (regs->tstate & TSTATE_PRIV) { in get_fault_insn()
202 if ((!insn) && (regs->tstate & TSTATE_PRIV)) in do_kernel_fault()
231 if (regs->tstate & TSTATE_PRIV) { in do_kernel_fault()
288 if (!(regs->tstate & TSTATE_PRIV)) { in do_sparc64_fault()
298 if (regs->tstate & TSTATE_PRIV) { in do_sparc64_fault()
322 if ((regs->tstate & TSTATE_PRIV) && in do_sparc64_fault()
401 WARN_ON(regs->tstate & TSTATE_PRIV); in do_sparc64_fault()
496 if (!(regs->tstate & TSTATE_PRIV)) { in do_sparc64_fault()
517 if (regs->tstate & TSTATE_PRIV) in do_sparc64_fault()
/linux/arch/sparc/kernel/
A Dunaligned_64.c129 if (regs->tstate & TSTATE_PRIV) { in fetch_reg()
154 if (regs->tstate & TSTATE_PRIV) { in fetch_reg_addr()
172 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in compute_effective_address()
398 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in handle_popc()
573 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; in handle_ld_nf()
607 if (tstate & TSTATE_PRIV) in handle_lddfmna()
671 if (tstate & TSTATE_PRIV) in handle_stdfmna()
A Dtraps_64.c102 if (regs->tstate & TSTATE_PRIV) { in bad_trap()
195 if (regs->tstate & TSTATE_PRIV) { in spitfire_insn_access_exception()
228 if (regs->tstate & TSTATE_PRIV) { in sun4v_insn_access_exception()
298 if (regs->tstate & TSTATE_PRIV) { in spitfire_data_access_exception()
347 if (regs->tstate & TSTATE_PRIV) { in sun4v_data_access_exception()
552 if (regs->tstate & TSTATE_PRIV) { in spitfire_ue_log()
2040 if (regs->tstate & TSTATE_PRIV) { in do_mcd_err()
2389 if (regs->tstate & TSTATE_PRIV) in do_tof()
2408 if (regs->tstate & TSTATE_PRIV) in do_div0()
2562 if (regs->tstate & TSTATE_PRIV) in die_if_kernel()
[all …]
A Dprocess_64.c141 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow()
147 if (!(regs->tstate & TSTATE_PRIV)) { in show_regwindow()
169 if (regs->tstate & TSTATE_PRIV) in show_regwindow()
214 if (regs->tstate & TSTATE_PRIV) { in __global_reg_self()
286 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_cpumask_backtrace()
A Detrap_64.S38 andcc %g1, TSTATE_PRIV, %g0
182 wrpr %l7, (TSTATE_PRIV | TSTATE_IE), %tstate
281 andcc %g1, TSTATE_PRIV, %g0
A Dvisemul.c160 if (regs->tstate & TSTATE_PRIV) { in fetch_reg()
182 BUG_ON(regs->tstate & TSTATE_PRIV); in __fetch_reg_addr_user()
199 BUG_ON(regs->tstate & TSTATE_PRIV); in __fetch_reg_addr_kern()
809 BUG_ON(regs->tstate & TSTATE_PRIV); in vis_emul()
A Dstacktrace.c46 if (!(regs->tstate & TSTATE_PRIV)) in __save_stack_trace()
A Dkgdb_64.c82 gdb_regs[GDB_STATE] = (TSTATE_PRIV | TSTATE_IE | cwp); in sleeping_thread_to_gdb_regs()
A Dwinfixup.S92 andcc %g1, TSTATE_PRIV, %g0
A Drtrap_64.S139 andcc %l1, TSTATE_PRIV, %l3
A Dfpu_traps.S217 andcc %g3, TSTATE_PRIV, %g0
/linux/arch/sparc/include/asm/
A Dptrace.h64 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
/linux/arch/sparc/include/uapi/asm/
A Dpstate.h72 #define TSTATE_PRIV _AC(0x0000000000000400,UL) /* Privilege. */ macro
/linux/arch/sparc/math-emu/
A Dmath_64.c187 if (tstate & TSTATE_PRIV) in do_mathemu()

Completed in 33 milliseconds