Searched refs:LATENCY_TO_NICE (Results 1 – 2 of 2) sorted by relevance
905 if (user && attr->sched_latency_nice < LATENCY_TO_NICE(p->latency_prio) in latency_nice_validate()5557 attr->sched_latency_nice != LATENCY_TO_NICE(p->latency_prio)) in __sched_setscheduler()6092 kattr.sched_latency_nice = LATENCY_TO_NICE(p->latency_prio); in SYSCALL_DEFINE4()
183 #define LATENCY_TO_NICE(prio) ((prio) - DEFAULT_LATENCY_PRIO) macro