| /f-stack/freebsd/kern/ |
| H A D | kern_clocksource.c | 147 curcpu, (int)(now >> 32), (u_int)(now & 0xffffffff)); in hardclockintr() 165 curcpu, (int)(now >> 32), (u_int)(now & 0xffffffff)); in handleevents() 245 && curcpu == CPU_FIRST() in getnextcpuevent() 327 curcpu, (int)(now >> 32), (u_int)(now & 0xffffffff)); 346 if (curcpu != cpu) { 363 if (curcpu == cpu) 403 curcpu, (int)(now >> 32), (u_int)(now & 0xffffffff), 547 (cpu == curcpu) ? 0 : ( start ? 1 : 2)); 555 if (cpu == curcpu) 691 hardclock_sync(curcpu); [all …]
|
| H A D | subr_smp.c | 597 curcpumap = CPU_ISSET(curcpu, &map); in smp_rendezvous_cpus() 598 CPU_CLR(curcpu, &map); in smp_rendezvous_cpus() 941 CPU_CLR_ATOMIC(curcpu, &arg->cpus); in smp_rendezvous_cpus_done()
|
| H A D | subr_epoch.c | 564 if (record->er_cpuid != curcpu) { in epoch_block_handler_preempt() 844 printf("cpu: %d id: %d\n", curcpu, td->td_tid); in in_epoch_verbose_preempt()
|
| H A D | kern_synch.c | 336 return (_sleep(&pause_wchan[curcpu], NULL, in pause_sbt()
|
| H A D | kern_clock.c | 512 if (curcpu == CPU_FIRST()) in hardclock()
|
| /f-stack/lib/include/sys/ |
| H A D | pcpu.h | 32 #undef curcpu 34 #define curcpu 0 macro
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | processor.h | 57 #define getcpuid() curcpu
|
| H A D | proc.h | 45 #define CPU curcpu
|
| H A D | sysmacros.h | 82 #define CPU_SEQID curcpu 83 #define CPU_SEQID_UNSTABLE curcpu
|
| /f-stack/lib/ |
| H A D | ff_kern_synch.c | 105 return (_sleep(&pause_wchan[curcpu], NULL, 0, wmesg, sbt, pr, flags)); in pause_sbt()
|
| /f-stack/freebsd/sys/ |
| H A D | pmckern.h | 129 PMC_FAKE_TRAPFRAME(&pmc_tf[curcpu]); \ 132 ks.pm_tf = &pmc_tf[curcpu]; \
|
| H A D | pcpu.h | 219 #define curcpu PCPU_GET(cpuid) macro
|
| /f-stack/freebsd/ddb/ |
| H A D | db_sym.c | 111 *valuep = curcpu; in db_var_curcpu() 241 cpu = curcpu; in db_value_of_name_pcpu()
|
| /f-stack/freebsd/amd64/vmm/intel/ |
| H A D | vmx.c | 597 if (vmxon_enabled[curcpu]) { in vmx_disable() 651 vmxon_enabled[curcpu] = 1; in vmx_enable() 658 if (vmxon_enabled[curcpu]) in vmx_modresume() 659 vmxon(vmxon_region[curcpu]); in vmx_modresume() 1303 if (vmxstate->lastcpu == curcpu) in vmx_set_pcpu_defaults() 1306 vmxstate->lastcpu = curcpu; in vmx_set_pcpu_defaults() 2951 cpu = curcpu; in vmx_pmap_activate() 3345 if (running && hostcpu != curcpu) in vmx_getreg() 3366 if (running && hostcpu != curcpu) in vmx_setreg() 3431 if (running && hostcpu != curcpu) in vmx_getdesc() [all …]
|
| H A D | vmcs.c | 565 if (!vmxon_enabled[curcpu]) { in DB_SHOW_COMMAND()
|
| /f-stack/freebsd/libkern/ |
| H A D | arc4random.c | 207 chacha20 = &chacha20inst[curcpu];
|
| /f-stack/freebsd/mips/mips/ |
| H A D | mp_machdep.c | 175 panic("Unknown IPI 0x%0x on cpu %d", ipi, curcpu); in mips_ipi_handler()
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | svm.c | 217 wrmsr(MSR_VM_HSAVE_PA, vtophys(hsave[curcpu])); in svm_enable() 1676 ipi_cpu(curcpu, IPI_AST); /* XXX vmm_ipinum? */ in svm_inj_interrupts() 1813 cpu = curcpu; in svm_pmap_activate() 1913 CPU_CLR_ATOMIC(curcpu, &pmap->pm_active); in svm_pmap_deactivate() 2015 if (vcpustate->lastcpu != curcpu) { in svm_run() 2036 vcpustate->lastcpu = curcpu; in svm_run() 2568 if (running && hostcpu !=curcpu) { in svm_vmcx_snapshot()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | machdep.c | 249 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d", busy, curcpu); in cpu_idle() 258 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu); in cpu_idle()
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm.c | 653 KASSERT(state == VCPU_RUNNING && hostcpu == curcpu, in vm_mem_allocated() 1203 KASSERT(vcpu->hostcpu == curcpu, ("curcpu %d and hostcpu %d " in vcpu_set_state_locked() 1204 "mismatch for running vcpu", curcpu, vcpu->hostcpu)); in vcpu_set_state_locked() 1238 vcpu->hostcpu = curcpu; in vcpu_set_state_locked() 1732 KASSERT(!CPU_ISSET(curcpu, &pmap->pm_active), in vm_run() 2496 if (hostcpu != curcpu) { in vcpu_notify_event_locked()
|
| /f-stack/freebsd/vm/ |
| H A D | uma_core.c | 1246 cache = &zone->uz_cpu[curcpu]; in cache_drain_safe_cpu() 3389 cache = &zone->uz_cpu[curcpu]; in cache_alloc_retry() 3424 cache = &zone->uz_cpu[curcpu]; in uma_zalloc_smr() 3466 cache = &zone->uz_cpu[curcpu]; in uma_zalloc_arg() 3549 cache = &zone->uz_cpu[curcpu]; in cache_alloc() 4150 cache = &zone->uz_cpu[curcpu]; in uma_zfree_smr() 4159 cache = &zone->uz_cpu[curcpu]; in uma_zfree_smr() 4210 cache = &zone->uz_cpu[curcpu]; in uma_zfree_arg() 4243 cache = &zone->uz_cpu[curcpu]; in uma_zfree_arg() 4419 cache = &zone->uz_cpu[curcpu]; in cache_free() [all …]
|
| /f-stack/freebsd/x86/cpufreq/ |
| H A D | hwpstate_amd.c | 190 cpu = curcpu; in hwpstate_goto_pstate()
|
| /f-stack/freebsd/x86/x86/ |
| H A D | cpu_machdep.c | 601 busy, curcpu); in cpu_idle() 638 busy, curcpu); in cpu_idle()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_timer.c | 217 return (curcpu); /* XXX */ in inp_to_cpuid() 232 return (curcpu); in inp_to_cpuid()
|
| /f-stack/freebsd/net/ |
| H A D | netisr.c | 834 *cpuidp = netisr_get_cpuid(curcpu); in netisr_select_cpuid() 1164 if (cpuid != curcpu) in netisr_dispatch_src()
|