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()
735 .sched_nice = PRIO_TO_NICE(p->static_prio), in _sched_setscheduler()
H A Dcore.c4903 } else if (PRIO_TO_NICE(p->static_prio) < 0) in sched_fork()
10435 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_write_s64()
/linux/fs/f2fs/
H A Dsysfs.c994 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()
997 PRIO_TO_NICE(sbi->critical_task_priority)); in __sbi_store()
H A Dcheckpoint.c129 lc->new_nice = PRIO_TO_NICE(sem->sbi->lock_duration_priority); in uplift_priority()
2236 PRIO_TO_NICE(sbi->critical_task_priority)); in f2fs_issue_checkpoint()
H A Dgc.c232 PRIO_TO_NICE(sbi->critical_task_priority)); in f2fs_start_gc_thread()
/linux/include/linux/
H A Dsched.h1964 return PRIO_TO_NICE((p)->static_prio);