Lines Matching refs:current_pcb
5 arch::{asm::current::current_pcb, sched::sched, CurrentIrqArch},
46 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep()
47 guard.wait_list.push_back(current_pcb()); in sleep()
59 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_with_func()
60 guard.wait_list.push_back(current_pcb()); in sleep_with_func()
84 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_without_schedule()
85 guard.wait_list.push_back(current_pcb()); in sleep_without_schedule()
91 current_pcb().state = PROC_UNINTERRUPTIBLE as u64; in sleep_uninterruptible()
92 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible()
101 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_unlock_spinlock()
102 guard.wait_list.push_back(current_pcb()); in sleep_unlock_spinlock()
112 current_pcb().state = PROC_INTERRUPTIBLE as u64; in sleep_unlock_mutex()
113 guard.wait_list.push_back(current_pcb()); in sleep_unlock_mutex()
123 current_pcb().state = PROC_UNINTERRUPTIBLE as u64; in sleep_uninterruptible_unlock_spinlock()
124 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_spinlock()
134 current_pcb().state = PROC_UNINTERRUPTIBLE as u64; in sleep_uninterruptible_unlock_mutex()
135 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_mutex()