Home
last modified time | relevance | path

Searched refs:user_mode (Results 1 – 7 of 7) sorted by relevance

/external/kernel-headers/original/asm-x86/
Dptrace.h48 static inline int user_mode(struct pt_regs *regs) in user_mode() function
101 #define user_mode(regs) (!!((regs)->cs & 3)) macro
102 #define user_mode_vm(regs) user_mode(regs)
/external/kernel-headers/original/asm-mips/
Dptrace.h82 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) macro
93 if (unlikely(!user_mode(regs))) in die_if_kernel()
/external/kernel-headers/original/asm-arm/
Dptrace.h102 #define user_mode(regs) \ macro
129 if (user_mode(regs) && in valid_user_regs()
/external/oprofile/module/x86/
Dop_rtc.c36 int usermode = user_mode(regs); in do_rtc_interrupt()
/external/qemu/target-mips/
Dhelper.c113 int user_mode = (env->hflags & MIPS_HFLAG_MODE) == MIPS_HFLAG_UM; in get_physical_address() local
115 int kernel_mode = !user_mode && !supervisor_mode; in get_physical_address()
124 qemu_log("user mode %d h %08x\n", user_mode, env->hflags); in get_physical_address()
/external/kernel-headers/original/linux/
Dperf_event.h1008 #define perf_misc_flags(regs) (user_mode(regs) ? PERF_RECORD_MISC_USER : \
/external/linux-tools-perf/util/include/linux/added/
Dperf_event.h1149 (user_mode(regs) ? PERF_RECORD_MISC_USER : PERF_RECORD_MISC_KERNEL)