Searched refs:can_nice (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/kernel/sched/
H A Dauto_group.c206 if (nice < 0 && !can_nice(current, nice)) proc_sched_autogroup_set_nice()
H A Dcore.c3130 * can_nice - check if a task can reduce its nice value
3134 int can_nice(const struct task_struct *p, const int nice) can_nice() function
3165 if (increment < 0 && !can_nice(current, nice)) SYSCALL_DEFINE1()
3465 !can_nice(p, attr->sched_nice)) __sched_setscheduler()
3497 if (!can_nice(p, task_nice(p))) __sched_setscheduler()
/linux-4.1.27/kernel/
H A Dsys.c159 if (niceval < task_nice(p) && !can_nice(p, niceval)) { set_one_prio()
/linux-4.1.27/drivers/android/
H A Dbinder.c443 if (can_nice(current, nice)) { binder_set_nice()
/linux-4.1.27/include/linux/
H A Dsched.h2281 extern int can_nice(const struct task_struct *p, const int nice);

Completed in 373 milliseconds