Home
last modified time | relevance | path

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

/f-stack/freebsd/amd64/amd64/
H A Dfpu.c782 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 Dtrap.c369 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 Dmachdep.c2443 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu")); in fpstate_drop()
/f-stack/freebsd/i386/i386/
H A Dnpx.c866 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 Dtrap.c437 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 Dmachdep.c3041 KASSERT(PCB_USER_FPU(td->td_pcb), ("fpstate_drop: kernel-owned fpu")); in fpstate_drop()
/f-stack/freebsd/amd64/include/
H A Dfpu.h52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0) macro
/f-stack/freebsd/i386/include/
H A Dnpx.h52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0) macro