Home
last modified time | relevance | path

Searched defs:CpuRunQueue (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/sched/
H A Didle.rs7 _rq: &mut super::CpuRunQueue, in enqueue()
15 _rq: &mut super::CpuRunQueue, in dequeue()
21 fn yield_task(_rq: &mut super::CpuRunQueue) {} in yield_task()
24 rq: &mut super::CpuRunQueue, in check_preempt_currnet()
32 _rq: &mut super::CpuRunQueue, in pick_task()
41 _rq: &mut super::CpuRunQueue, in pick_next_task()
50 _rq: &mut super::CpuRunQueue, in tick()
62 _rq: &mut super::CpuRunQueue, in put_prev_task()
H A Dmod.rs71 pub fn cpu_rq(cpu: usize) -> Arc<CpuRunQueue> { in cpu_rq()
99 fn enqueue(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, flags: EnqueueFlag); in enqueue()
102 fn dequeue(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag); in dequeue()
105 fn yield_task(rq: &mut CpuRunQueue); in yield_task()
109 rq: &mut CpuRunQueue, in check_preempt_currnet()
120 rq: &mut CpuRunQueue, in pick_next_task()
125 fn tick(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, queued: bool); in tick()
130 fn put_prev_task(rq: &mut CpuRunQueue, prev: Arc<ProcessControlBlock>); in put_prev_task()
288 pub struct CpuRunQueue { struct
289 lock: SpinLock<()>,
[all …]
H A Dpelt.rs198 impl CpuRunQueue { implementation
H A Dfair.rs410 pub fn rq(&self) -> Arc<CpuRunQueue> { in rq()
415 pub fn set_rq(&mut self, rq: Weak<CpuRunQueue>) { in set_rq()
1408 rq: &mut CpuRunQueue, in enqueue()
1470 rq: &mut CpuRunQueue, in dequeue()
1542 fn yield_task(rq: &mut CpuRunQueue) { in yield_task()
1564 rq: &mut CpuRunQueue, in check_preempt_currnet()
1676 fn tick(_rq: &mut CpuRunQueue, pcb: Arc<crate::process::ProcessControlBlock>, queued: bool) { in tick()
1708 rq: &mut CpuRunQueue, in pick_next_task()
1803 fn put_prev_task(_rq: &mut CpuRunQueue, prev: Arc<ProcessControlBlock>) { in put_prev_task()