Searched refs:TSTATE_PRIV (Results 1 – 14 of 14) sorted by relevance
/arch/sparc/mm/ |
D | fault_64.c | 164 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/ |
D | unaligned_64.c | 126 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()
|
D | stacktrace.c | 36 if (!(regs->tstate & TSTATE_PRIV)) in __save_stack_trace()
|
D | process_64.c | 154 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()
|
D | traps_64.c | 95 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 …]
|
D | etrap_64.S | 37 andcc %g1, TSTATE_PRIV, %g0 136 wrpr %l7, (TSTATE_PRIV | TSTATE_IE), %tstate 233 andcc %g1, TSTATE_PRIV, %g0
|
D | visemul.c | 155 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()
|
D | kgdb_64.c | 76 gdb_regs[GDB_STATE] = (TSTATE_PRIV | TSTATE_IE | cwp); in sleeping_thread_to_gdb_regs()
|
D | winfixup.S | 90 andcc %g1, TSTATE_PRIV, %g0
|
D | fpu_traps.S | 217 andcc %g3, TSTATE_PRIV, %g0
|
D | rtrap_64.S | 178 andcc %l1, TSTATE_PRIV, %l3
|
/arch/sparc/include/asm/ |
D | pstate.h | 61 #define TSTATE_PRIV _AC(0x0000000000000400,UL) /* Privilege. */ macro
|
D | ptrace.h | 206 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
|
/arch/sparc/math-emu/ |
D | math_64.c | 184 if (tstate & TSTATE_PRIV) in do_mathemu()
|