Lines Matching refs:prev
1054 pub fn put_prev_entity(&mut self, prev: Arc<FairSchedEntity>) { in put_prev_entity()
1055 if prev.on_rq() { in put_prev_entity()
1059 if prev.on_rq() { in put_prev_entity()
1060 self.inner_enqueue_entity(&prev); in put_prev_entity()
1709 prev: Option<Arc<ProcessControlBlock>>, in pick_next_task()
1716 if prev.is_none() in pick_next_task()
1717 || (prev.is_some() && prev.as_ref().unwrap().sched_info().policy() != SchedPolicy::CFS) in pick_next_task()
1719 if let Some(prev) = prev { in pick_next_task()
1720 match prev.sched_info().policy() { in pick_next_task()
1724 SchedPolicy::IDLE => IdleScheduler::put_prev_task(rq, prev), in pick_next_task()
1745 let prev = prev.unwrap(); in pick_next_task() localVariable
1773 if !Arc::ptr_eq(&prev, &p) { in pick_next_task()
1774 let mut pse = prev.sched_info().sched_entity(); in pick_next_task()
1803 fn put_prev_task(_rq: &mut CpuRunQueue, prev: Arc<ProcessControlBlock>) { in put_prev_task()
1804 let mut se = prev.sched_info().sched_entity(); in put_prev_task()