Searched refs:shiftp (Results 1 – 1 of 1) sorted by relevance
694 const struct shift_data *shiftp = &sched_decay_shifts[ticks]; in update_priority() local696 if (shiftp->shift2 > 0) { in update_priority()697 thread->cpu_usage = (thread->cpu_usage >> shiftp->shift1) + in update_priority()698 (thread->cpu_usage >> shiftp->shift2); in update_priority()699 thread->sched_usage = (thread->sched_usage >> shiftp->shift1) + in update_priority()700 (thread->sched_usage >> shiftp->shift2); in update_priority()702 thread->cpu_usage = (thread->cpu_usage >> shiftp->shift1) - in update_priority()703 (thread->cpu_usage >> -(shiftp->shift2)); in update_priority()704 thread->sched_usage = (thread->sched_usage >> shiftp->shift1) - in update_priority()705 (thread->sched_usage >> -(shiftp->shift2)); in update_priority()