Home
last modified time | relevance | path

Searched refs:pcb_flags (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-12.1/sys/powerpc/powerpc/
H A Dfpu.c60 if (pcb->pcb_flags & PCB_VSX) in save_fpu_int()
68 if (pcb->pcb_flags & PCB_VSX) { in save_fpu_int()
125 pcb->pcb_flags |= PCB_FPU; in enable_fpu()
126 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
130 if (!(pcb->pcb_flags & PCB_FPREGS)) { in enable_fpu()
132 pcb->pcb_flags |= PCB_FPREGS; in enable_fpu()
140 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
153 if (pcb->pcb_flags & PCB_VSX) { in enable_fpu()
H A Dptrace_machdep.c64 if (pcb->pcb_flags & PCB_VEC) { in cpu_ptrace()
75 pcb->pcb_flags |= PCB_VEC; in cpu_ptrace()
83 if (pcb->pcb_flags & PCB_VSX) { in cpu_ptrace()
103 pcb->pcb_flags |= PCB_VSX; in cpu_ptrace()
H A Dexec_machdep.c382 if (pcb->pcb_flags & PCB_FPREGS) { in grab_mcontext()
383 if (pcb->pcb_flags & PCB_FPU) { in grab_mcontext()
397 if (pcb->pcb_flags & PCB_VSX) { in grab_mcontext()
407 if (pcb->pcb_flags & PCB_VEC) { in grab_mcontext()
473 pcb->pcb_flags |= PCB_FPREGS; in set_mcontext()
542 td->td_pcb->pcb_flags = 0; in exec_setregs()
567 td->td_pcb->pcb_flags = 0; in ppc32_setregs()
634 pcb->pcb_flags |= PCB_FPREGS; in set_fpregs()
1024 td->td_pcb->pcb_flags = 0; in cpu_set_upcall()
1059 td->td_pcb->pcb_flags |= PCB_CDSCR; in emulate_mtspr()
[all …]
H A Daltivec.c111 if (!(pcb->pcb_flags & PCB_VEC)) { in enable_vec()
113 pcb->pcb_flags |= PCB_VEC; in enable_vec()
H A Dtrap.c282 KASSERT((td->td_pcb->pcb_flags & PCB_FPU) != PCB_FPU, in trap()
288 KASSERT((td->td_pcb->pcb_flags & PCB_VEC) != PCB_VEC, in trap()
294 KASSERT((td->td_pcb->pcb_flags & PCB_VSX) != PCB_VSX, in trap()
296 if (!(td->td_pcb->pcb_flags & PCB_VEC)) in trap()
298 if (!(td->td_pcb->pcb_flags & PCB_FPU)) in trap()
300 td->td_pcb->pcb_flags |= PCB_VSX; in trap()
H A Delf32_machdep.c181 if (pcb->pcb_flags & PCB_VEC) { in elf32_dump_thread()
192 if (pcb->pcb_flags & PCB_VSX) { in elf32_dump_thread()
H A Delf64_machdep.c243 if (pcb->pcb_flags & PCB_VEC) { in elf64_dump_thread()
254 if (pcb->pcb_flags & PCB_VSX) { in elf64_dump_thread()
/freebsd-12.1/sys/i386/i386/
H A Dnpx.c863 pcb->pcb_flags |= PCB_NPXINITDONE; in restore_npx_curthread()
1070 pcb->pcb_flags |= PCB_NPXINITDONE; in npxuserinited()
1071 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in npxuserinited()
1408 pcb->pcb_flags |= PCB_KERNNPX; in fpu_kern_enter()
1409 pcb->pcb_flags &= ~PCB_NPXINITDONE; in fpu_kern_enter()
1431 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave()
1433 pcb->pcb_flags &= ~PCB_NPXINITDONE; in fpu_kern_leave()
1434 pcb->pcb_flags &= ~PCB_KERNNPX; in fpu_kern_leave()
1437 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave()
1439 pcb->pcb_flags &= ~PCB_NPXINITDONE; in fpu_kern_leave()
[all …]
H A Dtrap.c297 (curpcb->pcb_flags & PCB_VM86CALL) == 0) in trap()
310 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { in trap()
562 if (curpcb->pcb_flags & PCB_VM86CALL) in trap()
671 !(curpcb->pcb_flags & PCB_VM86CALL)) in trap()
1155 (curpcb->pcb_flags & PCB_VM86CALL) == 0)) { in syscall()
H A Dvm_machdep.c331 if (td->td_pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
333 td->td_pcb->pcb_flags &= ~PCB_DBREGS; in cpu_thread_exit()
454 pcb2->pcb_flags &= ~(PCB_NPXINITDONE | PCB_NPXUSERINITDONE | in cpu_copy_thread()
H A Dgenassym.c150 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
/freebsd-12.1/sys/amd64/amd64/
H A Dfpu.c700 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { in restore_fpu_curthread()
749 KASSERT((curpcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpudna()
812 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) == 0) { in fpugetregs()
1078 KASSERT((pcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpu_kern_enter()
1110 if ((pcb->pcb_flags & PCB_FPUINITDONE) != 0) in fpu_kern_enter()
1127 if ((pcb->pcb_flags & PCB_FPUNOSAVE) != 0) { in fpu_kern_leave()
1152 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) != 0) { in fpu_kern_leave()
1188 return ((curpcb->pcb_flags & PCB_KERNFPU) != 0); in is_fpu_kern_thread()
H A Dmachdep.c630 if (pcb->pcb_flags & PCB_DBREGS) { in exec_setregs()
1879 thread0.td_pcb->pcb_flags = 0; in hammer_time()
2626 : "=m" (pcb->pcb_flags) : "ir" (flags), "m" (pcb->pcb_flags) in set_pcb_flags_raw()
2649 (pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
2651 if ((pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
2676 : "=m" (pcb->pcb_flags) : "ir" (~flags), "m" (pcb->pcb_flags) in clear_pcb_flags()
/freebsd-12.1/sys/arm/include/
H A Dpcb.h53 u_int pcb_flags; member
/freebsd-12.1/sys/sparc64/include/
H A Dpcb.h50 uint64_t pcb_flags; member
/freebsd-12.1/sys/arm64/include/
H A Dpcb.h50 u_int pcb_flags; member
/freebsd-12.1/sys/i386/include/
H A Dpcb.h83 u_int pcb_flags; member
H A Dnpx.h52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
/freebsd-12.1/sys/powerpc/include/
H A Dpcb.h53 int pcb_flags; member
/freebsd-12.1/sys/amd64/include/
H A Dfpu.h52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0)
H A Dpcb.h81 u_int pcb_flags; member
/freebsd-12.1/sys/arm64/arm64/
H A Dgenassym.c55 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
H A Dtrap.c453 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in do_el0_sync()
/freebsd-12.1/sys/sparc64/sparc64/
H A Dmachdep.c803 pcb->pcb_flags |= PCB_FEF; in get_mcontext()
805 if ((pcb->pcb_flags & PCB_FEF) != 0) { in get_mcontext()
856 pcb->pcb_flags |= PCB_FEF; in set_mcontext()
/freebsd-12.1/sys/powerpc/booke/
H A Dspe.c122 if (!(pcb->pcb_flags & PCB_VEC)) { in enable_vec()
124 pcb->pcb_flags |= PCB_VEC; in enable_vec()

12