Home
last modified time | relevance | path

Searched refs:get_cpu_struct (Results 1 – 13 of 13) sorted by relevance

/haiku/headers/private/kernel/
H A Dcpu.h108 cpu_ent *get_cpu_struct(void);
109 extern inline cpu_ent *get_cpu_struct(void) { return &gCPU[smp_get_current_cpu()]; } in get_cpu_struct() function
H A Dkscheduler.h123 Thread* thread = get_cpu_struct()->running_thread; in scheduler_reschedule_if_necessary()
/haiku/src/system/kernel/arch/x86/64/
H A Derrata.cpp131 const cpu_ent* cpu = get_cpu_struct(); in __x86_patch_errata_percpu()
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dacpi_cpuidle.cpp196 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_ffh_enter()
209 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_halt()
350 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_add()
373 cpu_ent *cpu = get_cpu_struct(); in acpi_cstate_quirks()
/haiku/src/system/kernel/scheduler/
H A Dpower_saving.cpp198 cpu_ent* cpu = get_cpu_struct(); in pack_irqs()
230 cpu_ent* cpu = get_cpu_struct(); in rebalance_irqs()
H A Dlow_latency.cpp143 cpu_ent* cpu = get_cpu_struct(); in rebalance_irqs()
H A Dscheduler_cpu.cpp354 get_cpu_struct()->invoke_scheduler = true; in _RescheduleEvent()
355 get_cpu_struct()->preempted = true; in _RescheduleEvent()
H A Dscheduler.cpp227 get_cpu_struct()->invoke_scheduler = true; in scheduler_reschedule_ici()
/haiku/src/system/kernel/arch/x86/
H A Darch_thread.cpp167 get_cpu_struct()->arch.tss.sp0 = thread->kernel_stack_top; in x86_initial_return_to_userland()
H A Darch_system_info.cpp66 cpu_ent* cpu = get_cpu_struct(); in arch_system_info_init()
H A Darch_cpu.cpp1288 cpu_ent* cpu = get_cpu_struct(); in load_microcode()
1301 cpu_ent* cpu = get_cpu_struct(); in get_hybrid_cpu_type()
1329 cpu_ent* cpu = get_cpu_struct(); in detect_cpu()
1505 cpu_ent* cpu = get_cpu_struct(); in x86_check_feature()
1605 cpu_ent* cpu = get_cpu_struct(); in detect_amdc1e_noarat()
1622 cpu_ent* cpu = get_cpu_struct(); in init_tsc_with_cpuid()
1664 cpu_ent* cpuEnt = get_cpu_struct(); in init_tsc_with_msr()
1750 cpu_ent* cpuEnt = get_cpu_struct(); in arch_cpu_init_percpu()
/haiku/src/system/kernel/
H A Dint.cpp369 cpu_ent* cpu = get_cpu_struct(); in int_io_interrupt_handler()
H A Dsmp.cpp823 } else if (atomic_get(&get_cpu_struct()->ici_counter) in check_for_message()