Home
last modified time | relevance | path

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

123

/NextBSD/sys/arm/arm/
HDvfp.c118 PCPU_SET(vfpsid, fpsid); /* save the fpsid */ in vfp_init()
125 PCPU_SET(vfpmvfr0, tmp); in vfp_init()
131 PCPU_SET(vfpmvfr1, tmp); in vfp_init()
216 PCPU_SET(fpcurthread, curthread); in vfp_bounce()
304 PCPU_SET(fpcurthread, NULL); in vfp_discard()
/NextBSD/sys/i386/i386/
HDmp_machdep.c261 PCPU_SET(currentldt, _default_ldt); in init_secondary()
265 PCPU_SET(common_tss.tss_esp0, 0); /* not used until after switch */ in init_secondary()
266 PCPU_SET(common_tss.tss_ss0, GSEL(GDATA_SEL, SEL_KPL)); in init_secondary()
267 PCPU_SET(common_tss.tss_ioopt, (sizeof (struct i386tss)) << 16); in init_secondary()
268 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary()
269 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init_secondary()
272 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd); in init_secondary()
/NextBSD/sys/sparc64/sparc64/
HDtick.c302 PCPU_SET(tickref, ref); in tick_intr()
303 PCPU_SET(tickadj, adj); in tick_intr()
366 PCPU_SET(tickincrement, div); in tick_et_start()
376 PCPU_SET(tickadj, 0); in tick_et_start()
379 PCPU_SET(tickref, base); in tick_et_start()
389 PCPU_SET(tickincrement, 0); in tick_et_stop()
/NextBSD/sys/arm64/arm64/
HDvfp.c79 PCPU_SET(fpcurthread, NULL); in vfp_discard()
186 PCPU_SET(fpcurthread, curthread); in vfp_restore_state()
/NextBSD/sys/powerpc/powerpc/
HDmp_machdep.c76 PCPU_SET(pir, mfspr(SPR_PIR)); in machdep_ap_bootstrap()
77 PCPU_SET(awake, 1); in machdep_ap_bootstrap()
229 PCPU_SET(pir, mfspr(SPR_PIR)); in cpu_mp_unleash()
HDaltivec.c101 PCPU_SET(vecthread, td); in enable_vec()
161 PCPU_SET(vecthread, NULL); in save_vec()
HDfpu.c61 PCPU_SET(fputhread, td); in enable_fpu()
187 PCPU_SET(fputhread, NULL); in save_fpu()
/NextBSD/sys/i386/include/
HDpcpu.h74 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
194 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
/NextBSD/sys/powerpc/aim/
HDaim_machdep.c579 PCPU_SET(restore, &resetjb); in cpu_sleep()
610 PCPU_SET(curthread, curthread); in cpu_sleep()
611 PCPU_SET(curpcb, curthread->td_pcb); in cpu_sleep()
/NextBSD/sys/amd64/include/
HDpcpu.h84 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
209 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
/NextBSD/sys/kern/
HDkern_synch.c459 PCPU_SET(switchtime, new_switchtime); in mi_switch()
462 PCPU_SET(switchticks, ticks); in mi_switch()
491 PCPU_SET(deadthread, NULL); in mi_switch()
HDkern_idle.c72 PCPU_SET(idlethread, td); in idle_setup()
/NextBSD/sys/riscv/include/
HDpcpu.h70 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/NextBSD/sys/arm64/include/
HDpcpu.h72 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/NextBSD/sys/mips/include/
HDpcpu.h72 #define PCPU_SET(member,value) (PCPUP->pc_ ## member = (value)) macro
/NextBSD/sys/arm/include/
HDpcpu.h123 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/NextBSD/sys/sparc64/include/
HDpcpu.h96 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/NextBSD/sys/x86/acpica/
HDacpi_wakeup.c279 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
280 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/NextBSD/sys/mips/mips/
HDmachdep.c271 PCPU_SET(curthread, &thread0); in mips_pcpu0_init()
303 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
/NextBSD/sys/amd64/amd64/
HDmachdep.c1566 PCPU_SET(prvspace, pc); in hammer_time()
1567 PCPU_SET(curthread, &thread0); in hammer_time()
1568 PCPU_SET(tssp, &common_tss[0]); in hammer_time()
1569 PCPU_SET(commontssp, &common_tss[0]); in hammer_time()
1570 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in hammer_time()
1571 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in hammer_time()
1572 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in hammer_time()
1573 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in hammer_time()
1720 PCPU_SET(rsp0, common_tss[0].tss_rsp0); in hammer_time()
1721 PCPU_SET(curpcb, thread0.td_pcb); in hammer_time()
HDfpu.c372 PCPU_SET(fpcurthread, NULL); in fpuexit()
649 PCPU_SET(fpcurthread, curthread); in fpudna()
686 PCPU_SET(fpcurthread, NULL); in fpudrop()
/NextBSD/sys/powerpc/include/
HDpcpu.h169 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/NextBSD/sys/i386/isa/
HDnpx.c561 PCPU_SET(fpcurthread, NULL);
869 PCPU_SET(fpcurthread, curthread); in npxdna()
923 PCPU_SET(fpcurthread, NULL);
979 PCPU_SET(fpcurthread, NULL); in npxdrop()
/NextBSD/sys/x86/xen/
HDpvcpu_enum.c168 PCPU_SET(vcpu_id, 0); in xenpv_setup_local()
/NextBSD/sys/x86/x86/
HDmp_x86.c531 PCPU_SET(curthread, PCPU_GET(idlethread)); in init_secondary_tail()
993 PCPU_SET(switchtime, 0); in cpususpend_handler()
994 PCPU_SET(switchticks, ticks); in cpususpend_handler()

123