Home
last modified time | relevance | path

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

/linux/include/linux/sched/
H A Dprio.h28 #define PRIO_TO_NICE(prio) ((prio) - DEFAULT_PRIO) macro
/linux/kernel/sched/
H A Dsyscalls.c42 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()
H A Dcore.c4652 } 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()
/linux/fs/f2fs/
H A Dcheckpoint.c128 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()
H A Dsysfs.c980 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()
983 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()
H A Dgc.c238 PRIO_TO_NICE(sbi->critical_task_priority)); in f2fs_start_gc_thread()
/linux/include/linux/
H A Dsched.h1918 return PRIO_TO_NICE((p)->static_prio); in task_nice()