Home
last modified time | relevance | path

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

/DragonOS/kernel/src/sched/
H A Dmod.rs102 fn dequeue(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag); in dequeue() argument
421 pub fn dequeue_task(&mut self, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag) { in dequeue_task() argument
424 if !flags.contains(DequeueFlag::DEQUEUE_NOCLOCK) { in dequeue_task()
428 if !flags.contains(DequeueFlag::DEQUEUE_SAVE) { in dequeue_task()
491 pub fn deactivate_task(&mut self, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag) { in deactivate_task() argument
492 *pcb.sched_info().on_rq.lock_irqsave() = if flags.contains(DequeueFlag::DEQUEUE_SLEEP) { in deactivate_task()
734 pub struct DequeueFlag: u8 {
882 DequeueFlag::DEQUEUE_SLEEP | DequeueFlag::DEQUEUE_NOCLOCK, in __schedule()
H A Didle.rs17 _flags: super::DequeueFlag, in dequeue() argument
H A Dfair.rs22 CpuRunQueue, DequeueFlag, EnqueueFlag, LoadWeight, OnRq, SchedPolicy, Scheduler, TaskGroup,
1009 pub fn dequeue_entity(&mut self, se: &Arc<FairSchedEntity>, flags: DequeueFlag) { in dequeue_entity() argument
1042 if flags & (DequeueFlag::DEQUEUE_SAVE | DequeueFlag::DEQUEUE_MOVE) in dequeue_entity()
1043 != DequeueFlag::DEQUEUE_SAVE in dequeue_entity()
1472 mut flags: DequeueFlag, in dequeue() argument
1476 let task_sleep = flags.contains(DequeueFlag::DEQUEUE_SLEEP); in dequeue()
1501 flags |= DequeueFlag::DEQUEUE_SLEEP; in dequeue()
/DragonOS/kernel/src/process/
H A Dmod.rs56 completion::Completion, cpu_rq, fair::FairSchedEntity, prio::MAX_PRIO, DequeueFlag,
398 DequeueFlag::DEQUEUE_SLEEP | DequeueFlag::DEQUEUE_NOCLOCK, in exit()