| /freebsd-13.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 | exec_machdep.c | 418 if (pcb->pcb_flags & PCB_VSX) { in grab_mcontext() 518 pcb->pcb_flags |= PCB_FPREGS; in set_mcontext() 540 pcb->pcb_flags &= ~PCB_VEC; in set_mcontext() 557 uint32_t pcb_flags; in cleanup_power_extras() local 562 pcb_flags = td->td_pcb->pcb_flags; in cleanup_power_extras() 564 if (pcb_flags & PCB_CFSCR) in cleanup_power_extras() 566 if (pcb_flags & PCB_CDSCR) in cleanup_power_extras() 617 td->td_pcb->pcb_flags = 0; in exec_setregs() 643 td->td_pcb->pcb_flags = 0; in ppc32_setregs() 710 pcb->pcb_flags |= PCB_FPREGS; in set_fpregs() [all …]
|
| H A D | ptrace_machdep.c | 70 if (pcb->pcb_flags & PCB_VEC) { in cpu_ptrace() 81 pcb->pcb_flags |= PCB_VEC; in cpu_ptrace() 89 if (pcb->pcb_flags & PCB_VSX) { in cpu_ptrace() 109 pcb->pcb_flags |= PCB_VSX; in cpu_ptrace()
|
| H A D | trap.c | 296 KASSERT((td->td_pcb->pcb_flags & PCB_FPU) != PCB_FPU, in trap() 302 KASSERT((td->td_pcb->pcb_flags & PCB_VEC) != PCB_VEC, in trap() 308 KASSERT((td->td_pcb->pcb_flags & PCB_VSX) != PCB_VSX, in trap() 310 if (!(td->td_pcb->pcb_flags & PCB_VEC)) in trap() 312 if (td->td_pcb->pcb_flags & PCB_FPU) in trap() 314 td->td_pcb->pcb_flags |= PCB_VSX; in trap() 328 td->td_pcb->pcb_flags |= PCB_CFSCR | PCB_CDSCR; in trap() 333 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap() 340 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap() 345 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap() [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 | elf64_machdep.c | 276 if (pcb->pcb_flags & PCB_VEC) { in elf64_dump_thread() 287 if (pcb->pcb_flags & PCB_VSX) { in elf64_dump_thread()
|
| H A D | elf32_machdep.c | 191 if (pcb->pcb_flags & PCB_VEC) { in elf32_dump_thread() 202 if (pcb->pcb_flags & PCB_VSX) { in elf32_dump_thread()
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | npx.c | 868 pcb->pcb_flags |= PCB_NPXINITDONE; in restore_npx_curthread() 870 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in restore_npx_curthread() 1000 td->td_pcb->pcb_flags &= ~PCB_NPXINITDONE; in npxdrop() 1078 pcb->pcb_flags |= PCB_NPXINITDONE; in npxuserinited() 1079 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in npxuserinited() 1470 pcb->pcb_flags |= PCB_KERNNPX; in fpu_kern_enter() 1471 pcb->pcb_flags &= ~PCB_NPXINITDONE; in fpu_kern_enter() 1508 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave() 1510 pcb->pcb_flags &= ~PCB_KERNNPX; in fpu_kern_leave() 1515 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave() [all …]
|
| H A D | vm_machdep.c | 169 pcb2->pcb_flags &= ~(PCB_NPXINITDONE | PCB_NPXUSERINITDONE | in copy_thread() 172 MPASS((pcb2->pcb_flags & (PCB_KERNNPX | PCB_KERNNPX_THR)) == 0); in copy_thread() 349 if (td->td_pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit() 351 td->td_pcb->pcb_flags &= ~PCB_DBREGS; in cpu_thread_exit()
|
| H A D | trap.c | 285 (curpcb->pcb_flags & PCB_VM86CALL) == 0) in trap() 298 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { in trap() 515 if (curpcb->pcb_flags & PCB_VM86CALL) in trap() 624 !(curpcb->pcb_flags & PCB_VM86CALL)) in trap() 1115 (curpcb->pcb_flags & PCB_VM86CALL) == 0)) { in syscall()
|
| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | ptrace_machdep.c | 64 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in ptrace_single_step() 75 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in ptrace_clear_single_step()
|
| H A D | exec_machdep.c | 126 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_regs() 467 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext() 628 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in sendsig() 629 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in sendsig()
|
| H A D | freebsd32_machdep.c | 222 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext32() 432 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in freebsd32_sendsig() 433 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in freebsd32_sendsig()
|
| H A D | genassym.c | 67 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | fpu.c | 769 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { in restore_fpu_curthread() 818 KASSERT((curpcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpudna() 881 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) == 0) { in fpugetregs() 1160 KASSERT((pcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpu_kern_enter() 1192 if ((pcb->pcb_flags & PCB_FPUINITDONE) != 0) in fpu_kern_enter() 1209 if ((pcb->pcb_flags & PCB_FPUNOSAVE) != 0) { in fpu_kern_leave() 1234 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) != 0) { in fpu_kern_leave() 1236 if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave() 1238 } else if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave() 1271 return ((curpcb->pcb_flags & PCB_KERNFPU_THR) != 0); in is_fpu_kern_thread()
|
| H A D | machdep.c | 1595 thread0.td_pcb->pcb_flags = 0; in hammer_time() 1753 : "=m" (pcb->pcb_flags) : "ir" (flags), "m" (pcb->pcb_flags) in set_pcb_flags_raw() 1776 (pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase() 1778 if ((pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase() 1803 : "=m" (pcb->pcb_flags) : "ir" (~flags), "m" (pcb->pcb_flags) in clear_pcb_flags()
|
| H A D | vm_machdep.c | 168 MPASS((pcb2->pcb_flags & (PCB_KERNFPU | PCB_KERNFPU_THR)) == 0); in copy_thread() 342 if (pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | pcb.h | 52 u_int pcb_flags; member
|
| /freebsd-13.1/sys/arm64/include/ |
| H A D | pcb.h | 51 u_int pcb_flags; member
|
| /freebsd-13.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-13.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-13.1/sys/powerpc/include/ |
| H A D | pcb.h | 57 int pcb_flags; member
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | simd_x86.h | 49 if (__predict_false(curpcb->pcb_flags & PCB_FPUNOSAVE)) \
|