Home
last modified time | relevance | path

Searched refs:PCPU_SET (Results 1 – 25 of 61) sorted by relevance

123

/freebsd-9-stable/sys/ia64/ia64/
Dclock.c86 PCPU_SET(md.clock, itc); in ia64_ih_clock()
115 PCPU_SET(md.clock_mode, CLOCK_ET_PERIODIC); in ia64_clock_start()
120 PCPU_SET(md.clock_mode, CLOCK_ET_ONESHOT); in ia64_clock_start()
124 PCPU_SET(md.clock_load, load); in ia64_clock_start()
150 PCPU_SET(md.clock_mode, CLOCK_ET_OFF); in ia64_clock_stop()
151 PCPU_SET(md.clock_load, 0); in ia64_clock_stop()
Dhighfp.c110 PCPU_SET(fpcurthread, NULL); in ia64_highfp_enable()
118 PCPU_SET(fpcurthread, td); in ia64_highfp_enable()
172 PCPU_SET(fpcurthread, NULL); in ia64_highfp_save_ipi()
/freebsd-9-stable/sys/sparc64/sparc64/
Dtick.c304 PCPU_SET(tickref, ref); in tick_intr()
305 PCPU_SET(tickadj, adj); in tick_intr()
373 PCPU_SET(tickincrement, div); in tick_et_start()
383 PCPU_SET(tickadj, 0); in tick_et_start()
386 PCPU_SET(tickref, base); in tick_et_start()
396 PCPU_SET(tickincrement, 0); in tick_et_stop()
/freebsd-9-stable/sys/i386/xen/
Dmp_machdep.c532 PCPU_SET(currentldt, _default_ldt); in init_secondary()
537 PCPU_SET(common_tss.tss_esp0, 0); /* not used until after switch */ in init_secondary()
538 PCPU_SET(common_tss.tss_ss0, GSEL(GDATA_SEL, SEL_KPL)); in init_secondary()
539 PCPU_SET(common_tss.tss_ioopt, (sizeof (struct i386tss)) << 16); in init_secondary()
541 PCPU_SET(tss_gdt, &gdt[bootAP * NGDT + GPROC0_SEL].sd); in init_secondary()
543 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init_secondary()
545 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init_secondary()
594 PCPU_SET(curthread, PCPU_GET(idlethread)); in init_secondary()
632 PCPU_SET(curthread, PCPU_GET(idlethread)); in init_secondary()
/freebsd-9-stable/sys/i386/i386/
Dmp_machdep.c698 PCPU_SET(currentldt, _default_ldt); in init_secondary()
702 PCPU_SET(common_tss.tss_esp0, 0); /* not used until after switch */ in init_secondary()
703 PCPU_SET(common_tss.tss_ss0, GSEL(GDATA_SEL, SEL_KPL)); in init_secondary()
704 PCPU_SET(common_tss.tss_ioopt, (sizeof (struct i386tss)) << 16); in init_secondary()
705 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary()
706 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init_secondary()
709 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd); in init_secondary()
774 PCPU_SET(curthread, PCPU_GET(idlethread)); in init_secondary()
1527 PCPU_SET(switchtime, 0); in cpususpend_handler()
1528 PCPU_SET(switchticks, ticks); in cpususpend_handler()
Dsys_machdep.c330 PCPU_SET(private_tss, 1); in i386_extend_pcb()
426 PCPU_SET(currentldt, (int)pldt); in set_user_ldt()
434 PCPU_SET(currentldt, GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt()
555 PCPU_SET(currentldt, (int)&default_proc_ldt); in user_ldt_free()
558 PCPU_SET(currentldt, _default_ldt); in user_ldt_free()
Dmachdep.c2654 PCPU_SET(prvspace, pc);
2655 PCPU_SET(curthread, &thread0);
2656 PCPU_SET(curpcb, thread0.td_pcb);
2680 PCPU_SET(currentldt, _default_ldt);
2740 PCPU_SET(common_tss.tss_esp0, thread0.td_kstack +
2742 PCPU_SET(common_tss.tss_ss0, GSEL(GDATA_SEL, SEL_KPL));
2748 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd);
2860 PCPU_SET(prvspace, pc);
2861 PCPU_SET(curthread, &thread0);
2862 PCPU_SET(curpcb, thread0.td_pcb);
[all …]
/freebsd-9-stable/sys/powerpc/powerpc/
Daltivec.c61 PCPU_SET(vecthread, td); in enable_vec()
150 PCPU_SET(vecthread, NULL); in save_vec()
Dfpu.c61 PCPU_SET(fputhread, td); in enable_fpu()
149 PCPU_SET(fputhread, NULL); in save_fpu()
Dmp_machdep.c76 PCPU_SET(pir, mfspr(SPR_PIR)); in machdep_ap_bootstrap()
77 PCPU_SET(awake, 1); in machdep_ap_bootstrap()
225 PCPU_SET(pir, mfspr(SPR_PIR)); in cpu_mp_unleash()
/freebsd-9-stable/sys/amd64/include/
Dpcpu.h98 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
223 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
/freebsd-9-stable/sys/i386/include/
Dpcpu.h118 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
238 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
/freebsd-9-stable/sys/kern/
Dkern_synch.c465 PCPU_SET(switchtime, new_switchtime); in mi_switch()
468 PCPU_SET(switchticks, ticks); in mi_switch()
495 PCPU_SET(deadthread, NULL); in mi_switch()
Dkern_idle.c72 PCPU_SET(idlethread, td); in idle_setup()
/freebsd-9-stable/sys/arm/include/
Dpcpu.h62 #define PCPU_SET(member,value) (__pcpu.pc_ ## member = (value)) macro
/freebsd-9-stable/sys/mips/mips/
Dmachdep.c271 PCPU_SET(curthread, &thread0); in mips_pcpu0_init()
303 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
/freebsd-9-stable/sys/i386/acpica/
Dacpi_wakeup.c285 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
286 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/freebsd-9-stable/sys/mips/include/
Dpcpu.h55 #define PCPU_SET(member,value) (PCPUP->pc_ ## member = (value)) macro
/freebsd-9-stable/sys/sparc64/include/
Dpcpu.h94 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/freebsd-9-stable/sys/ia64/include/
Dpcpu.h94 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/freebsd-9-stable/sys/amd64/acpica/
Dacpi_wakeup.c299 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
300 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/freebsd-9-stable/sys/amd64/amd64/
Dmachdep.c1738 PCPU_SET(prvspace, pc); in hammer_time()
1739 PCPU_SET(curthread, &thread0); in hammer_time()
1740 PCPU_SET(tssp, &common_tss[0]); in hammer_time()
1741 PCPU_SET(commontssp, &common_tss[0]); in hammer_time()
1742 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in hammer_time()
1743 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in hammer_time()
1744 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in hammer_time()
1745 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in hammer_time()
1883 PCPU_SET(rsp0, common_tss[0].tss_rsp0); in hammer_time()
1884 PCPU_SET(curpcb, thread0.td_pcb); in hammer_time()
Dfpu.c347 PCPU_SET(fpcurthread, 0); in fpuexit()
620 PCPU_SET(fpcurthread, curthread); in fpudna()
657 PCPU_SET(fpcurthread, NULL); in fpudrop()
/freebsd-9-stable/sys/powerpc/include/
Dpcpu.h158 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/freebsd-9-stable/sys/i386/isa/
Dnpx.c688 PCPU_SET(fpcurthread, curthread); in npxdna()
761 PCPU_SET(fpcurthread, NULL);
781 PCPU_SET(fpcurthread, NULL); in npxdrop()

123