Searched refs:sched_nice (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/kernel/sched/
H A Dcore.c3296 p->static_prio = NICE_TO_PRIO(attr->sched_nice); __setscheduler_params()
3464 if (attr->sched_nice < task_nice(p) && __sched_setscheduler()
3465 !can_nice(p, attr->sched_nice)) __sched_setscheduler()
3538 if (fair_policy(policy) && attr->sched_nice != task_nice(p)) __sched_setscheduler()
3650 .sched_nice = PRIO_TO_NICE(p->static_prio), _sched_setscheduler()
3788 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); sched_copy_attr()
4005 attr.sched_nice = task_nice(p); SYSCALL_DEFINE4()
/linux-4.1.27/include/linux/
H A Dsched.h96 * @sched_nice task's nice value (SCHED_NORMAL/BATCH)
117 s32 sched_nice; member in struct:sched_attr

Completed in 108 milliseconds