Searched refs:curpcb (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.2-release/sys/powerpc/include/
H A Dpcb.h83 #ifndef curpcb
84 extern struct pcb *curpcb;
/freebsd-10.2-release/sys/mips/include/
H A Dpcb.h78 extern struct pcb *curpcb; /* the current running pcb */
/freebsd-10.2-release/sys/arm/arm/
H A Dvfp.c156 struct pcb *curpcb; local
201 curpcb = curthread->td_pcb;
203 if (curpcb->pcb_vfpcpu != cpu || curthread != PCPU_GET(fpcurthread)) {
204 vfp_restore(&curpcb->pcb_vfpstate);
205 curpcb->pcb_vfpcpu = cpu;
H A Dpmap-v6.c1997 struct pcb *curpcb = PCPU_GET(curpcb); local
2017 curpcb->pcb_pl1vec = pcb->pcb_pl1vec;
2018 curpcb->pcb_l1vec = pcb->pcb_l1vec;
2019 curpcb->pcb_dacr = pcb->pcb_dacr;
2020 curpcb->pcb_pagedir = pcb->pcb_pagedir;
H A Dpmap.c2371 struct pcb *curpcb = PCPU_GET(curpcb); local
2391 curpcb->pcb_pl1vec = pcb->pcb_pl1vec;
2392 curpcb->pcb_l1vec = pcb->pcb_l1vec;
2393 curpcb->pcb_dacr = pcb->pcb_dacr;
2394 curpcb->pcb_pagedir = pcb->pcb_pagedir;
/freebsd-10.2-release/sys/amd64/amd64/
H A Dfpu.c370 fpusave(curpcb->pcb_save);
586 pcb_save = curpcb->pcb_save;
605 mxcsr = curpcb->pcb_save->sv_env.en_mxcsr;
653 if ((curpcb->pcb_flags & PCB_FPUINITDONE) == 0) {
664 bcopy(fpu_initialstate, curpcb->pcb_save, cpu_max_ext_state_size);
665 fpurestore(curpcb->pcb_save);
666 if (curpcb->pcb_initial_fpucw != __INITIAL_FPUCW__)
667 fldcw(curpcb->pcb_initial_fpucw);
668 if (PCB_USER_FPU(curpcb))
669 set_pcb_flags(curpcb,
[all...]
H A Dtrap.c503 if (curpcb->pcb_onfault != NULL) {
504 frame->tf_rip = (long)curpcb->pcb_onfault;
705 curpcb->pcb_onfault == NULL)) {
769 curpcb->pcb_onfault != NULL) {
770 frame->tf_rip = (long)curpcb->pcb_onfault;
H A Dmachdep.c983 if (pcb == curpcb) {
2023 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-10.2-release/sys/sparc64/include/
H A Dpcpu.h73 register struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
/freebsd-10.2-release/sys/i386/isa/
H A Dnpx.c568 fpusave(curpcb->pcb_save);
885 if ((curpcb->pcb_flags & PCB_NPXINITDONE) == 0) {
896 bcopy(npx_initialstate, curpcb->pcb_save, cpu_max_ext_state_size);
897 fpurstor(curpcb->pcb_save);
898 if (curpcb->pcb_initial_npxcw != __INITIAL_NPXCW__)
899 fldcw(curpcb->pcb_initial_npxcw);
900 curpcb->pcb_flags |= PCB_NPXINITDONE;
901 if (PCB_USER_FPU(curpcb))
902 curpcb->pcb_flags |= PCB_NPXUSERINITDONE;
904 fpurstor(curpcb
[all...]
/freebsd-10.2-release/sys/i386/i386/
H A Dtrap.c306 !(curpcb->pcb_flags & PCB_VM86CALL))) {
576 if (curpcb->pcb_flags & PCB_VM86CALL)
589 curpcb->pcb_gs = 0;
627 if (curpcb->pcb_onfault != NULL) {
629 (int)curpcb->pcb_onfault;
679 !(curpcb->pcb_flags & PCB_VM86CALL)) {
875 curpcb->pcb_onfault == NULL)) {
933 curpcb->pcb_onfault != NULL) {
934 frame->tf_eip = (int)curpcb->pcb_onfault;
H A Dvm86.c146 if (curpcb->pcb_ext == 0)
148 vm86 = &curpcb->pcb_ext->ext_vm86;
538 vm86 = &curpcb->pcb_ext->ext_vm86;
H A Dmachdep.c1640 if (pcb == curpcb) {
3111 PCPU_SET(curpcb, thread0.td_pcb);
3416 PCPU_SET(curpcb, thread0.td_pcb);
H A Dpmap.c1944 load_cr3(curpcb->pcb_cr3);
1954 load_cr3(curpcb->pcb_cr3);
2021 load_cr3(curpcb->pcb_cr3);
/freebsd-10.2-release/sys/i386/include/
H A Dpcpu.h251 #define curpcb (__curpcb()) macro
/freebsd-10.2-release/sys/amd64/include/
H A Dpcpu.h237 #define curpcb (__curpcb()) macro
/freebsd-10.2-release/sys/powerpc/powerpc/
H A Dmp_machdep.c313 savectx(PCPU_GET(curpcb));
/freebsd-10.2-release/sys/mips/mips/
H A Dmachdep.c306 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-10.2-release/sys/powerpc/aim/
H A Dmachdep.c937 PCPU_SET(curpcb, curthread->td_pcb);
/freebsd-10.2-release/sys/i386/xen/
H A Dpmap.c1674 load_cr3(PCPU_GET(curpcb)->pcb_cr3);
1684 load_cr3(PCPU_GET(curpcb)->pcb_cr3);
1751 load_cr3(PCPU_GET(curpcb)->pcb_cr3);
/freebsd-10.2-release/sys/amd64/vmm/
H A Dvmm.c1544 pcb = PCPU_GET(curpcb);

Completed in 356 milliseconds