/freebsd-12-stable/sys/amd64/include/ |
H A D | pcpu_aux.h | 60 #define curpcb (&curthread->td_md.md_pcb) macro
|
/freebsd-12-stable/sys/i386/include/ |
H A D | pcpu_aux.h | 69 #define curpcb (__curpcb()) macro
|
/freebsd-12-stable/sys/powerpc/include/ |
H A D | pcb.h | 99 #ifndef curpcb 100 extern struct pcb *curpcb;
|
/freebsd-12-stable/sys/arm64/arm64/ |
H A D | vfp.c | 204 struct pcb *curpcb; local 210 curpcb = curthread->td_pcb; 211 curpcb->pcb_fpflags |= PCB_FP_STARTED; 220 if (PCPU_GET(fpcurthread) != curthread || cpu != curpcb->pcb_vfpcpu) { 224 curpcb->pcb_vfpcpu = cpu; 374 struct pcb *curpcb; local 378 curpcb = curthread->td_pcb; 379 return ((curpcb->pcb_fpflags & PCB_FP_KERN) != 0);
|
H A D | machdep.c | 446 struct pcb *curpcb; local 450 curpcb = curthread->td_pcb; 452 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { 457 vfp_save_state(td, curpcb); 459 KASSERT(curpcb->pcb_fpusaved == &curpcb->pcb_fpustate, 461 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, 463 memcpy(mcp->mc_fpregs.fp_q, curpcb->pcb_fpustate.vfp_regs, 465 mcp->mc_fpregs.fp_cr = curpcb->pcb_fpustate.vfp_fpcr; 466 mcp->mc_fpregs.fp_sr = curpcb 479 struct pcb *curpcb; local [all...] |
H A D | mp_machdep.c | 327 MPASS(PCPU_GET(curpcb) == NULL);
|
/freebsd-12-stable/sys/arm/arm/ |
H A D | vfp.c | 181 struct pcb *curpcb; local 226 curpcb = curthread->td_pcb; 228 if (curpcb->pcb_vfpcpu != cpu || curthread != PCPU_GET(fpcurthread)) { 229 vfp_restore(&curpcb->pcb_vfpstate); 230 curpcb->pcb_vfpcpu = cpu;
|
H A D | pmap-v4.c | 2135 struct pcb *curpcb = PCPU_GET(curpcb); local 2155 curpcb->pcb_pl1vec = pcb->pcb_pl1vec; 2156 curpcb->pcb_l1vec = pcb->pcb_l1vec; 2157 curpcb->pcb_dacr = pcb->pcb_dacr; 2158 curpcb->pcb_pagedir = pcb->pcb_pagedir;
|
/freebsd-12-stable/sys/sparc64/include/ |
H A D | pcpu.h | 76 register struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
|
/freebsd-12-stable/sys/riscv/riscv/ |
H A D | machdep.c | 399 struct pcb *curpcb; local 403 curpcb = curthread->td_pcb; 405 KASSERT(td->td_pcb == curpcb, ("Invalid fpe pcb")); 407 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { 414 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, 416 memcpy(mcp->mc_fpregs.fp_x, curpcb->pcb_x, 418 mcp->mc_fpregs.fp_fcsr = curpcb->pcb_fcsr; 419 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; 431 struct pcb *curpcb; local 441 curpcb [all...] |
H A D | mp_machdep.c | 290 MPASS(PCPU_GET(curpcb) == NULL);
|
/freebsd-12-stable/sys/i386/i386/ |
H A D | trap.c | 291 (curpcb->pcb_flags & PCB_VM86CALL) == 0) 304 if (TRAPF_USERMODE(frame) && (curpcb->pcb_flags & PCB_VM86CALL) == 0) { 521 if (curpcb->pcb_flags & PCB_VM86CALL) 534 curpcb->pcb_gs = 0; 591 if (curpcb->pcb_onfault != NULL) { 592 frame->tf_eip = (int)curpcb->pcb_onfault; 630 !(curpcb->pcb_flags & PCB_VM86CALL)) 877 curpcb->pcb_onfault != NULL) { 878 frame->tf_eip = (int)curpcb->pcb_onfault; 1130 (curpcb [all...] |
H A D | npx.c | 564 fpusave(curpcb->pcb_save); 1482 KASSERT(curpcb->pcb_save == get_pcb_user_save_pcb(curpcb), 1484 KASSERT(PCB_USER_FPU(curpcb), ("recursive call")); 1486 curpcb->pcb_flags |= PCB_KERNNPX | PCB_KERNNPX_THR; 1496 return ((curpcb->pcb_flags & PCB_KERNNPX_THR) != 0);
|
H A D | vm86.c | 196 if (curpcb->pcb_ext == 0) 198 vm86 = &curpcb->pcb_ext->ext_vm86; 588 vm86 = &curpcb->pcb_ext->ext_vm86;
|
H A D | machdep.c | 1154 if (pcb == curpcb) { 2506 PCPU_SET(curpcb, thread0.td_pcb);
|
/freebsd-12-stable/sys/amd64/amd64/ |
H A D | fpu.c | 512 fpusave(curpcb->pcb_save); 728 pcb_save = curpcb->pcb_save; 747 mxcsr = curpcb->pcb_save->sv_env.en_mxcsr; 817 KASSERT((curpcb->pcb_flags & PCB_FPUNOSAVE) == 0, 1153 fpusave(curpcb->pcb_save); 1243 KASSERT(curpcb->pcb_save == get_pcb_user_save_pcb(curpcb), 1245 KASSERT(PCB_USER_FPU(curpcb), ("recursive call")); 1247 set_pcb_flags(curpcb, PCB_KERNFPU | PCB_KERNFPU_THR); 1257 return ((curpcb [all...] |
H A D | trap.c | 489 if (curpcb->pcb_onfault != NULL) { 490 frame->tf_rip = (long)curpcb->pcb_onfault; 671 (curpcb->pcb_saved_ucr3 & ~CR3_PCID_MASK) == 772 trap_is_smap(frame) || curpcb->pcb_onfault == NULL)) { 844 curpcb->pcb_onfault != NULL) { 845 frame->tf_rip = (long)curpcb->pcb_onfault;
|
H A D | machdep.c | 608 if (pcb == curpcb) { 1593 PCPU_SET(curpcb, thread0.td_pcb); 2680 if (curpcb == pcb &&
|
/freebsd-12-stable/sys/mips/include/ |
H A D | pcb.h | 135 extern struct pcb *curpcb; /* the current running pcb */
|
/freebsd-12-stable/sys/powerpc/powerpc/ |
H A D | mp_machdep.c | 318 savectx(PCPU_GET(curpcb));
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | machdep.c | 305 PCPU_SET(curpcb, thread0.td_pcb);
|
/freebsd-12-stable/sys/amd64/vmm/intel/ |
H A D | vmx_msr.c | 356 update_pcb_bases(curpcb);
|
/freebsd-12-stable/sys/powerpc/aim/ |
H A D | aim_machdep.c | 699 PCPU_SET(curpcb, curthread->td_pcb);
|
/freebsd-12-stable/sys/x86/x86/ |
H A D | mp_x86.c | 1082 MPASS(PCPU_GET(curpcb) == NULL);
|
/freebsd-12-stable/sys/amd64/vmm/ |
H A D | vmm.c | 1710 pcb = PCPU_GET(curpcb);
|