Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/
Dmutex.rs11 pid_t, process_control_block, process_wakeup, EBUSY, PROC_INTERRUPTIBLE, PROC_RUNNING,
106 current_pcb().state &= !(PROC_RUNNING as u64); in __sleep()
/DragonOS-0.1.5/kernel/src/sched/
Dcfs.rs8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING,
196 if (current_pcb().state & (PROC_RUNNING as u64)) == 0 in sched()
201 if current_pcb().state & (PROC_RUNNING as u64) != 0 { in sched()
Dcore.rs11 process_control_block, pt_regs, EINVAL, EPERM, MAX_CPU_NUM, PF_NEED_MIGRATE, PROC_RUNNING,
109 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.5/kernel/src/process/
Dprocess.rs12 process_control_block, CLONE_FS, EBADF, EFAULT, ENFILE, EPERM, PROC_RUNNING, PROC_STOPPED,
54 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up()
66 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up()
Dproc-types.h16 #define PROC_RUNNING (1 << 0) macro
Dprocess.c722 initial_proc_union.pcb.state = PROC_RUNNING; in process_init()
765 if (pcb->state & PROC_RUNNING) in process_wakeup()
768 pcb->state |= PROC_RUNNING; in process_wakeup()
780 if (pcb->state & PROC_RUNNING) in process_wakeup_immediately()
Dkthread.c176 current_pcb->state &= ~PROC_RUNNING; // 设置当前进程不是RUNNING态 in kthread()
/DragonOS-0.1.5/kernel/src/time/
Dtimer.c171 current_pcb->state &= ~(PROC_RUNNING); in schedule_timeout_ms()
/DragonOS-0.1.5/kernel/src/driver/video/
Dvideo.c73 video_daemon_pcb->state &= ~PROC_RUNNING; in video_refresh_daemon()
/DragonOS-0.1.5/kernel/src/smp/
Dsmp.c165 current_pcb->state = PROC_RUNNING; in smp_ap_start()