Searched refs:newnice (Results 1 – 3 of 3) sorted by relevance
1487 int newnice; in fx_donice() local1515 newnice = fxpp->fx_nice + incr; in fx_donice()1516 if (newnice > NZERO) in fx_donice()1517 newnice = NZERO; in fx_donice()1518 else if (newnice < 0) in fx_donice()1519 newnice = 0; in fx_donice()1522 -((newnice - NZERO) * fx_maxupri) / NZERO; in fx_donice()1543 fxpp->fx_nice = (char)newnice; in fx_donice()1546 *retvalp = newnice - NZERO; in fx_donice()
1989 int newnice; in ts_donice() local2017 newnice = tspp->ts_nice + incr; in ts_donice()2018 if (newnice >= 2 * NZERO) in ts_donice()2019 newnice = 2 * NZERO - 1; in ts_donice()2020 else if (newnice < 0) in ts_donice()2021 newnice = 0; in ts_donice()2024 -((newnice - NZERO) * ts_maxupri) / NZERO; in ts_donice()2040 tspp->ts_nice = (char)newnice; in ts_donice()2043 *retvalp = newnice - NZERO; in ts_donice()
2551 int newnice; in fss_donice() local2577 newnice = fssproc->fss_nice + incr; in fss_donice()2578 if (newnice > FSS_NICE_MAX) in fss_donice()2579 newnice = FSS_NICE_MAX; in fss_donice()2580 else if (newnice < FSS_NICE_MIN) in fss_donice()2581 newnice = FSS_NICE_MIN; in fss_donice()2584 -((newnice - NZERO) * fss_maxupri) / NZERO; in fss_donice()2599 fssproc->fss_nice = (char)newnice; in fss_donice()2602 *retvalp = newnice - NZERO; in fss_donice()