Searched refs:TSTATE_PRIV (Results 1 – 14 of 14) sorted by relevance
/arch/sparc/mm/ |
D | fault_64.c | 184 if (regs->tstate & TSTATE_PRIV) { in get_fault_insn() 199 if ((!insn) && (regs->tstate & TSTATE_PRIV)) in do_kernel_fault() 228 if (regs->tstate & TSTATE_PRIV) { in do_kernel_fault() 285 if (!(regs->tstate & TSTATE_PRIV)) { in do_sparc64_fault() 295 if (regs->tstate & TSTATE_PRIV) { in do_sparc64_fault() 319 if ((regs->tstate & TSTATE_PRIV) && in do_sparc64_fault() 398 WARN_ON(regs->tstate & TSTATE_PRIV); in do_sparc64_fault() 503 if (!(regs->tstate & TSTATE_PRIV)) { in do_sparc64_fault() 524 if (regs->tstate & TSTATE_PRIV) in do_sparc64_fault()
|
/arch/sparc/kernel/ |
D | unaligned_64.c | 129 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()
|
D | traps_64.c | 102 if (regs->tstate & TSTATE_PRIV) { in bad_trap() 195 if (regs->tstate & TSTATE_PRIV) { in spitfire_insn_access_exception() 229 if (regs->tstate & TSTATE_PRIV) { in sun4v_insn_access_exception() 300 if (regs->tstate & TSTATE_PRIV) { in spitfire_data_access_exception() 349 if (regs->tstate & TSTATE_PRIV) { in sun4v_data_access_exception() 554 if (regs->tstate & TSTATE_PRIV) { in spitfire_ue_log() 1722 if ((regs->tstate & TSTATE_PRIV) == 0UL) { in cheetah_deferred_handler() 1955 if (!(regs->tstate & TSTATE_PRIV)) in sun4v_report_real_raddr() 2042 if (regs->tstate & TSTATE_PRIV) { in do_mcd_err() 2220 if (!(regs->tstate & TSTATE_PRIV) && in sun4v_nonresum_error() [all …]
|
D | process_64.c | 145 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow() 151 if (!(regs->tstate & TSTATE_PRIV)) { in show_regwindow() 173 if (regs->tstate & TSTATE_PRIV) in show_regwindow() 218 if (regs->tstate & TSTATE_PRIV) { in __global_reg_self() 290 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_cpumask_backtrace()
|
D | stacktrace.c | 46 if (!(regs->tstate & TSTATE_PRIV)) in __save_stack_trace()
|
D | etrap_64.S | 38 andcc %g1, TSTATE_PRIV, %g0 182 wrpr %l7, (TSTATE_PRIV | TSTATE_IE), %tstate 281 andcc %g1, TSTATE_PRIV, %g0
|
D | visemul.c | 160 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()
|
D | kgdb_64.c | 82 gdb_regs[GDB_STATE] = (TSTATE_PRIV | TSTATE_IE | cwp); in sleeping_thread_to_gdb_regs()
|
D | winfixup.S | 92 andcc %g1, TSTATE_PRIV, %g0
|
D | rtrap_64.S | 139 andcc %l1, TSTATE_PRIV, %l3
|
D | fpu_traps.S | 217 andcc %g3, TSTATE_PRIV, %g0
|
/arch/sparc/include/asm/ |
D | ptrace.h | 64 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
|
/arch/sparc/include/uapi/asm/ |
D | pstate.h | 72 #define TSTATE_PRIV _AC(0x0000000000000400,UL) /* Privilege. */ macro
|
/arch/sparc/math-emu/ |
D | math_64.c | 187 if (tstate & TSTATE_PRIV) in do_mathemu()
|