Home
last modified time | relevance | path

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

/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs84 cpuhp_state: PerCpuVar<CpuHpCpuState>, field
97 let cpuhp_state = PerCpuVar::new(data).unwrap(); in new() localVariable
102 cpuhp_state, in new()
163 pub fn cpuhp_state(&self, cpu_id: ProcessorId) -> &CpuHpCpuState { in cpuhp_state() method
164 unsafe { self.cpuhp_state.force_get(cpu_id) } in cpuhp_state()
169 unsafe { self.cpuhp_state.force_get_mut(cpu_id) } in cpuhp_state_mut()
178 let p = self.cpuhp_state.force_get_mut(cpu_id); in set_cpuhp_state()
220 let cpu_state = self.cpuhp_state(cpu_id).state; in cpu_up()
233 let cpu_state = self.cpuhp_state(cpu_id).state; in cpu_up()
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs51 .cpuhp_state(smp_get_processor_id()) in smp_ap_start()