Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/sched/
H A Dautogroup.c222 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
H A Dcore.c5304 int can_nice(const struct task_struct *p, const int nice) in can_nice() function
5335 if (increment < 0 && !can_nice(current, nice)) in SYSCALL_DEFINE1()
5519 !can_nice(p, attr->sched_nice)) in __sched_setscheduler()
5551 if (!can_nice(p, task_nice(p))) in __sched_setscheduler()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h1732 extern int can_nice(const struct task_struct *p, const int nice);
/OK3568_Linux_fs/kernel/kernel/
H A Dsys.c191 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()