Lines Matching refs:snext
1688 struct csched_vcpu *snext, bool_t *stolen) in csched_load_balance() argument
1697 BUG_ON( cpu != snext->vcpu->processor ); in csched_load_balance()
1707 if ( snext->pri == CSCHED_PRI_IDLE ) in csched_load_balance()
1709 else if ( snext->pri == CSCHED_PRI_TS_OVER ) in csched_load_balance()
1798 csched_runq_steal(peer_cpu, cpu, snext->pri, bstep) : NULL; in csched_load_balance()
1826 __runq_remove(snext); in csched_load_balance()
1827 return snext; in csched_load_balance()
1842 struct csched_vcpu *snext; in csched_schedule() local
1909 snext = scurr; in csched_schedule()
1910 snext->start_time += now; in csched_schedule()
1951 snext = __runq_elem(runq->next); in csched_schedule()
1958 snext = CSCHED_VCPU(idle_vcpu[cpu]); in csched_schedule()
1959 snext->pri = CSCHED_PRI_TS_BOOST; in csched_schedule()
1975 if ( snext->pri > CSCHED_PRI_TS_OVER ) in csched_schedule()
1976 __runq_remove(snext); in csched_schedule()
1978 snext = csched_load_balance(prv, cpu, snext, &ret.migrated); in csched_schedule()
1984 if ( !tasklet_work_scheduled && snext->pri == CSCHED_PRI_IDLE ) in csched_schedule()
1994 if ( !is_idle_vcpu(snext->vcpu) ) in csched_schedule()
1995 snext->start_time += now; in csched_schedule()
2001 ret.time = (is_idle_vcpu(snext->vcpu) ? in csched_schedule()
2003 ret.task = snext->vcpu; in csched_schedule()