Home
last modified time | relevance | path

Searched refs:MAX_NICE (Results 1 – 16 of 16) sorted by relevance

/linux/include/linux/sched/
A Dprio.h5 #define MAX_NICE 19 macro
7 #define NICE_WIDTH (MAX_NICE - MIN_NICE + 1)
34 return (MAX_NICE - nice + 1); in nice_to_rlimit()
42 return (MAX_NICE - prio + 1); in rlimit_to_nice()
/linux/kernel/trace/
A Dring_buffer_benchmark.c45 static int producer_nice = MAX_NICE;
46 static int consumer_nice = MAX_NICE;
322 producer_nice == MAX_NICE && consumer_nice == MAX_NICE) in ring_buffer_producer()
/linux/kernel/sched/
A Dautogroup.c215 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
A Dcore.c107 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()
132 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
6855 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
6937 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
7636 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr()
10693 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
/linux/kernel/rcu/
A Drcuscale.c361 set_user_nice(current, MAX_NICE); in rcu_scale_reader()
654 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
A Drefscale.c525 set_user_nice(current, MAX_NICE); in ref_scale_reader()
647 set_user_nice(current, MAX_NICE); in main_func()
A Drcutorture.c1307 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter()
1683 set_user_nice(current, MAX_NICE); in rcu_torture_reader()
2441 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog()
2534 set_user_nice(current, MAX_NICE); in rcu_torture_barrier_cbs()
2702 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit_child()
2720 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit()
/linux/kernel/locking/
A Dlocktorture.c674 set_user_nice(current, MAX_NICE); in lock_torture_writer()
713 set_user_nice(current, MAX_NICE); in lock_torture_reader()
/linux/kernel/
A Dscftorture.c454 set_user_nice(current, MAX_NICE); in scftorture_invoker()
A Dtorture.c732 sched_set_normal(current, MAX_NICE); in stutter_wait()
A Dsys.c219 if (niceval > MAX_NICE) in SYSCALL_DEFINE3()
220 niceval = MAX_NICE; in SYSCALL_DEFINE3()
A Dworkqueue.c5574 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
/linux/drivers/s390/crypto/
A Dap_bus.c513 set_user_nice(current, MAX_NICE); in ap_poll_thread()
/linux/drivers/char/ipmi/
A Dipmi_si_intf.c981 set_user_nice(current, MAX_NICE); in ipmi_thread()
/linux/mm/
A Dkhugepaged.c2280 set_user_nice(current, MAX_NICE); in khugepaged()
/linux/drivers/android/
A Dbinder.c628 if (min_nice <= MAX_NICE) in binder_set_nice()

Completed in 69 milliseconds