Searched refs:on_cpu (Results 1 – 5 of 5) sorted by relevance
241 cpu_rq(pcb.sched_info().on_cpu().unwrap_or(current_cpu_id()).data() as usize); in wakeup()278 let rq = cpu_rq(pcb.sched_info().on_cpu().unwrap().data() as usize); in wakeup_stop()500 let cpu_id = pcb.sched_info().on_cpu(); in kick()1192 on_cpu: AtomicProcessorId, field1276 pub fn new(on_cpu: Option<ProcessorId>) -> Self { in new()1277 let cpu_id = on_cpu.unwrap_or(ProcessorId::INVALID); in new()1279 on_cpu: AtomicProcessorId::new(cpu_id), in new()1300 pub fn on_cpu(&self) -> Option<ProcessorId> { in on_cpu() method1301 let on_cpu = self.on_cpu.load(Ordering::SeqCst); in on_cpu() localVariable1302 if on_cpu == ProcessorId::INVALID { in on_cpu()[all …]
60 assert!(idle_pcb.sched_info().on_cpu().is_none()); in init_idle()
19 let rq = cpu_rq(pcb.sched_info().on_cpu().unwrap_or(current_cpu_id()).data() as usize); in do_sched_yield()
260 let cpu_id = pcb.sched_info().on_cpu().ok_or(SystemError::EINVAL)?; in do_cpuhp_kick_ap()
170 .on_cpu() in open_status()