Home
last modified time | relevance | path

Searched refs:PROC_INTERRUPTIBLE (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/docs/kernel/sched/
Drust_waiting.md44 // 唤醒等待队列头部的进程(如果它的state & PROC_INTERRUPTIBLE 不为0)
45 wq.wakeup(PROC_INTERRUPTIBLE);
62 | sleep() | 将当前进程挂起,并设置进程状态为PROC_INTERRUPTIBLE
64 | sleep_unlock_spinlock() | 将当前进程挂起,并设置进程状态为PROC_INTERRUPTIBLE。待当前进程被插入等待队列后,解锁给定的自…
65 | sleep_unlock_mutex() | 将当前进程挂起,并设置进程状态为PROC_INTERRUPTIBLE。待当前进程被插入等待队列后,解锁给定的M…
Dc_waiting.md63 | wait_queue_sleep_on_interriptible() | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE
122 … *q, wait_queue_node_t *wait) | 传入一个等待队列节点,将该节点的pcb指向的进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE
182 | wait_for_completion_interruptible(struct completion *x) | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE。 …
183 …ible_timeout(struct completion *x, long timeout) | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE。当等待timeout时间…
/DragonOS-0.1.8/kernel/src/libs/
Dwait_queue.rs8 process_control_block, process_wakeup, wait_queue_head_t, PROC_INTERRUPTIBLE,
46 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep()
59 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_with_func()
84 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_without_schedule()
101 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_unlock_spinlock()
112 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_unlock_mutex()
Dmutex.rs11 pid_t, process_control_block, process_wakeup, PROC_INTERRUPTIBLE, PROC_RUNNING,
108 current_pcb().state |= PROC_INTERRUPTIBLE as u64; in __sleep()
Dwait_queue.c59 current_pcb->state = PROC_INTERRUPTIBLE; in wait_queue_sleep_on_interriptible()
Dwait_queue_head.c57 wait->pcb->state = PROC_INTERRUPTIBLE; in wait_queue_sleep_with_node_interriptible()
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs8 include::bindings::bindings::PROC_INTERRUPTIBLE,
90 inode.write_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in read_at()
129 inode.write_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in read_at()
172 inode.read_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in write_at()
200 inode.read_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in write_at()
Dsignal.rs17 PROC_INTERRUPTIBLE, USER_CS, USER_DS, USER_MAX_LINEAR_ADDR,
382 if !process_wake_up_state(pcb, state | (PROC_INTERRUPTIBLE as u64)) { in signal_wake_up_state()
/DragonOS-0.1.8/kernel/src/process/
Dproc-types.h18 #define PROC_INTERRUPTIBLE (1 << 1) macro
Dprocess.rs16 process_control_block, CLONE_FS, PROC_INTERRUPTIBLE, PROC_RUNNING, PROC_STOPPED,
287 self.state = PROC_INTERRUPTIBLE as u64; in mark_sleep_interruptible()
Dkthread.c224 current_pcb->state = PROC_INTERRUPTIBLE; in kthreadd()
Dprocess.c237 wait_queue_wakeup(&current_pcb->parent_pcb->wait_child_proc_exit, PROC_INTERRUPTIBLE); in process_exit_notify()
/DragonOS-0.1.8/kernel/src/sched/
Dcompletion.c123 __wait_for_common(x, &rs_schedule_timeout, MAX_TIMEOUT, PROC_INTERRUPTIBLE); in wait_for_completion_interruptible()
139 timeout = __wait_for_common(x, &rs_schedule_timeout, timeout, PROC_INTERRUPTIBLE); in wait_for_completion_interruptible_timeout()