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

/freebsd-10.3-release/sys/powerpc/include/
H A Dpcb.h83 #ifndef curpcb
84 extern struct pcb *curpcb;
/freebsd-10.3-release/sys/mips/include/
H A Dpcb.h78 extern struct pcb *curpcb; /* the current running pcb */
/freebsd-10.3-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.3-release/sys/amd64/amd64/
H A Dfpu.c372 fpusave(curpcb->pcb_save);
588 pcb_save = curpcb->pcb_save;
607 mxcsr = curpcb->pcb_save->sv_env.en_mxcsr;
655 if ((curpcb->pcb_flags & PCB_FPUINITDONE) == 0) {
666 bcopy(fpu_initialstate, curpcb->pcb_save,
668 fpurestore(curpcb->pcb_save);
669 if (curpcb->pcb_initial_fpucw != __INITIAL_FPUCW__)
670 fldcw(curpcb->pcb_initial_fpucw);
671 if (PCB_USER_FPU(curpcb))
672 set_pcb_flags(curpcb,
[all...]
H A Dtrap.c510 if (curpcb->pcb_onfault != NULL) {
511 frame->tf_rip = (long)curpcb->pcb_onfault;
712 curpcb->pcb_onfault == NULL)) {
776 curpcb->pcb_onfault != NULL) {
777 frame->tf_rip = (long)curpcb->pcb_onfault;
H A Dmachdep.c979 if (pcb == curpcb) {
2037 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-10.3-release/sys/sparc64/include/
H A Dpcpu.h73 register struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
/freebsd-10.3-release/sys/i386/isa/
H A Dnpx.c569 fpusave(curpcb->pcb_save);
886 if ((curpcb->pcb_flags & PCB_NPXINITDONE) == 0) {
897 bcopy(npx_initialstate, curpcb->pcb_save, cpu_max_ext_state_size);
898 fpurstor(curpcb->pcb_save);
899 if (curpcb->pcb_initial_npxcw != __INITIAL_NPXCW__)
900 fldcw(curpcb->pcb_initial_npxcw);
901 curpcb->pcb_flags |= PCB_NPXINITDONE;
902 if (PCB_USER_FPU(curpcb))
903 curpcb->pcb_flags |= PCB_NPXUSERINITDONE;
905 fpurstor(curpcb
[all...]
/freebsd-10.3-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.c1632 if (pcb == curpcb) {
3126 PCPU_SET(curpcb, thread0.td_pcb);
3432 PCPU_SET(curpcb, thread0.td_pcb);
H A Dpmap.c1969 load_cr3(curpcb->pcb_cr3);
1979 load_cr3(curpcb->pcb_cr3);
2046 load_cr3(curpcb->pcb_cr3);
/freebsd-10.3-release/sys/i386/include/
H A Dpcpu.h251 #define curpcb (__curpcb()) macro
/freebsd-10.3-release/sys/amd64/include/
H A Dpcpu.h237 #define curpcb (__curpcb()) macro
/freebsd-10.3-release/sys/powerpc/powerpc/
H A Dmp_machdep.c313 savectx(PCPU_GET(curpcb));
/freebsd-10.3-release/sys/mips/mips/
H A Dmachdep.c306 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-10.3-release/sys/powerpc/aim/
H A Dmachdep.c937 PCPU_SET(curpcb, curthread->td_pcb);
/freebsd-10.3-release/sys/amd64/linux/
H A Dlinux_sysvec.c489 if (pcb == curpcb) {
/freebsd-10.3-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.3-release/sys/amd64/vmm/
H A Dvmm.c1639 pcb = PCPU_GET(curpcb);

Completed in 363 milliseconds