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()4751 p->static_prio = NICE_TO_PRIO(0); in sched_fork()4754 p->static_prio = NICE_TO_PRIO(0); in sched_fork()7210 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()7220 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()7529 p->static_prio = NICE_TO_PRIO(attr->sched_nice); in __setscheduler_params()11375 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()