Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/sched/
Dautogroup.c222 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
Dcore.c3926 int can_nice(const struct task_struct *p, const int nice) in can_nice() function
3957 if (increment < 0 && !can_nice(current, nice)) in SYSCALL_DEFINE1()
4164 !can_nice(p, attr->sched_nice)) in __sched_setscheduler()
4196 if (!can_nice(p, task_nice(p))) in __sched_setscheduler()
/Linux-v4.19/include/linux/
Dsched.h1516 extern int can_nice(const struct task_struct *p, const int nice);
/Linux-v4.19/kernel/
Dsys.c177 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()
/Linux-v4.19/drivers/android/
Dbinder.c1114 if (can_nice(current, nice)) { in binder_set_nice()