Lines Matching refs:current_cpu_queue
132 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies() localVariable
136 current_cpu_queue.lock.lock(); in timer_update_jiffies()
137 current_cpu_queue.cpu_exec_proc_jiffies -= 1; in timer_update_jiffies()
139 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in timer_update_jiffies()
142 current_cpu_queue.lock.unlock(); in timer_update_jiffies()
156 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched() localVariable
157 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched()
167 current_cpu_queue.enqueue(current_pcb()); in sched()
173 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
174 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
186 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
187 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
191 current_cpu_queue.enqueue(proc); in sched()