/freebsd-13-stable/sys/mips/include/ |
H A D | cpu.h | 69 #define TRAPF_USERMODE(framep) (((framep)->sr & MIPS_SR_KSU_USER) != 0) macro
|
/freebsd-13-stable/sys/i386/include/ |
H A D | cpu.h | 54 #define TRAPF_USERMODE(framep) \ macro
|
/freebsd-13-stable/sys/riscv/include/ |
H A D | cpu.h | 45 #define TRAPF_USERMODE(tfp) (((tfp)->tf_sstatus & SSTATUS_SPP) == 0) macro
|
/freebsd-13-stable/sys/amd64/include/ |
H A D | cpu.h | 54 #define TRAPF_USERMODE(framep) \ macro
|
/freebsd-13-stable/sys/dev/hwpmc/ |
H A D | hwpmc_arm.c | 85 KASSERT(TRAPF_USERMODE(tf) == 0,("[arm,%d] not a kernel backtrace", 134 KASSERT(TRAPF_USERMODE(tf), ("[x86,%d] Not a user trap frame tf=%p",
|
H A D | hwpmc_arm64_md.c | 69 KASSERT(TRAPF_USERMODE(tf) == 0,("[arm,%d] not a kernel backtrace", 118 KASSERT(TRAPF_USERMODE(tf), ("[x86,%d] Not a user trap frame tf=%p",
|
H A D | hwpmc_x86.c | 86 KASSERT(TRAPF_USERMODE(tf), ("[x86,%d] Not a user trap frame tf=%p", 167 KASSERT(TRAPF_USERMODE(tf) == 0,("[x86,%d] not a kernel backtrace",
|
H A D | hwpmc_soft.c | 427 user_mode = TRAPF_USERMODE(ks->pm_tf);
|
H A D | hwpmc_powerpc.c | 477 TRAPF_USERMODE(tf));
|
H A D | hwpmc_core.c | 1082 TRAPF_USERMODE(tf)); 1143 TRAPF_USERMODE(tf));
|
H A D | hwpmc_amd.c | 810 TRAPF_USERMODE(tf));
|
/freebsd-13-stable/sys/arm/include/ |
H A D | cpu.h | 53 #define TRAPF_USERMODE(frame) ((frame->tf_spsr & PSR_MODE) == PSR_USR32_MODE) macro
|
/freebsd-13-stable/sys/x86/include/ |
H A D | frame.h | 105 * This alias for the MI TRAPF_USERMODE() should be used when we don't 108 * for using TRAPF_USERMODE() is complicated by sometimes treating vm86 111 #define TF_HAS_STACKREGS(tf) TRAPF_USERMODE(tf)
|
/freebsd-13-stable/sys/powerpc/include/ |
H A D | cpu.h | 106 #define TRAPF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0) macro
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | trap-v6.c | 304 usermode = TRAPF_USERMODE(tf); /* Abort came from user mode? */ 561 usermode = TRAPF_USERMODE(tf); 632 usermode = TRAPF_USERMODE(tf);
|
/freebsd-13-stable/sys/arm64/include/ |
H A D | cpu.h | 49 #define TRAPF_USERMODE(tfp) (((tfp)->tf_spsr & PSR_M_MASK) == PSR_M_EL0t) macro
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_trap.c | 214 KASSERT(TRAPF_USERMODE(framep), ("ast in kernel mode"));
|
H A D | kern_clocksource.c | 172 usermode = TRAPF_USERMODE(frame);
|
H A D | subr_intr.c | 331 if (pmc_hook && TRAPF_USERMODE(tf) &&
|
/freebsd-13-stable/sys/amd64/amd64/ |
H A D | trap.c | 273 if (TRAPF_USERMODE(frame)) { 301 if (TRAPF_USERMODE(frame)) { 893 TRAPF_USERMODE(frame) ? "user" : "kernel"); 1179 if (!TRAPF_USERMODE(td->td_frame)) {
|
/freebsd-13-stable/sys/i386/i386/ |
H A D | trap.c | 284 if ((frame->tf_eflags & PSL_I) == 0 && TRAPF_USERMODE(frame) && 298 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { 1116 if (!(TRAPF_USERMODE(frame) &&
|
H A D | db_trace.c | 417 if (!TRAPF_USERMODE(tf))
|
/freebsd-13-stable/sys/vm/ |
H A D | vm_glue.c | 506 if (TRAPF_USERMODE(frame))
|
/freebsd-13-stable/sys/cddl/dev/profile/ |
H A D | profile.c | 287 if (TRAPF_USERMODE(frame))
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | trap.c | 539 if (TRAPF_USERMODE(trapframe)) {
|