Searched refs:NICE_TO_PRIO (Results 1 – 2 of 2) sorted by relevance
26 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) macro
2153 prio = NICE_TO_PRIO(nice); in __normal_prio()4755 p->static_prio = NICE_TO_PRIO(0); in sched_fork()4758 p->static_prio = NICE_TO_PRIO(0); in sched_fork()7211 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()7221 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()7530 p->static_prio = NICE_TO_PRIO(attr->sched_nice); in __setscheduler_params()11378 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()