Searched refs:PCB_USER_FPU (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/sys/i386/include/
H A Dnpx.h49 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0) macro
/freebsd-current/sys/amd64/include/
H A Dfpu.h49 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0) macro
/freebsd-current/sys/amd64/amd64/
H A Dfpu.c761 if (PCB_USER_FPU(pcb))
821 if ((td->td_pflags & TDP_KTHREAD) != 0 || !PCB_USER_FPU(td->td_pcb)) {
869 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) {
923 if (PCB_USER_FPU(pcb))
982 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) {
1184 KASSERT(!PCB_USER_FPU(pcb) || pcb->pcb_save ==
1240 KASSERT(!PCB_USER_FPU(pcb), ("unpaired fpu_kern_leave"));
1254 KASSERT(PCB_USER_FPU(curpcb), ("recursive call"));
H A Dtrap.c411 KASSERT(PCB_USER_FPU(td->td_pcb),
444 if (PCB_USER_FPU(td->td_pcb))
645 KASSERT(PCB_USER_FPU(td->td_pcb),
1206 KASSERT(PCB_USER_FPU(td->td_pcb),
H A Dexec_machdep.c761 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu"));
/freebsd-current/sys/i386/i386/
H A Dnpx.c832 if (PCB_USER_FPU(pcb))
903 !PCB_USER_FPU(pcb)) {
1061 if (PCB_USER_FPU(pcb))
1119 if (td == PCPU_GET(fpcurthread) && PCB_USER_FPU(pcb)) {
1444 KASSERT(!PCB_USER_FPU(pcb) || pcb->pcb_save ==
1500 KASSERT(!PCB_USER_FPU(pcb), ("unpaired fpu_kern_leave"));
1514 KASSERT(PCB_USER_FPU(curpcb), ("recursive call"));
H A Dtrap.c462 KASSERT(PCB_USER_FPU(td->td_pcb),
501 if (PCB_USER_FPU(td->td_pcb))
739 KASSERT(PCB_USER_FPU(td->td_pcb),
1172 KASSERT(PCB_USER_FPU(td->td_pcb),
H A Dexec_machdep.c1256 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu"));

Completed in 91 milliseconds