Searched defs:user_mode (Results 1 – 20 of 20) sorted by relevance
37 #define user_mode(r) UPT_IS_USER(&(r)->regs) macro
59 #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) macro
58 #define user_mode(regs) (!((regs)->ccr & PS_S)) macro
182 int user_mode = user_mode(regs); in copy_thread() local
95 #define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1) macro97 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) macro
48 #define user_mode(r) UPT_IS_USER(&(r)->regs) macro
118 # define user_mode(regs) (((regs)->ps & 0x00000020)!=0) macro
81 #define user_mode(regs) (!((regs)->sr & PS_S)) macro
100 #define user_mode(regs) \ macro
71 #define user_mode(regs) (((regs)->ps & 8) != 0) macro
138 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) macro
108 #define user_mode(regs) (((regs)->sr & 0x40000000)==0) macro
129 #define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER) macro
112 #define user_mode(regs) (((regs)->dccr & 0x100) != 0) macro
111 #define user_mode(regs) (((regs)->ccs & (1 << (U_CCS_BITNR + CCS_SHIFT))) != 0) macro
206 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV)) macro255 #define user_mode(regs) (!((regs)->psr & PSR_PS)) macro
96 #define user_mode(regs) (!(((regs)->ipend & ~0x10) & (((regs)->ipend & ~0x10) - 1))) macro
160 static inline int user_mode(struct pt_regs *regs) in user_mode() function
263 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0) macro
492 #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0) macro