Searched refs:can_nice (Results 1 – 5 of 5) sorted by relevance
207 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
4103 int can_nice(const struct task_struct *p, const int nice) in can_nice() function4141 if (increment < 0 && !can_nice(current, nice)) in SYSCALL_DEFINE1()4313 if (!can_nice(p, TASK_NICE(p))) in __sched_setscheduler()
2131 extern int can_nice(const struct task_struct *p, const int nice);
157 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()
505 if (can_nice(current, nice)) { in binder_set_nice()