Home
last modified time | relevance | path

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

12

/freebsd/sys/powerpc/powerpc/
H A Dfpu.c58 if (pcb->pcb_flags & PCB_VSX) in save_fpu_int()
66 if (pcb->pcb_flags & PCB_VSX) { in save_fpu_int()
123 pcb->pcb_flags |= PCB_FPU; in enable_fpu()
124 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
128 if (!(pcb->pcb_flags & PCB_FPREGS)) { in enable_fpu()
130 pcb->pcb_flags |= PCB_FPREGS; in enable_fpu()
138 if (pcb->pcb_flags & PCB_VSX) in enable_fpu()
151 if (pcb->pcb_flags & PCB_VSX) { in enable_fpu()
295 pcb->pcb_flags &= ~(PCB_FPU | PCB_VSX); in disable_fpu()
320 KASSERT((pcb->pcb_flags & PCB_KERN_FPU_NOSAVE) == 0, in fpu_kern_enter()
[all …]
H A Dexec_machdep.c262 if (td->td_pcb->pcb_flags & PCB_FPU) in sendsig()
419 if (pcb->pcb_flags & PCB_FPREGS) { in grab_mcontext()
420 if (pcb->pcb_flags & PCB_FPU) { in grab_mcontext()
434 if (pcb->pcb_flags & PCB_VSX) { in grab_mcontext()
444 if (pcb->pcb_flags & PCB_VECREGS) { in grab_mcontext()
445 if (pcb->pcb_flags & PCB_VEC) { in grab_mcontext()
532 pcb->pcb_flags &= ~(PCB_FPU | PCB_VSX | PCB_VEC); in set_mcontext()
536 pcb->pcb_flags |= PCB_FPREGS; in set_mcontext()
549 pcb->pcb_flags |= PCB_VECREGS; in set_mcontext()
569 uint32_t pcb_flags; in cleanup_power_extras() local
[all …]
H A Dptrace_machdep.c67 if (pcb->pcb_flags & PCB_VEC) { in cpu_ptrace()
78 pcb->pcb_flags |= PCB_VEC; in cpu_ptrace()
86 if (pcb->pcb_flags & PCB_VSX) { in cpu_ptrace()
106 pcb->pcb_flags |= PCB_VSX; in cpu_ptrace()
H A Daltivec.c107 pcb->pcb_flags |= PCB_VEC; in enable_vec()
109 if (!(pcb->pcb_flags & PCB_VECREGS)) { in enable_vec()
111 pcb->pcb_flags |= PCB_VECREGS; in enable_vec()
200 pcb->pcb_flags &= ~PCB_VEC; in disable_vec()
H A Dtrap.c295 KASSERT((td->td_pcb->pcb_flags & PCB_FPU) != PCB_FPU, in trap()
301 KASSERT((td->td_pcb->pcb_flags & PCB_VEC) != PCB_VEC, in trap()
307 KASSERT((td->td_pcb->pcb_flags & PCB_VSX) != PCB_VSX, in trap()
309 if (!(td->td_pcb->pcb_flags & PCB_VEC)) in trap()
311 if (td->td_pcb->pcb_flags & PCB_FPU) in trap()
313 td->td_pcb->pcb_flags |= PCB_VSX; in trap()
327 td->td_pcb->pcb_flags |= PCB_CFSCR | PCB_CDSCR; in trap()
332 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap()
339 td->td_pcb->pcb_flags |= PCB_CFSCR; in trap()
344 td->td_pcb->pcb_flags | in trap()
[all...]
H A Delf32_machdep.c192 if (pcb->pcb_flags & PCB_VEC) { in elf32_dump_thread()
202 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()
291 if (pcb->pcb_flags & PCB_VSX) { in elf64_dump_thread()
/freebsd/sys/i386/i386/
H A Dnpx.c816 if ((pcb->pcb_flags & PCB_NPXINITDONE) == 0) { in restore_npx_curthread()
831 pcb->pcb_flags |= PCB_NPXINITDONE; in restore_npx_curthread()
833 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in restore_npx_curthread()
856 KASSERT((curpcb->pcb_flags & PCB_NPXNOSAVE) == 0, in npxdna()
963 td->td_pcb->pcb_flags &= ~PCB_NPXINITDONE; in npxdrop()
989 if ((pcb->pcb_flags & PCB_NPXINITDONE) == 0) { in npxgetregs()
1062 pcb->pcb_flags |= PCB_NPXINITDONE; in npxuserinited()
1063 pcb->pcb_flags |= PCB_NPXUSERINITDONE; in npxuserinited()
1126 pcb->pcb_flags |= PCB_NPXUSERINITDONE | PCB_NPXINITDONE; in npxsetregs()
1411 KASSERT((pcb->pcb_flags & PCB_NPXNOSAVE) == 0, in fpu_kern_enter()
[all …]
H A Dvm_machdep.c165 pcb2->pcb_flags &= ~(PCB_NPXINITDONE | PCB_NPXUSERINITDONE | in copy_thread()
168 MPASS((pcb2->pcb_flags & (PCB_KERNNPX | PCB_KERNNPX_THR)) == 0); in copy_thread()
354 if (td->td_pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
356 td->td_pcb->pcb_flags &= ~PCB_DBREGS; in cpu_thread_exit()
H A Dtrap.c292 (curpcb->pcb_flags & PCB_VM86CALL) == 0) in trap()
307 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { in trap()
524 if (curpcb->pcb_flags & PCB_VM86CALL) in trap()
633 !(curpcb->pcb_flags & PCB_VM86CALL)) in trap()
1131 (curpcb->pcb_flags & PCB_VM86CALL) == 0)) { in syscall()
/freebsd/sys/amd64/amd64/
H A Dfpu.c753 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { in restore_fpu_curthread()
802 KASSERT((curpcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpudna()
868 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) == 0) { in fpugetregs()
1159 KASSERT((pcb->pcb_flags & PCB_FPUNOSAVE) == 0, in fpu_kern_enter()
1191 if ((pcb->pcb_flags & PCB_FPUINITDONE) != 0) in fpu_kern_enter()
1208 if ((pcb->pcb_flags & PCB_FPUNOSAVE) != 0) { in fpu_kern_leave()
1233 if ((pcb->pcb_flags & PCB_USERFPUINITDONE) != 0) { in fpu_kern_leave()
1235 if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave()
1237 } else if ((pcb->pcb_flags & PCB_KERNFPU_THR) == 0) in fpu_kern_leave()
1270 return ((curpcb->pcb_flags & PCB_KERNFPU_THR) != 0); in is_fpu_kern_thread()
H A Dmachdep.c1600 thread0.td_pcb->pcb_flags = 0; in hammer_time()
1766 : "=m" (pcb->pcb_flags) : "ir" (flags), "m" (pcb->pcb_flags) in set_pcb_flags_raw()
1789 (pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
1791 if ((pcb->pcb_flags & PCB_FULL_IRET) == 0) { in set_pcb_flags_fsgsbase()
1816 : "=m" (pcb->pcb_flags) : "ir" (~flags), "m" (pcb->pcb_flags) in clear_pcb_flags()
H A Dvm_machdep.c164 MPASS((pcb2->pcb_flags & (PCB_KERNFPU | PCB_KERNFPU_THR)) == 0); in copy_thread()
353 if (pcb->pcb_flags & PCB_DBREGS) { in cpu_thread_exit()
/freebsd/sys/arm64/arm64/
H A Dptrace_machdep.c174 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in ptrace_single_step()
185 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in ptrace_clear_single_step()
H A Dfreebsd32_machdep.c237 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext32()
445 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in freebsd32_sendsig()
446 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in freebsd32_sendsig()
H A Dexec_machdep.c136 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_regs()
503 td->td_pcb->pcb_flags |= PCB_SINGLE_STEP; in set_mcontext()
814 if ((td->td_pcb->pcb_flags & PCB_SINGLE_STEP) != 0) { in sendsig()
815 td->td_pcb->pcb_flags &= ~PCB_SINGLE_STEP; in sendsig()
H A Dgenassym.c64 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
/freebsd/sys/arm/include/
H A Dpcb.h50 u_int pcb_flags; member
/freebsd/sys/arm64/include/
H A Dpcb.h59 u_int pcb_flags; member
/freebsd/sys/i386/include/
H A Dpcb.h80 u_int pcb_flags; member
H A Dnpx.h49 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
/freebsd/sys/amd64/include/
H A Dfpu.h49 #define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNFPU) == 0)
H A Dpcb.h78 u_int pcb_flags; member
/freebsd/sys/powerpc/include/
H A Dpcb.h56 int pcb_flags; member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsimd_x86.h53 if (__predict_false(curpcb->pcb_flags & PCB_FPUNOSAVE)) \

12