Home
last modified time | relevance | path

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

/linux/include/linux/sched/
H A Dprio.h27 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) macro
/linux/kernel/sched/
H A Dsyscalls.c28 prio = NICE_TO_PRIO(nice); in __normal_prio()
84 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
89 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
H A Dcore.c4900 p->static_prio = NICE_TO_PRIO(0); in sched_fork()
4904 p->static_prio = NICE_TO_PRIO(0); in sched_fork()
10447 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_period_quota_print()
H A Dfair.c6324 p->static_prio = NICE_TO_PRIO(attr->sched_nice); in __setparam_fair()
/linux/fs/f2fs/
H A Dsysfs.c980 if (t < NICE_TO_PRIO(MIN_NICE) || t > NICE_TO_PRIO(MAX_NICE)) in __sbi_store()
987 if (t < NICE_TO_PRIO(MIN_NICE) || t > NICE_TO_PRIO(MAX_NICE)) in __sbi_store()
H A Dcheckpoint.c136 NICE_TO_PRIO(lc->orig_nice), NICE_TO_PRIO(lc->new_nice)); in uplift_priority()
150 NICE_TO_PRIO(lc->orig_nice), NICE_TO_PRIO(lc->new_nice)); in restore_priority()
H A Df2fs.h1602 #define F2FS_CRITICAL_TASK_PRIORITY NICE_TO_PRIO(0)