Searched refs:PCB_USER_FPU (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/amd64/amd64/ |
| H A D | fpu.c | 782 if (PCB_USER_FPU(pcb)) in restore_fpu_curthread() 842 if ((td->td_pflags & TDP_KTHREAD) != 0 || !PCB_USER_FPU(td->td_pcb)) { in fpu_activate_sw() 887 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) { in fpugetregs() 923 if (PCB_USER_FPU(pcb)) in fpuuserinited() 982 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) { in fpusetregs() 1186 KASSERT(!PCB_USER_FPU(pcb) || pcb->pcb_save == in fpu_kern_enter() 1242 KASSERT(!PCB_USER_FPU(pcb), ("unpaired fpu_kern_leave")); in fpu_kern_leave() 1256 KASSERT(PCB_USER_FPU(curpcb), ("recursive call")); in fpu_kern_thread()
|
| H A D | trap.c | 369 KASSERT(PCB_USER_FPU(td->td_pcb), in trap() 402 if (PCB_USER_FPU(td->td_pcb)) in trap() 619 KASSERT(PCB_USER_FPU(td->td_pcb), in trap() 1170 KASSERT(PCB_USER_FPU(td->td_pcb), in amd64_syscall()
|
| H A D | machdep.c | 2443 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu")); in fpstate_drop()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | npx.c | 866 if (PCB_USER_FPU(pcb)) in restore_npx_curthread() 937 !PCB_USER_FPU(pcb)) { in npxswitch() 1074 if (PCB_USER_FPU(pcb)) in npxuserinited() 1132 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) { in npxsetregs() 1459 KASSERT(!PCB_USER_FPU(pcb) || pcb->pcb_save == in fpu_kern_enter() 1515 KASSERT(!PCB_USER_FPU(pcb), ("unpaired fpu_kern_leave")); in fpu_kern_leave() 1529 KASSERT(PCB_USER_FPU(curpcb), ("recursive call")); in fpu_kern_thread()
|
| H A D | trap.c | 437 KASSERT(PCB_USER_FPU(td->td_pcb), in trap() 476 if (PCB_USER_FPU(td->td_pcb)) in trap() 718 KASSERT(PCB_USER_FPU(td->td_pcb), in trap() 1141 KASSERT(PCB_USER_FPU(td->td_pcb), in syscall()
|
| H A D | machdep.c | 3041 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu")); in fpstate_drop()
|
| /f-stack/freebsd/amd64/include/ |
| H A D | fpu.h | 52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0) macro
|
| /f-stack/freebsd/i386/include/ |
| H A D | npx.h | 52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0) macro
|