Home
last modified time | relevance | path

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

12

/f-stack/freebsd/arm64/arm64/
H A Dcpu_errata.c117 PCPU_SET(bp_harden, smccc_arch_workaround_1); in install_psci_bp_hardening()
149 PCPU_SET(ssbd, smccc_arch_workaround_2); in install_ssbd_workaround()
166 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
170 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
173 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
H A Dvfp.c97 PCPU_SET(fpcurthread, NULL); in vfp_discard()
223 PCPU_SET(fpcurthread, curthread); in vfp_restore_state()
288 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
/f-stack/freebsd/i386/i386/
H A Dmp_machdep.c266 PCPU_SET(currentldt, _default_ldt); in init_secondary()
268 PCPU_SET(trampstk, (uintptr_t)ap_tramp_stack_base + TRAMP_STACK_SZ - in init_secondary()
276 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary()
277 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init_secondary()
280 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd); in init_secondary()
281 PCPU_SET(copyout_buf, ap_copyout_buf); in init_secondary()
622 PCPU_SET(smp_tlb_done, generation); in invltlb_handler()
640 PCPU_SET(smp_tlb_done, generation); in invlpg_handler()
666 PCPU_SET(smp_tlb_done, generation); in invlrng_handler()
687 PCPU_SET(smp_tlb_done, generation); in invlcache_handler()
H A Dnpx.c568 PCPU_SET(fpcurthread, NULL); in npxexit()
844 PCPU_SET(fpcurthread, td); in restore_npx_curthread()
939 PCPU_SET(fpcurthread, NULL); in npxswitch()
996 PCPU_SET(fpcurthread, NULL); in npxdrop()
1438 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
H A Dmachdep.c2380 PCPU_SET(prvspace, pc); in init386()
2381 PCPU_SET(curthread, &thread0); in init386()
2414 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init386()
2422 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386()
2489 PCPU_SET(curpcb, thread0.td_pcb); in init386()
2493 PCPU_SET(kesp0, common_tss0.tss_esp0); in init386()
2538 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in machdep_init_trampoline()
2539 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline()
2541 PCPU_SET(common_tssp, tss); in machdep_init_trampoline()
2594 PCPU_SET(currentldt, _default_ldt); in machdep_init_trampoline()
[all …]
H A Dsys_machdep.c326 PCPU_SET(private_tss, 1); in i386_extend_pcb()
422 PCPU_SET(currentldt, GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt_locked()
498 PCPU_SET(currentldt, _default_ldt); in user_ldt_free()
/f-stack/freebsd/arm/arm/
H A Dvfp.c120 PCPU_SET(vfpsid, fpsid); /* save the fpsid */ in vfp_init()
128 PCPU_SET(vfpmvfr0, tmp); in vfp_init()
138 PCPU_SET(vfpmvfr1, tmp); in vfp_init()
229 PCPU_SET(fpcurthread, curthread); in vfp_bounce()
317 PCPU_SET(fpcurthread, NULL); in vfp_discard()
H A Dcpuinfo.c363 PCPU_SET(bp_harden_kind, kind); in apply_bp_hardening()
365 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in apply_bp_hardening()
468 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening()
473 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening()
490 PCPU_SET(original_actlr, cp15_actlr_get()); in cpuinfo_init_bp_hardening()
/f-stack/lib/include/i386/include/
H A Dpcpu.h38 #undef PCPU_SET
47 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
/f-stack/lib/include/amd64/include/
H A Dpcpu.h39 #undef PCPU_SET
50 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) macro
/f-stack/freebsd/amd64/amd64/
H A Dmp_machdep.c693 PCPU_SET(smp_tlb_addr1, addr1); in smp_targeted_tlb_shootdown()
694 PCPU_SET(smp_tlb_addr2, addr2); in smp_targeted_tlb_shootdown()
695 PCPU_SET(smp_tlb_pmap, pmap); in smp_targeted_tlb_shootdown()
699 PCPU_SET(smp_tlb_gen, generation); in smp_targeted_tlb_shootdown()
700 PCPU_SET(smp_tlb_op, op); in smp_targeted_tlb_shootdown()
855 PCPU_SET(ucr3_load_mask, ~CR3_PCID_SAVE); in invltlb_invpcid_pti_handler()
885 PCPU_SET(ucr3_load_mask, ~CR3_PCID_SAVE); in invltlb_pcid_handler()
H A Dfpu.c512 PCPU_SET(fpcurthread, NULL); in fpuexit()
760 PCPU_SET(fpcurthread, td); in restore_fpu_curthread()
843 PCPU_SET(fpcurthread, NULL); in fpu_activate_sw()
858 PCPU_SET(fpcurthread, NULL); in fpudrop()
1165 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
H A Defirt_machdep.c305 PCPU_SET(curpmap, NULL); in efi_arch_enter()
325 PCPU_SET(curpmap, curpmap); in efi_arch_leave()
H A Dmachdep.c1558 PCPU_SET(prvspace, pc); in amd64_bsp_pcpu_init1()
1560 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1()
1561 PCPU_SET(tssp, PCPU_PTR(common_tss)); in amd64_bsp_pcpu_init1()
1562 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1()
1564 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1()
1565 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1()
1566 PCPU_SET(ucr3_load_mask, PMAP_UCR3_NOMASK); in amd64_bsp_pcpu_init1()
1567 PCPU_SET(smp_tlb_gen, 1); in amd64_bsp_pcpu_init1()
1574 PCPU_SET(rsp0, rsp0); in amd64_bsp_pcpu_init2()
1575 PCPU_SET(pti_rsp0, ((vm_offset_t)PCPU_PTR(pti_stack) + in amd64_bsp_pcpu_init2()
[all …]
/f-stack/freebsd/arm64/include/
H A Dpcpu.h81 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/f-stack/freebsd/kern/
H A Dkern_idle.c74 PCPU_SET(idlethread, td); in idle_setup()
H A Dkern_synch.c530 PCPU_SET(switchtime, new_switchtime); in mi_switch()
533 PCPU_SET(switchticks, ticks); in mi_switch()
550 PCPU_SET(deadthread, NULL); in mi_switch()
/f-stack/freebsd/mips/include/
H A Dpcpu.h88 #define PCPU_SET(member,value) (PCPUP->pc_ ## member = (value)) macro
/f-stack/freebsd/arm/include/
H A Dpcpu.h141 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/f-stack/lib/
H A Dff_freebsd_init.c99 PCPU_SET(prvspace, pcpup); in ff_freebsd_init()
/f-stack/freebsd/mips/mips/
H A Dmachdep.c274 PCPU_SET(curthread, &thread0); in mips_pcpu0_init()
306 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
H A Dpmap.c242 PCPU_SET(cmap1_addr, virtual_avail); in pmap_alloc_lmem_map()
243 PCPU_SET(cmap2_addr, virtual_avail + PAGE_SIZE); in pmap_alloc_lmem_map()
244 PCPU_SET(cmap1_ptep, pmap_pte(kernel_pmap, virtual_avail)); in pmap_alloc_lmem_map()
246 PCPU_SET(qmap_addr, virtual_avail + (2 * PAGE_SIZE)); in pmap_alloc_lmem_map()
1091 PCPU_SET(curpmap, pmap); in pmap_pinit0()
3333 PCPU_SET(segbase, pmap->pm_segtab); in pmap_activate()
3337 PCPU_SET(curpmap, pmap); in pmap_activate()
3459 PCPU_SET(asid_generation,
3462 PCPU_SET(asid_generation, 1);
3464 PCPU_SET(next_asid, 1); /* 0 means invalid */
[all …]
/f-stack/freebsd/x86/acpica/
H A Dacpi_wakeup.c332 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
333 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/f-stack/freebsd/x86/xen/
H A Dpvcpu_enum.c183 PCPU_SET(vcpu_id, 0); in xenpv_setup_local()
/f-stack/freebsd/i386/include/
H A Dpcpu.h229 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro

12