Home
last modified time | relevance | path

Searched refs:PROC_RUNNING (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dmutex.rs11 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/
Dcfs.rs8 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()
Dcore.rs7 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()
Dcompletion.c78 wait.pcb->state = PROC_RUNNING; // 设置为运行, 并清空state, 所以使用等号赋值 in __wait_for_common()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.c351 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()
Dprocess.rs16 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()
Dproc-types.h16 #define PROC_RUNNING (1 << 0) macro
Dkthread.c177 current_pcb->state &= ~PROC_RUNNING; // 设置当前进程不是RUNNING态 in kthread()
/DragonOS-0.1.8/kernel/src/driver/video/
Dvideo.c71 video_daemon_pcb->state &= ~PROC_RUNNING; in video_refresh_daemon()
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs19 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/
Dsmp.c175 current_pcb->state = PROC_RUNNING; in smp_ap_start()