Searched refs:PRIO_TO_NICE (Results 1 – 7 of 7) sorted by relevance
28 #define PRIO_TO_NICE(prio) ((prio) - DEFAULT_PRIO) macro
42 return __normal_prio(p->policy, p->rt_priority, PRIO_TO_NICE(p->static_prio)); in normal_prio()731 .sched_nice = PRIO_TO_NICE(p->static_prio), in _sched_setscheduler()
4652 } else if (PRIO_TO_NICE(p->static_prio) < 0) in sched_fork()10112 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()
128 lc->new_nice = PRIO_TO_NICE(sem->sbi->lock_duration_priority); in uplift_priority()2162 PRIO_TO_NICE(sbi->critical_task_priority)); in f2fs_start_ckpt_thread()
980 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()983 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()
238 PRIO_TO_NICE(sbi->critical_task_priority)); in f2fs_start_gc_thread()
1918 return PRIO_TO_NICE((p)->static_prio); in task_nice()