Home
last modified time | relevance | path

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

/DragonOS/kernel/src/process/
H A Dmod.rs241 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, field
1276 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() method
1301 let on_cpu = self.on_cpu.load(Ordering::SeqCst); in on_cpu() localVariable
1302 if on_cpu == ProcessorId::INVALID { in on_cpu()
[all …]
H A Didle.rs60 assert!(idle_pcb.sched_info().on_cpu().is_none()); in init_idle()
/DragonOS/kernel/src/sched/
H A Dsyscall.rs19 let rq = cpu_rq(pcb.sched_info().on_cpu().unwrap_or(current_cpu_id()).data() as usize); in do_sched_yield()
/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs260 let cpu_id = pcb.sched_info().on_cpu().ok_or(SystemError::EINVAL)?; in do_cpuhp_kick_ap()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs170 .on_cpu() in open_status()