user_mode 9 arch/alpha/include/asm/ptrace.h #define user_mode(regs) (((regs)->ps & 8) != 0) user_mode 119 arch/arc/include/asm/ptrace.h #define user_mode(regs) (regs->status32 & STATUS_U_MASK) user_mode 27 arch/arm/include/asm/ptrace.h #define user_mode(regs) \ user_mode 206 arch/arm64/include/asm/ptrace.h #define user_mode(regs) \ user_mode 20 arch/c6x/include/asm/ptrace.h #define user_mode(regs) ((((regs)->tsr) & 0x40) != 0) user_mode 21 arch/csky/include/asm/ptrace.h #define user_mode(regs) (!((regs)->sr & PS_S)) user_mode 23 arch/h8300/include/asm/ptrace.h #define user_mode(regs) (!((regs)->ccr & PS_S)) user_mode 206 arch/hexagon/include/uapi/asm/registers.h #define user_mode(regs) \ user_mode 91 arch/ia64/include/asm/ptrace.h # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0) user_mode 14 arch/m68k/include/asm/ptrace.h #define user_mode(regs) (!((regs)->sr & PS_S)) user_mode 15 arch/microblaze/include/asm/ptrace.h #define user_mode(regs) (!kernel_mode(regs)) user_mode 141 arch/mips/include/asm/ptrace.h #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) user_mode 70 arch/nds32/include/asm/ptrace.h #define user_mode(regs) (((regs)->ipsw & PSW_mskPOM) == 0) user_mode 66 arch/nios2/include/asm/ptrace.h #define user_mode(regs) (((regs)->estatus & ESTATUS_EU)) user_mode 70 arch/openrisc/include/asm/ptrace.h #define user_mode(regs) (((regs)->sr & SPR_SR_SM) == 0) user_mode 17 arch/parisc/include/asm/ptrace.h #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) user_mode 161 arch/powerpc/include/asm/ptrace.h #define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1) user_mode 163 arch/powerpc/include/asm/ptrace.h #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) user_mode 61 arch/riscv/include/asm/ptrace.h #define user_mode(regs) (((regs)->sstatus & SR_SPP) == 0) user_mode 161 arch/s390/include/asm/ptrace.h #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0) user_mode 16 arch/sh/include/asm/ptrace.h #define user_mode(regs) (((regs)->sr & 0x40000000)==0) user_mode 64 arch/sparc/include/asm/ptrace.h #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV)) user_mode 143 arch/sparc/include/asm/ptrace.h #define user_mode(regs) (!((regs)->psr & PSR_PS)) user_mode 16 arch/unicore32/include/asm/ptrace.h #define user_mode(regs) \ user_mode 126 arch/x86/include/asm/ptrace.h static inline int user_mode(struct pt_regs *regs) user_mode 11 arch/x86/um/asm/ptrace.h #define user_mode(r) UPT_IS_USER(&(r)->regs) user_mode 88 arch/xtensa/include/asm/ptrace.h # define user_mode(regs) (((regs)->ps & 0x00000020)!=0)