Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/powerpc/powerpc/
H A Dfpu.c59 if (pcb->pcb_flags & PCB_VSX) in save_fpu_int()
67 if (pcb->pcb_flags & PCB_VSX) { in save_fpu_int()
124 pcb->pcb_flags |= PCB_FPU; in enable_fpu()
125 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
131 pcb->pcb_flags |= PCB_FPREGS; in enable_fpu()
139 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
152 if (pcb->pcb_flags & PCB_VSX) { in enable_fpu()
327 if (pcb->pcb_flags & PCB_FPU) { in fpu_kern_enter()
329 pcb->pcb_flags |= PCB_FPREGS; in fpu_kern_enter()
333 if (pcb->pcb_flags & PCB_VEC) { in fpu_kern_enter()
[all …]
H A Dexec_machdep.c569 uint32_t pcb_flags; in cleanup_power_extras() local
574 pcb_flags = td->td_pcb->pcb_flags; in cleanup_power_extras()
576 if (pcb_flags & PCB_CFSCR) in cleanup_power_extras()
581 if (pcb_flags & PCB_FPU) in cleanup_power_extras()
598 uint32_t pcb_flags; in cpu_save_thread_regs() local
606 pcb_flags = pcb->pcb_flags; in cpu_save_thread_regs()
630 if (pcb_flags & PCB_CDSCR) in cpu_save_thread_regs()
646 if (pcb_flags & PCB_FPU) in cpu_save_thread_regs()
649 if (pcb_flags & PCB_VEC) in cpu_save_thread_regs()
698 td->td_pcb->pcb_flags = 0; in exec_setregs()
[all …]
H A Dptrace_machdep.c68 if (pcb->pcb_flags & PCB_VEC) { in cpu_ptrace()
79 pcb->pcb_flags |= PCB_VEC; in cpu_ptrace()
87 if (pcb->pcb_flags & PCB_VSX) { in cpu_ptrace()
107 pcb->pcb_flags |= PCB_VSX; in cpu_ptrace()
H A Daltivec.c108 pcb->pcb_flags |= PCB_VEC; in enable_vec()
110 if (!(pcb->pcb_flags & PCB_VECREGS)) { in enable_vec()
112 pcb->pcb_flags |= PCB_VECREGS; in enable_vec()
201 pcb->pcb_flags &= ~PCB_VEC; in disable_vec()
H A Dtrap.c294 KASSERT((td->td_pcb->pcb_flags & PCB_FPU) != PCB_FPU, in trap()
300 KASSERT((td->td_pcb->pcb_flags & PCB_VEC) != PCB_VEC, in trap()
306 KASSERT((td->td_pcb->pcb_flags & PCB_VSX) != PCB_VSX, in trap()
308 if (!(td->td_pcb->pcb_flags & PCB_VEC)) in trap()
310 if (td->td_pcb->pcb_flags & PCB_FPU) in trap()
312 td->td_pcb->pcb_flags |= PCB_VSX; in trap()
326 td->td_pcb->pcb_flags |= PCB_CFSCR | PCB_CDSCR; in trap()
331 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap()
338 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap()
343 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap()
[all …]
H A Delf32_machdep.c192 if (pcb->pcb_flags & PCB_VEC) { in elf32_dump_thread()
203 if (pcb->pcb_flags & PCB_VSX) { in elf32_dump_thread()
H A Delf64_machdep.c281 if (pcb->pcb_flags & PCB_VEC) { in elf64_dump_thread()
292 if (pcb->pcb_flags & PCB_VSX) { in elf64_dump_thread()
/freebsd-14.2/sys/i386/i386/
H A Dnpx.c833 pcb->pcb_flags |= PCB_NPXINITDONE; in restore_npx_curthread()
835 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in restore_npx_curthread()
965 td->td_pcb->pcb_flags &= ~PCB_NPXINITDONE; in npxdrop()
1064 pcb->pcb_flags |= PCB_NPXINITDONE; in npxuserinited()
1065 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in npxuserinited()
1454 pcb->pcb_flags |= PCB_KERNNPX; in fpu_kern_enter()
1455 pcb->pcb_flags &= ~PCB_NPXINITDONE; in fpu_kern_enter()
1492 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave()
1494 pcb->pcb_flags &= ~PCB_KERNNPX; in fpu_kern_leave()
1499 pcb->pcb_flags |= PCB_NPXINITDONE; in fpu_kern_leave()
[all …]
H A Dvm_machdep.c167 pcb2->pcb_flags &= ~(PCB_NPXINITDONE | PCB_NPXUSERINITDONE | in copy_thread()
170 MPASS((pcb2->pcb_flags & (PCB_KERNNPX | PCB_KERNNPX_THR)) == 0); in copy_thread()
356 if (td->td_pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
358 td->td_pcb->pcb_flags &= ~PCB_DBREGS; in cpu_thread_exit()
H A Dtrap.c310 (curpcb->pcb_flags & PCB_VM86CALL) == 0) in trap()
325 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { in trap()
542 if (curpcb->pcb_flags & PCB_VM86CALL) in trap()
651 !(curpcb->pcb_flags & PCB_VM86CALL)) in trap()
1149 (curpcb->pcb_flags & PCB_VM86CALL) == 0)) { in syscall()
/freebsd-14.2/sys/amd64/amd64/
H A Dfpu.c748 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { in restore_fpu_curthread()
797 KASSERT((curpcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpudna()
863 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) == 0) { in fpugetregs()
1158 KASSERT((pcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpu_kern_enter()
1190 if ((pcb->pcb_flags & PCB_FPUINITDONE) != 0) in fpu_kern_enter()
1207 if ((pcb->pcb_flags & PCB_FPUNOSAVE) != 0) { in fpu_kern_leave()
1232 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) != 0) { in fpu_kern_leave()
1234 if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave()
1236 } else if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave()
1269 return ((curpcb->pcb_flags & PCB_KERNFPU_THR) != 0); in is_fpu_kern_thread()
H A Dmachdep.c1604 thread0.td_pcb->pcb_flags = 0; in hammer_time()
1762 : "=m" (pcb->pcb_flags) : "ir" (flags), "m" (pcb->pcb_flags) in set_pcb_flags_raw()
1785 (pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
1787 if ((pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
1812 : "=m" (pcb->pcb_flags) : "ir" (~flags), "m" (pcb->pcb_flags) in clear_pcb_flags()
H A Dvm_machdep.c166 MPASS((pcb2->pcb_flags & (PCB_KERNFPU | PCB_KERNFPU_THR)) == 0); in copy_thread()
355 if (pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
/freebsd-14.2/sys/arm64/arm64/
H A Dptrace_machdep.c175 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in ptrace_single_step()
186 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in ptrace_clear_single_step()
H A Dfreebsd32_machdep.c236 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext32()
444 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in freebsd32_sendsig()
445 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in freebsd32_sendsig()
H A Dexec_machdep.c137 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_regs()
504 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext()
815 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in sendsig()
816 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in sendsig()
H A Dgenassym.c61 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
/freebsd-14.2/sys/arm/include/
H A Dpcb.h50 u_int pcb_flags; member
/freebsd-14.2/sys/arm64/include/
H A Dpcb.h59 u_int pcb_flags; member
/freebsd-14.2/sys/i386/include/
H A Dpcb.h82 u_int pcb_flags; member
H A Dnpx.h51 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
/freebsd-14.2/sys/amd64/include/
H A Dfpu.h51 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0)
H A Dpcb.h80 u_int pcb_flags; member
/freebsd-14.2/sys/powerpc/include/
H A Dpcb.h56 int pcb_flags; member
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsimd_x86.h54 if (__predict_false(curpcb->pcb_flags & PCB_FPUNOSAVE)) \

12