Searched refs:smp_get_current_cpu (Results 1 - 25 of 50) sorted by last modified time

12

/haiku/src/system/kernel/arch/x86/
H A Darch_int.cpp274 cpu_ent* cpu = &gCPU[smp_get_current_cpu()];
H A Darch_smp.cpp54 int cpu = smp_get_current_cpu();
64 TRACE(("spurious interrupt on cpu %" B_PRId32 "\n", smp_get_current_cpu()));
77 TRACE(("smp error interrupt on cpu %" B_PRId32 "\n", smp_get_current_cpu()));
140 int32 currentCpu = smp_get_current_cpu();
180 int32 currentCpu = smp_get_current_cpu();
H A Darch_system_info.cpp52 if (!get_cpuid_for(info, smp_get_current_cpu(), eaxRegister, forCPU)) {
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp449 cpu_ent* cpu = &gCPU[smp_get_current_cpu()];
502 // dprintf("sSoftInt(%" B_PRId32 ")\n", smp_get_current_cpu());
503 smp_intercpu_int_handler(smp_get_current_cpu());
509 // dprintf("sTimerInt(%" B_PRId32 ")\n", smp_get_current_cpu());
515 uint64 irq = gPlicRegs->contexts[sPlicContexts[smp_get_current_cpu()]].claimAndComplete;
517 gPlicRegs->contexts[sPlicContexts[smp_get_current_cpu()]].claimAndComplete = irq;
H A DRISCV64VMTranslationMap.cpp885 int cpu = smp_get_current_cpu();
905 int cpu = smp_get_current_cpu();
921 int cpu = smp_get_current_cpu();
/haiku/src/system/kernel/arch/ppc/
H A Darch_int.cpp131 cpu_ent* cpu = &gCPU[smp_get_current_cpu()];
H A Darch_debug.cpp127 int32 cpu = smp_get_current_cpu();
/haiku/src/system/kernel/arch/arm64/
H A Darch_int.cpp286 cpu_ent* cpu = &gCPU[smp_get_current_cpu()];
/haiku/src/system/kernel/arch/arm/
H A Darch_int.cpp369 cpu_ent* cpu = &gCPU[smp_get_current_cpu()];
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp404 return &info->qpairs[smp_get_current_cpu() % info->qpair_count];
/haiku/src/system/kernel/scheduler/
H A Dscheduler.cpp135 if (targetCPU->ID() == smp_get_current_cpu()) {
323 int32 thisCPU = smp_get_current_cpu();
580 if (smp_get_current_cpu() != cpuID) {
H A Dscheduler_cpu.cpp205 ASSERT(fCPUNumber == smp_get_current_cpu());
362 CoreEntry::GetCore(smp_get_current_cpu())->ChangeLoad(0);
363 CPUEntry::GetCPU(smp_get_current_cpu())->fUpdateLoadEvent = false;
/haiku/src/system/kernel/
H A Dsmp.cpp342 int currentCPU = smp_get_current_cpu();
578 int currentCPU = smp_get_current_cpu();
643 int currentCPU = smp_get_current_cpu();
1060 currentCPU = smp_get_current_cpu();
1113 int currentCPU = smp_get_current_cpu();
1186 "0x%lx, data3 0x%lx, ptr %p, flags 0x%lx\n", smp_get_current_cpu(),
1196 currentCPU = smp_get_current_cpu();
1453 smp_get_current_cpu(void) function
1464 if (targetCPU == (uint32)smp_get_current_cpu()) {
1465 func(cookie, smp_get_current_cpu());
[all...]
H A Dheap.cpp1921 int32 cpuNumber = smp_get_current_cpu();
2287 int32 cpuNumber = smp_get_current_cpu();
2307 uint32 heapIndex = heap_index_for(size, smp_get_current_cpu());
2364 int32 offset = smp_get_current_cpu() * HEAP_CLASS_COUNT;
2421 int32 offset = smp_get_current_cpu() * HEAP_CLASS_COUNT;
H A Dcpu.cpp415 if (smp_get_current_cpu() == cpu) {
425 ASSERT(smp_get_current_cpu() != cpu);
433 ASSERT(smp_get_current_cpu() != cpu);
H A Dtimer.cpp250 per_cpu_timer_data& cpuData = sPerCPU[smp_get_current_cpu()];
254 system_time(), smp_get_current_cpu()));
347 int currentCPU = smp_get_current_cpu();
429 if (cpu == smp_get_current_cpu()) {
447 if (cpu != smp_get_current_cpu()) {
/haiku/src/system/kernel/debug/
H A Ddebug.cpp1171 kprintf("running on CPU %" B_PRId32 "\n", smp_get_current_cpu());
1181 if (newCPU == smp_get_current_cpu()) {
2100 thread_get_current_thread() ? smp_get_current_cpu() : 0);
2114 smp_get_current_cpu());
H A Dsystem_profiler.cpp221 int cpu = smp_get_current_cpu();
746 int cpu = smp_get_current_cpu();
777 int cpu = smp_get_current_cpu();
803 int cpu = smp_get_current_cpu();
/haiku/src/tests/system/kernel/scheduler/
H A Dmain.cpp304 smp_get_current_cpu(void) function
/haiku/src/system/kernel/arch/arm/paging/
H A Darm_physical_page_mapper_large_memory.cpp389 int32 currentCPU = smp_get_current_cpu();
491 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot;
532 = fPerCPUData[smp_get_current_cpu()].user;
549 = fPerCPUData[smp_get_current_cpu()].user;
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dacpi_cpuidle.cpp245 acpi_cpuidle_driver_info *pi = sAcpiProcessor[smp_get_current_cpu()];
/haiku/src/system/boot/platform/bios_ia32/
H A Dlong.cpp319 uint32 cpu = smp_get_current_cpu();
H A Dsmp.cpp360 smp_get_current_cpu(void) function
/haiku/src/system/boot/platform/efi/
H A Dsmp.cpp37 smp_get_current_cpu(void) function
H A Dsmp.h24 extern int smp_get_current_cpu(void);

Completed in 275 milliseconds

12