Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/amd64/amd64/
Dfpu.c345 fpusave(curpcb->pcb_save); in fpuexit()
561 pcb_save = curpcb->pcb_save; in fputrap_x87()
580 mxcsr = curpcb->pcb_save->sv_env.en_mxcsr; in fputrap_sse()
624 if ((curpcb->pcb_flags & PCB_FPUINITDONE) == 0) { in fpudna()
635 bcopy(fpu_initialstate, curpcb->pcb_save, cpu_max_ext_state_size); in fpudna()
636 fpurestore(curpcb->pcb_save); in fpudna()
637 if (curpcb->pcb_initial_fpucw != __INITIAL_FPUCW__) in fpudna()
638 fldcw(curpcb->pcb_initial_fpucw); in fpudna()
639 if (PCB_USER_FPU(curpcb)) in fpudna()
640 set_pcb_flags(curpcb, in fpudna()
[all …]
Dtrap.c525 if (curpcb->pcb_onfault != NULL) { in trap()
526 frame->tf_rip = (long)curpcb->pcb_onfault; in trap()
732 curpcb->pcb_onfault == NULL)) {
788 curpcb->pcb_onfault != NULL) {
789 frame->tf_rip = (long)curpcb->pcb_onfault;
793 KASSERT(curpcb->pcb_onfault != NULL,
795 frame->tf_rip = (long)curpcb->pcb_onfault;
Dmachdep.c963 if (pcb == curpcb) { in exec_setregs()
1884 PCPU_SET(curpcb, thread0.td_pcb); in hammer_time()
/freebsd-9-stable/sys/i386/isa/
Dnpx.c381 npxsave(curpcb->pcb_save);
695 if ((curpcb->pcb_flags & PCB_NPXINITDONE) == 0) { in npxdna()
702 if (curpcb->pcb_initial_npxcw != __INITIAL_NPXCW__) in npxdna()
703 fldcw(curpcb->pcb_initial_npxcw); in npxdna()
704 curpcb->pcb_flags |= PCB_NPXINITDONE; in npxdna()
705 if (PCB_USER_FPU(curpcb)) in npxdna()
706 curpcb->pcb_flags |= PCB_NPXUSERINITDONE; in npxdna()
722 fpurstor(curpcb->pcb_save); in npxdna()
1100 pcb = curpcb; in fpu_kern_thread()
1103 KASSERT(curpcb->pcb_save == &curpcb->pcb_user_save, in fpu_kern_thread()
[all …]
/freebsd-9-stable/sys/i386/i386/
Dtrap.c327 !(curpcb->pcb_flags & PCB_VM86CALL))) { in trap()
597 if (curpcb->pcb_flags & PCB_VM86CALL) in trap()
610 curpcb->pcb_gs = 0; in trap()
648 if (curpcb->pcb_onfault != NULL) { in trap()
650 (int)curpcb->pcb_onfault; in trap()
700 !(curpcb->pcb_flags & PCB_VM86CALL)) { in trap()
893 curpcb->pcb_onfault == NULL)) {
951 curpcb->pcb_onfault != NULL) {
952 frame->tf_eip = (int)curpcb->pcb_onfault;
Dvm86.c146 if (curpcb->pcb_ext == 0)
148 vm86 = &curpcb->pcb_ext->ext_vm86;
538 vm86 = &curpcb->pcb_ext->ext_vm86; in vm86_prepcall()
Dmachdep.c1554 if (pcb == curpcb) { in exec_setregs()
2656 PCPU_SET(curpcb, thread0.td_pcb);
2862 PCPU_SET(curpcb, thread0.td_pcb);
Dpmap.c1994 load_cr3(curpcb->pcb_cr3); in pmap_lazyfix_action()
2004 load_cr3(curpcb->pcb_cr3); in pmap_lazyfix_self()
2071 load_cr3(curpcb->pcb_cr3); in pmap_lazyfix()
/freebsd-9-stable/sys/powerpc/include/
Dpcb.h84 #ifndef curpcb
85 extern struct pcb *curpcb;
/freebsd-9-stable/sys/mips/include/
Dpcb.h78 extern struct pcb *curpcb; /* the current running pcb */
/freebsd-9-stable/sys/sparc64/include/
Dpcpu.h72 register struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
/freebsd-9-stable/sys/amd64/include/
Dpcpu.h253 #define curpcb (__curpcb()) macro
/freebsd-9-stable/sys/i386/include/
Dpcpu.h268 #define curpcb (__curpcb()) macro
/freebsd-9-stable/sys/mips/mips/
Dmachdep.c303 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
/freebsd-9-stable/sys/powerpc/powerpc/
Dmp_machdep.c308 savectx(PCPU_GET(curpcb)); in powerpc_ipi_handler()
/freebsd-9-stable/sys/arm/arm/
Dpmap.c2485 struct pcb *curpcb = PCPU_GET(curpcb); in pmap_release() local
2505 curpcb->pcb_pl1vec = pcb->pcb_pl1vec; in pmap_release()
2506 curpcb->pcb_l1vec = pcb->pcb_l1vec; in pmap_release()
2507 curpcb->pcb_dacr = pcb->pcb_dacr; in pmap_release()
2508 curpcb->pcb_pagedir = pcb->pcb_pagedir; in pmap_release()
/freebsd-9-stable/sys/i386/xen/
Dpmap.c1678 load_cr3(PCPU_GET(curpcb)->pcb_cr3); in pmap_lazyfix_action()
1688 load_cr3(PCPU_GET(curpcb)->pcb_cr3); in pmap_lazyfix_self()
1755 load_cr3(PCPU_GET(curpcb)->pcb_cr3); in pmap_lazyfix()
/freebsd-9-stable/sys/pc98/pc98/
Dmachdep.c1366 if (pcb == curpcb) { in exec_setregs()
2183 PCPU_SET(curpcb, thread0.td_pcb);