Searched refs:ProcessState (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.9/kernel/src/ipc/ |
D | pipe.rs | 10 process::ProcessState, 178 .wakeup(Some(ProcessState::Blocked(true))); in read_at() 227 .wakeup(Some(ProcessState::Blocked(true))); in read_at() 233 .wakeup(Some(ProcessState::Blocked(true))); in read_at() 291 .wakeup_all(Some(ProcessState::Blocked(true))); in close() 303 .wakeup_all(Some(ProcessState::Blocked(true))); in close() 341 .wakeup(Some(ProcessState::Blocked(true))); in write_at() 379 .wakeup(Some(ProcessState::Blocked(true))); in write_at() 385 .wakeup(Some(ProcessState::Blocked(true))); in write_at()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | mod.rs | 210 writer.set_state(ProcessState::Runnable); in wakeup() 232 if let ProcessState::Stopped = state { in wakeup_stop() 235 if let ProcessState::Stopped = state { in wakeup_stop() 236 writer.set_state(ProcessState::Runnable); in wakeup_stop() 270 if !matches!(writer.state(), ProcessState::Exited(_)) { in mark_sleep() 271 writer.set_state(ProcessState::Blocked(interruptable)); in mark_sleep() 295 if !matches!(writer.state(), ProcessState::Exited(_)) { in mark_stop() 296 writer.set_state(ProcessState::Stopped); in mark_stop() 343 .set_state(ProcessState::Exited(exit_code)); in exit() 344 pcb.wait_queue.wakeup(Some(ProcessState::Blocked(true))); in exit() [all …]
|
D | exit.rs | 18 ProcessState, 186 ProcessState::Runnable => { in do_waitpid() 203 ProcessState::Blocked(_) | ProcessState::Stopped => { in do_waitpid() 227 ProcessState::Exited(status) => { in do_waitpid()
|
D | kthread.rs | 21 process::{ProcessManager, ProcessState}, 396 if let ProcessState::Exited(code) = pcb.sched_info().inner_lock_read_irqsave().state() { in stop()
|
/DragonOS-0.1.9/kernel/src/sched/ |
D | core.rs | 11 process::{AtomicPid, Pid, ProcessControlBlock, ProcessFlags, ProcessManager, ProcessState}, 125 writer.set_state(ProcessState::Runnable); in do_sched() 163 if pcb.sched_info().inner_lock_read_irqsave().state() != ProcessState::Runnable { in sched_enqueue()
|
D | cfs.rs | 15 ProcessControlBlock, ProcessFlags, ProcessManager, ProcessSchedulerInfo, ProcessState, 232 if (state != ProcessState::Runnable) in sched() 238 if state == ProcessState::Runnable { in sched()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | wait_queue.rs | 10 process::{ProcessControlBlock, ProcessManager, ProcessState}, 187 pub fn wakeup(&self, state: Option<ProcessState>) -> bool { in wakeup() 216 pub fn wakeup_all(&self, state: Option<ProcessState>) { in wakeup_all() argument
|