Searched refs:NICE_TO_PRIO (Results 1 – 2 of 2) sorted by relevance
33 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) macro
1676 prio = NICE_TO_PRIO(nice); in __normal_prio()3427 p->static_prio = NICE_TO_PRIO(0); in sched_fork()3429 p->static_prio = NICE_TO_PRIO(0); in sched_fork()3433 p->static_prio = NICE_TO_PRIO(0); in sched_fork()5204 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()5214 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()5379 p->static_prio = NICE_TO_PRIO(attr->sched_nice); in __setscheduler_params()8982 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()