Searched refs:PROC_RUNNING (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.5/kernel/src/libs/ |
D | mutex.rs | 11 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/ |
D | cfs.rs | 8 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()
|
D | core.rs | 11 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()
|
D | completion.c | 78 wait.pcb->state = PROC_RUNNING; // 设置为运行, 并清空state, 所以使用等号赋值 in __wait_for_common()
|
/DragonOS-0.1.5/kernel/src/process/ |
D | process.rs | 12 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()
|
D | proc-types.h | 16 #define PROC_RUNNING (1 << 0) macro
|
D | process.c | 722 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()
|
D | kthread.c | 176 current_pcb->state &= ~PROC_RUNNING; // 设置当前进程不是RUNNING态 in kthread()
|
/DragonOS-0.1.5/kernel/src/time/ |
D | timer.c | 171 current_pcb->state &= ~(PROC_RUNNING); in schedule_timeout_ms()
|
/DragonOS-0.1.5/kernel/src/driver/video/ |
D | video.c | 73 video_daemon_pcb->state &= ~PROC_RUNNING; in video_refresh_daemon()
|
/DragonOS-0.1.5/kernel/src/smp/ |
D | smp.c | 165 current_pcb->state = PROC_RUNNING; in smp_ap_start()
|