Searched refs:NICE_TO_PRIO (Results 1 – 2 of 2) sorted by relevance
33 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) macro
2864 p->static_prio = NICE_TO_PRIO(0); in sched_fork()2867 p->static_prio = NICE_TO_PRIO(0); in sched_fork()4517 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()4527 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()4693 p->static_prio = NICE_TO_PRIO(attr->sched_nice); in __setscheduler_params()7781 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()