Searched refs:PROC_INTERRUPTIBLE (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.8/docs/kernel/sched/ |
D | rust_waiting.md | 44 // 唤醒等待队列头部的进程(如果它的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…
|
D | c_waiting.md | 63 | 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/ |
D | wait_queue.rs | 8 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()
|
D | mutex.rs | 11 pid_t, process_control_block, process_wakeup, PROC_INTERRUPTIBLE, PROC_RUNNING, 108 current_pcb().state |= PROC_INTERRUPTIBLE as u64; in __sleep()
|
D | wait_queue.c | 59 current_pcb->state = PROC_INTERRUPTIBLE; in wait_queue_sleep_on_interriptible()
|
D | wait_queue_head.c | 57 wait->pcb->state = PROC_INTERRUPTIBLE; in wait_queue_sleep_with_node_interriptible()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 8 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()
|
D | signal.rs | 17 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/ |
D | proc-types.h | 18 #define PROC_INTERRUPTIBLE (1 << 1) macro
|
D | process.rs | 16 process_control_block, CLONE_FS, PROC_INTERRUPTIBLE, PROC_RUNNING, PROC_STOPPED, 287 self.state = PROC_INTERRUPTIBLE as u64; in mark_sleep_interruptible()
|
D | kthread.c | 224 current_pcb->state = PROC_INTERRUPTIBLE; in kthreadd()
|
D | process.c | 237 wait_queue_wakeup(¤t_pcb->parent_pcb->wait_child_proc_exit, PROC_INTERRUPTIBLE); in process_exit_notify()
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | completion.c | 123 __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()
|