| /NextBSD/sys/arm/arm/ |
| HD | vfp.c | 118 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/ |
| HD | mp_machdep.c | 261 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/ |
| HD | tick.c | 302 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/ |
| HD | vfp.c | 79 PCPU_SET(fpcurthread, NULL); in vfp_discard() 186 PCPU_SET(fpcurthread, curthread); in vfp_restore_state()
|
| /NextBSD/sys/powerpc/powerpc/ |
| HD | mp_machdep.c | 76 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()
|
| HD | altivec.c | 101 PCPU_SET(vecthread, td); in enable_vec() 161 PCPU_SET(vecthread, NULL); in save_vec()
|
| HD | fpu.c | 61 PCPU_SET(fputhread, td); in enable_fpu() 187 PCPU_SET(fputhread, NULL); in save_fpu()
|
| /NextBSD/sys/i386/include/ |
| HD | pcpu.h | 74 #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/ |
| HD | aim_machdep.c | 579 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/ |
| HD | pcpu.h | 84 #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/ |
| HD | kern_synch.c | 459 PCPU_SET(switchtime, new_switchtime); in mi_switch() 462 PCPU_SET(switchticks, ticks); in mi_switch() 491 PCPU_SET(deadthread, NULL); in mi_switch()
|
| HD | kern_idle.c | 72 PCPU_SET(idlethread, td); in idle_setup()
|
| /NextBSD/sys/riscv/include/ |
| HD | pcpu.h | 70 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
| /NextBSD/sys/arm64/include/ |
| HD | pcpu.h | 72 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
| /NextBSD/sys/mips/include/ |
| HD | pcpu.h | 72 #define PCPU_SET(member,value) (PCPUP->pc_ ## member = (value)) macro
|
| /NextBSD/sys/arm/include/ |
| HD | pcpu.h | 123 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
| /NextBSD/sys/sparc64/include/ |
| HD | pcpu.h | 96 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
| /NextBSD/sys/x86/acpica/ |
| HD | acpi_wakeup.c | 279 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep() 280 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
|
| /NextBSD/sys/mips/mips/ |
| HD | machdep.c | 271 PCPU_SET(curthread, &thread0); in mips_pcpu0_init() 303 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
|
| /NextBSD/sys/amd64/amd64/ |
| HD | machdep.c | 1566 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()
|
| HD | fpu.c | 372 PCPU_SET(fpcurthread, NULL); in fpuexit() 649 PCPU_SET(fpcurthread, curthread); in fpudna() 686 PCPU_SET(fpcurthread, NULL); in fpudrop()
|
| /NextBSD/sys/powerpc/include/ |
| HD | pcpu.h | 169 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
| /NextBSD/sys/i386/isa/ |
| HD | npx.c | 561 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/ |
| HD | pvcpu_enum.c | 168 PCPU_SET(vcpu_id, 0); in xenpv_setup_local()
|
| /NextBSD/sys/x86/x86/ |
| HD | mp_x86.c | 531 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()
|