Searched refs:smp_get_current_cpu (Results 1 - 25 of 50) sorted by relevance

12

/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dsmp.cpp29 smp_get_current_cpu() function
/haiku/src/system/boot/platform/bios_ia32/
H A Dsmp.h24 extern int smp_get_current_cpu(void);
H A Dstart.cpp88 uint32 curr_cpu = smp_get_current_cpu();
/haiku/src/system/boot/platform/efi/
H A Dsmp.h24 extern int smp_get_current_cpu(void);
H A Dsmp.cpp37 smp_get_current_cpu(void) function
/haiku/src/system/kernel/scheduler/
H A Dscheduler_locking.h70 CPUEntry::GetCPU(smp_get_current_cpu())->EnterScheduler();
76 CPUEntry::GetCPU(smp_get_current_cpu())->ExitScheduler();
99 CPUEntry::GetCPU(smp_get_current_cpu())->EnterScheduler();
105 CPUEntry::GetCPU(smp_get_current_cpu())->ExitScheduler();
H A Dscheduler_profiler.h103 Profiler::Get()->EnterFunction(smp_get_current_cpu(), fFunctionName);
117 Profiler::Get()->ExitFunction(smp_get_current_cpu(), fFunctionName);
/haiku/src/system/kernel/arch/x86/paging/
H A DX86VMTranslationMap.cpp115 int cpu = smp_get_current_cpu();
135 int cpu = smp_get_current_cpu();
H A Dx86_physical_page_mapper_large_memory.cpp386 int32 currentCPU = smp_get_current_cpu();
486 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot;
527 = fPerCPUData[smp_get_current_cpu()].user;
544 = fPerCPUData[smp_get_current_cpu()].user;
/haiku/src/system/kernel/arch/arm/paging/
H A DARMVMTranslationMap.cpp115 int cpu = smp_get_current_cpu();
135 int cpu = smp_get_current_cpu();
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KVMTranslationMap.cpp115 int cpu = smp_get_current_cpu();
135 int cpu = smp_get_current_cpu();
H A Dm68k_physical_page_mapper_large_memory.cpp393 int32 currentCPU = smp_get_current_cpu();
489 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot;
530 = fPerCPUData[smp_get_current_cpu()].user;
547 = fPerCPUData[smp_get_current_cpu()].user;
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCVMTranslationMap.cpp115 int cpu = smp_get_current_cpu();
135 int cpu = smp_get_current_cpu();
/haiku/src/system/kernel/arch/x86/
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();
/haiku/src/add-ons/kernel/cpu/x86/
H A Dgeneric_x86.cpp114 TRACE("CPU %ld has %u variable range MTRRs.\n", smp_get_current_cpu(),
153 TRACE("[cpu %ld] mtrrs now:\n", smp_get_current_cpu());
224 smp_get_current_cpu(), bits, gPhysicalMask);
237 int cpu = smp_get_current_cpu();
/haiku/headers/private/kernel/
H A Dkscheduler.h109 if (gCPU[smp_get_current_cpu()].invoke_scheduler)
H A Dcpu.h108 extern inline cpu_ent *get_cpu_struct(void) { return &gCPU[smp_get_current_cpu()]; }
/haiku/src/system/kernel/arch/riscv64/
H A Darch_smp.cpp50 if (cpuSet.GetBit(i) && i != smp_get_current_cpu())
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;
/haiku/src/system/kernel/
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()) {
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 Dcpu.cpp415 if (smp_get_current_cpu() == cpu) {
425 ASSERT(smp_get_current_cpu() != cpu);
433 ASSERT(smp_get_current_cpu() != cpu);
/haiku/src/add-ons/kernel/power/cpufreq/intel_pstates/
H A Dintel_pstates.cpp99 CPUEntry* entry = &sCPUEntries[smp_get_current_cpu()];
114 CPUEntry* entry = &sCPUEntries[smp_get_current_cpu()];
136 CPUEntry* entry = &sCPUEntries[smp_get_current_cpu()];
/haiku/src/system/kernel/util/
H A DRandom.cpp118 data[3] = smp_get_current_cpu();
/haiku/src/add-ons/kernel/power/cpuidle/intel_cstates/
H A Dintel_cstates.cpp77 int32 cpu = smp_get_current_cpu();

Completed in 142 milliseconds

12