Home
last modified time | relevance | path

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

/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs47 target_state: CpuHpState, field
61 target_state: CpuHpState::Offline, in new()
176 target_state: CpuHpState, in set_cpuhp_state()
181 let bringup = target_state > p.state; in set_cpuhp_state()
182 p.target_state = target_state; in set_cpuhp_state()
215 fn cpu_up(&self, cpu_id: ProcessorId, target_state: CpuHpState) -> Result<(), SystemError> { in cpu_up()
225 target_state in cpu_up()
228 if cpu_state >= target_state { in cpu_up()
232 unsafe { self.set_cpuhp_state(cpu_id, target_state) }; in cpu_up()
235 self.cpuhp_kick_ap(cpu_id, target_state)?; in cpu_up()
[all …]