Home
last modified time | relevance | path

Searched refs:currunit (Results 1 – 3 of 3) sorted by relevance

/xen/xen/common/sched/
A Drt.c1046 rt_schedule(const struct scheduler *ops, struct sched_unit *currunit, in rt_schedule() argument
1052 struct rt_unit *const scurr = rt_unit(currunit); in rt_schedule()
1064 d.idle = is_idle_unit(currunit); in rt_schedule()
1094 if ( !is_idle_unit(currunit) && in rt_schedule()
1095 unit_runnable_state(currunit) && in rt_schedule()
1103 !is_idle_unit(currunit) && in rt_schedule()
1104 unit_runnable(currunit) ) in rt_schedule()
1108 currunit->next_time = -1; /* if an idle unit is picked */ in rt_schedule()
1122 currunit->next_time = snext->cur_budget; in rt_schedule()
1124 currunit->next_task = snext->unit; in rt_schedule()
A Dcredit.c923 struct sched_unit *currunit = current->sched_unit; in csched_unit_acct() local
924 struct csched_unit * const svc = CSCHED_UNIT(currunit); in csched_unit_acct()
928 ASSERT( sched_unit_master(currunit) == cpu ); in csched_unit_acct()
961 spinlock_t *lock = unit_schedule_lock_irqsave(currunit, &flags); in csched_unit_acct()
968 new_cpu = _csched_cpu_pick(ops, currunit, false); in csched_unit_acct()
970 unit_schedule_unlock_irqrestore(lock, flags, currunit); in csched_unit_acct()
976 sched_set_pause_flags(currunit, _VPF_migrating); in csched_unit_acct()
A Dcredit2.c3541 const struct scheduler *ops, struct sched_unit *currunit, s_time_t now, in csched2_schedule() argument
3547 struct csched2_unit * const scurr = csched2_unit(currunit); in csched2_schedule()
3553 CSCHED2_UNIT_CHECK(currunit); in csched2_schedule()
3562 BUG_ON(!is_idle_unit(currunit) && scurr->rqd != rqd); in csched2_schedule()
3582 d.idle = is_idle_unit(currunit); in csched2_schedule()
3631 && !is_idle_unit(currunit) in csched2_schedule()
3632 && unit_runnable(currunit) ) in csched2_schedule()
3721 currunit->next_time = csched2_runtime(ops, sched_cpu, snext, now); in csched2_schedule()
3722 currunit->next_task = snext->unit; in csched2_schedule()
3725 CSCHED2_UNIT_CHECK(currunit->next_task); in csched2_schedule()

Completed in 18 milliseconds