Searched refs:epri (Results 1 – 3 of 3) sorted by relevance
1584 long epri = -1; in ts_swapin() local1598 epri = (long)DISP_PRIO(t) + swapout_time; in ts_swapin()1605 epri = ts_dptbl[tspp->ts_umdpri].ts_globpri; in ts_swapin()1606 ASSERT(epri >= 0 && epri <= ts_maxumdpri); in ts_swapin()1607 epri += swapout_time - pp->p_swrss / nz(maxpgio)/2; in ts_swapin()1612 epri += SHRT_MAX/2; in ts_swapin()1613 if (epri < 0) in ts_swapin()1614 epri = 0; in ts_swapin()1615 else if (epri > SHRT_MAX) in ts_swapin()1616 epri = SHRT_MAX; in ts_swapin()[all …]
2152 long epri = -1; in fss_swapin() local2162 epri = (long)DISP_PRIO(t) + swapout_time; in fss_swapin()2169 epri = fssproc->fss_umdpri; in fss_swapin()2170 ASSERT(epri >= 0 && epri <= fss_maxumdpri); in fss_swapin()2171 epri += swapout_time - pp->p_swrss / nz(maxpgio)/2; in fss_swapin()2176 epri += SHRT_MAX / 2; in fss_swapin()2177 if (epri < 0) in fss_swapin()2178 epri = 0; in fss_swapin()2179 else if (epri > SHRT_MAX) in fss_swapin()2180 epri = SHRT_MAX; in fss_swapin()[all …]
182 turnstile_pi_inherit(turnstile_t *ts, kthread_t *inheritor, pri_t epri) in turnstile_pi_inherit() argument187 if (epri <= inheritor->t_pri) in turnstile_pi_inherit()192 ts->ts_epri = epri; in turnstile_pi_inherit()203 if (ts->ts_epri < epri) in turnstile_pi_inherit()204 ts->ts_epri = epri; in turnstile_pi_inherit()207 if (epri > DISP_PRIO(inheritor)) in turnstile_pi_inherit()208 thread_change_epri(inheritor, epri); in turnstile_pi_inherit()