| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | fpu.c | 60 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 D | ptrace_machdep.c | 64 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 D | exec_machdep.c | 382 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 D | altivec.c | 111 if (!(pcb->pcb_flags & PCB_VEC)) { in enable_vec() 113 pcb->pcb_flags |= PCB_VEC; in enable_vec()
|
| H A D | trap.c | 282 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 D | elf32_machdep.c | 181 if (pcb->pcb_flags & PCB_VEC) { in elf32_dump_thread() 192 if (pcb->pcb_flags & PCB_VSX) { in elf32_dump_thread()
|
| H A D | elf64_machdep.c | 243 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 D | npx.c | 863 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 D | trap.c | 297 (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 D | vm_machdep.c | 331 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 D | genassym.c | 150 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
|
| /freebsd-12.1/sys/amd64/amd64/ |
| H A D | fpu.c | 700 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 D | machdep.c | 630 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 D | pcb.h | 53 u_int pcb_flags; member
|
| /freebsd-12.1/sys/sparc64/include/ |
| H A D | pcb.h | 50 uint64_t pcb_flags; member
|
| /freebsd-12.1/sys/arm64/include/ |
| H A D | pcb.h | 50 u_int pcb_flags; member
|
| /freebsd-12.1/sys/i386/include/ |
| H A D | pcb.h | 83 u_int pcb_flags; member
|
| H A D | npx.h | 52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
|
| /freebsd-12.1/sys/powerpc/include/ |
| H A D | pcb.h | 53 int pcb_flags; member
|
| /freebsd-12.1/sys/amd64/include/ |
| H A D | fpu.h | 52 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0)
|
| H A D | pcb.h | 81 u_int pcb_flags; member
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | genassym.c | 55 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
|
| H A D | trap.c | 453 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in do_el0_sync()
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | machdep.c | 803 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 D | spe.c | 122 if (!(pcb->pcb_flags & PCB_VEC)) { in enable_vec() 124 pcb->pcb_flags |= PCB_VEC; in enable_vec()
|