Searched refs:PROC_RUNNING (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.8/kernel/src/libs/ |
D | mutex.rs | 11 pid_t, process_control_block, process_wakeup, PROC_INTERRUPTIBLE, PROC_RUNNING, 107 current_pcb().state &= !(PROC_RUNNING as u64); in __sleep()
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | cfs.rs | 8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING, 194 if (current_pcb().state & (PROC_RUNNING as u64)) == 0 in sched() 199 if current_pcb().state & (PROC_RUNNING as u64) != 0 { in sched()
|
D | core.rs | 7 process_control_block, MAX_CPU_NUM, PF_NEED_MIGRATE, PROC_RUNNING, SCHED_FIFO, 107 if pcb.state & (PROC_RUNNING as u64) == 0 { in sched_enqueue()
|
D | completion.c | 78 wait.pcb->state = PROC_RUNNING; // 设置为运行, 并清空state, 所以使用等号赋值 in __wait_for_common()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.c | 351 initial_proc_union.pcb.state = PROC_RUNNING; in process_init() 395 if (pcb->state & PROC_RUNNING) in process_wakeup() 398 pcb->state |= PROC_RUNNING; in process_wakeup() 410 if (pcb->state & PROC_RUNNING) in process_wakeup_immediately()
|
D | process.rs | 16 process_control_block, CLONE_FS, PROC_INTERRUPTIBLE, PROC_RUNNING, PROC_STOPPED, 63 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up() 75 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up()
|
D | proc-types.h | 16 #define PROC_RUNNING (1 << 0) macro
|
D | kthread.c | 177 current_pcb->state &= ~PROC_RUNNING; // 设置当前进程不是RUNNING态 in kthread()
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | video.c | 71 video_daemon_pcb->state &= ~PROC_RUNNING; in video_refresh_daemon()
|
/DragonOS-0.1.8/kernel/src/time/ |
D | timer.rs | 19 include::bindings::bindings::{process_control_block, process_wakeup, PROC_RUNNING}, 252 current_pcb().state &= (!PROC_RUNNING) as u64; in schedule_timeout()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | smp.c | 175 current_pcb->state = PROC_RUNNING; in smp_ap_start()
|