Home
last modified time | relevance | path

Searched refs:PRIO_TO_NICE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/linux/sched/
Dprio.h27 #define PRIO_TO_NICE(prio) ((prio) - DEFAULT_PRIO) macro
/linux-6.1.9/include/linux/
Dsched.h1897 return PRIO_TO_NICE((p)->static_prio); in task_nice()
/linux-6.1.9/kernel/sched/
Dcore.c2120 return __normal_prio(p->policy, p->rt_priority, PRIO_TO_NICE(p->static_prio)); in normal_prio()
4616 } else if (PRIO_TO_NICE(p->static_prio) < 0) in sched_fork()
7692 .sched_nice = PRIO_TO_NICE(p->static_prio), in _sched_setscheduler()
11050 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()