Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/process/
Dprocess.rs6 process_control_block, sched_enqueue, PROC_RUNNING, PROC_STOPPED,
48 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up()
60 write_volatile(&mut pcb.state, PROC_RUNNING as u64); in process_try_to_wake_up()
Dproc-types.h15 #define PROC_RUNNING (1 << 0) macro
Dprocess.c637 initial_proc_union.pcb.state = PROC_RUNNING; in process_init()
682 if (pcb->state & PROC_RUNNING) in process_wakeup()
685 pcb->state |= PROC_RUNNING; in process_wakeup()
697 if (pcb->state & PROC_RUNNING) in process_wakeup_immediately()
Dkthread.c176 current_pcb->state &= ~PROC_RUNNING; // 设置当前进程不是RUNNING态 in kthread()
/DragonOS-0.1.2/kernel/src/libs/
Dsemaphore.c37 wq->pcb->state = PROC_RUNNING; in semaphore_up()
/DragonOS-0.1.2/kernel/src/sched/
Dcfs.c62 …b->virtual_runtime >= proc->virtual_runtime || !(current_pcb->state & PROC_RUNNING)) // 当前进程运行时间大于… in sched_cfs()
66 if (current_pcb->state & PROC_RUNNING) // 本次切换由于时间片到期引发,则再次加入就绪队列,否则交由其它功能模块进行管理 in sched_cfs()
Dcompletion.c78 wait.pcb->state = PROC_RUNNING; // 设置为运行, 并清空state, 所以使用等号赋值 in __wait_for_common()
/DragonOS-0.1.2/kernel/src/driver/video/
Dvideo.c73 video_daemon_pcb->flags &= ~PROC_RUNNING; in video_refresh_daemon()
/DragonOS-0.1.2/kernel/src/time/
Dtimer.c171 current_pcb->state &= ~(PROC_RUNNING); in schedule_timeout_ms()
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c159 current_pcb->state = PROC_RUNNING; in smp_ap_start()
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c588 ahci_req_queue.in_service->wait_queue.pcb->state = PROC_RUNNING; in ahci_end_request()