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

/freebsd-9.3-release/sys/powerpc/include/
H A Dpcb.h84 #ifndef curpcb
85 extern struct pcb *curpcb;
/freebsd-9.3-release/sys/mips/include/
H A Dpcb.h78 extern struct pcb *curpcb; /* the current running pcb */
/freebsd-9.3-release/sys/amd64/amd64/
H A Dfpu.c345 fpusave(curpcb->pcb_save);
561 pcb_save = curpcb->pcb_save;
580 mxcsr = curpcb->pcb_save->sv_env.en_mxcsr;
624 if ((curpcb->pcb_flags & PCB_FPUINITDONE) == 0) {
635 bcopy(fpu_initialstate, curpcb->pcb_save, cpu_max_ext_state_size);
636 fpurestore(curpcb->pcb_save);
637 if (curpcb->pcb_initial_fpucw != __INITIAL_FPUCW__)
638 fldcw(curpcb->pcb_initial_fpucw);
639 if (PCB_USER_FPU(curpcb))
640 set_pcb_flags(curpcb,
[all...]
H A Dtrap.c519 if (curpcb->pcb_onfault != NULL) {
520 frame->tf_rip = (long)curpcb->pcb_onfault;
726 curpcb->pcb_onfault == NULL)) {
782 curpcb->pcb_onfault != NULL) {
783 frame->tf_rip = (long)curpcb->pcb_onfault;
787 KASSERT(curpcb->pcb_onfault != NULL,
789 frame->tf_rip = (long)curpcb->pcb_onfault;
H A Dmachdep.c961 if (pcb == curpcb) {
1851 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-9.3-release/sys/i386/isa/
H A Dnpx.c381 npxsave(curpcb->pcb_save);
695 if ((curpcb->pcb_flags & PCB_NPXINITDONE) == 0) {
702 if (curpcb->pcb_initial_npxcw != __INITIAL_NPXCW__)
703 fldcw(curpcb->pcb_initial_npxcw);
704 curpcb->pcb_flags |= PCB_NPXINITDONE;
705 if (PCB_USER_FPU(curpcb))
706 curpcb->pcb_flags |= PCB_NPXUSERINITDONE;
722 fpurstor(curpcb->pcb_save);
1100 pcb = curpcb;
1103 KASSERT(curpcb
[all...]
/freebsd-9.3-release/sys/sparc64/include/
H A Dpcpu.h72 register struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
/freebsd-9.3-release/sys/i386/i386/
H A Dtrap.c342 !(curpcb->pcb_flags & PCB_VM86CALL))) {
591 if (curpcb->pcb_flags & PCB_VM86CALL)
604 curpcb->pcb_gs = 0;
642 if (curpcb->pcb_onfault != NULL) {
644 (int)curpcb->pcb_onfault;
694 !(curpcb->pcb_flags & PCB_VM86CALL)) {
887 curpcb->pcb_onfault == NULL)) {
945 curpcb->pcb_onfault != NULL) {
946 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.c1552 if (pcb == curpcb) {
2633 PCPU_SET(curpcb, thread0.td_pcb);
2839 PCPU_SET(curpcb, thread0.td_pcb);
H A Dpmap.c1989 load_cr3(curpcb->pcb_cr3);
1999 load_cr3(curpcb->pcb_cr3);
2066 load_cr3(curpcb->pcb_cr3);
/freebsd-9.3-release/sys/amd64/include/
H A Dpcpu.h253 #define curpcb (__curpcb()) macro
/freebsd-9.3-release/sys/i386/include/
H A Dpcpu.h268 #define curpcb (__curpcb()) macro
/freebsd-9.3-release/sys/powerpc/powerpc/
H A Dmp_machdep.c308 savectx(PCPU_GET(curpcb));
/freebsd-9.3-release/sys/mips/mips/
H A Dmachdep.c303 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-9.3-release/sys/arm/arm/
H A Dpmap.c2485 struct pcb *curpcb = PCPU_GET(curpcb); local
2505 curpcb->pcb_pl1vec = pcb->pcb_pl1vec;
2506 curpcb->pcb_l1vec = pcb->pcb_l1vec;
2507 curpcb->pcb_dacr = pcb->pcb_dacr;
2508 curpcb->pcb_pagedir = pcb->pcb_pagedir;
/freebsd-9.3-release/sys/pc98/pc98/
H A Dmachdep.c1366 if (pcb == curpcb) {
2183 PCPU_SET(curpcb, thread0.td_pcb);
/freebsd-9.3-release/sys/i386/xen/
H A Dpmap.c1678 load_cr3(PCPU_GET(curpcb)->pcb_cr3);
1688 load_cr3(PCPU_GET(curpcb)->pcb_cr3);
1755 load_cr3(PCPU_GET(curpcb)->pcb_cr3);

Completed in 221 milliseconds