Home
last modified time | relevance | path

Searched defs:user_mode (Results 1 – 20 of 20) sorted by relevance

/arch/um/sys-i386/asm/
Dptrace.h37 #define user_mode(r) UPT_IS_USER(&(r)->regs) macro
/arch/parisc/include/asm/
Dptrace.h59 #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) macro
/arch/h8300/include/asm/
Dptrace.h58 #define user_mode(regs) (!((regs)->ccr & PS_S)) macro
/arch/xtensa/kernel/
Dprocess.c182 int user_mode = user_mode(regs); in copy_thread() local
/arch/powerpc/include/asm/
Dptrace.h95 #define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1) macro
97 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) macro
/arch/um/sys-x86_64/asm/
Dptrace.h48 #define user_mode(r) UPT_IS_USER(&(r)->regs) macro
/arch/xtensa/include/asm/
Dptrace.h118 # define user_mode(regs) (((regs)->ps & 0x00000020)!=0) macro
/arch/m68k/include/asm/
Dptrace.h81 #define user_mode(regs) (!((regs)->sr & PS_S)) macro
/arch/arm/include/asm/
Dptrace.h100 #define user_mode(regs) \ macro
/arch/alpha/include/asm/
Dptrace.h71 #define user_mode(regs) (((regs)->ps & 8) != 0) macro
/arch/mips/include/asm/
Dptrace.h138 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) macro
/arch/sh/include/asm/
Dptrace.h108 #define user_mode(regs) (((regs)->sr & 0x40000000)==0) macro
/arch/avr32/include/asm/
Dptrace.h129 #define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER) macro
/arch/cris/include/arch-v10/arch/
Dptrace.h112 #define user_mode(regs) (((regs)->dccr & 0x100) != 0) macro
/arch/cris/include/arch-v32/arch/
Dptrace.h111 #define user_mode(regs) (((regs)->ccs & (1 << (U_CCS_BITNR + CCS_SHIFT))) != 0) macro
/arch/sparc/include/asm/
Dptrace.h206 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV)) macro
255 #define user_mode(regs) (!((regs)->psr & PSR_PS)) macro
/arch/blackfin/include/asm/
Dptrace.h96 #define user_mode(regs) (!(((regs)->ipend & ~0x10) & (((regs)->ipend & ~0x10) - 1))) macro
/arch/x86/include/asm/
Dptrace.h160 static inline int user_mode(struct pt_regs *regs) in user_mode() function
/arch/ia64/include/asm/
Dptrace.h263 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0) macro
/arch/s390/include/asm/
Dptrace.h492 #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0) macro