Searched refs:MAX_NICE (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/include/linux/sched/ |
D | prio.h | 5 #define MAX_NICE 19 macro 7 #define NICE_WIDTH (MAX_NICE - MIN_NICE + 1) 50 return (MAX_NICE - nice + 1); in nice_to_rlimit() 58 return (MAX_NICE - prio + 1); in rlimit_to_nice()
|
/Linux-v5.4/kernel/trace/ |
D | ring_buffer_benchmark.c | 45 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-v5.4/kernel/sched/ |
D | autogroup.c | 215 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
|
D | core.c | 4501 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice() 4584 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1() 5146 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr() 7778 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
|
/Linux-v5.4/kernel/locking/ |
D | locktorture.c | 625 set_user_nice(current, MAX_NICE); in lock_torture_writer() 662 set_user_nice(current, MAX_NICE); in lock_torture_reader()
|
/Linux-v5.4/kernel/rcu/ |
D | rcutorture.c | 1103 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter() 1363 set_user_nice(current, MAX_NICE); in rcu_torture_reader() 1958 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog() 2018 set_user_nice(current, MAX_NICE); in rcu_torture_barrier_cbs()
|
D | rcuperf.c | 330 set_user_nice(current, MAX_NICE); in rcu_perf_reader()
|
/Linux-v5.4/kernel/ |
D | sys.c | 212 if (niceval > MAX_NICE) in SYSCALL_DEFINE3() 213 niceval = MAX_NICE; in SYSCALL_DEFINE3()
|
D | workqueue.c | 5427 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
|
/Linux-v5.4/drivers/s390/crypto/ |
D | ap_bus.c | 484 set_user_nice(current, MAX_NICE); in ap_poll_thread()
|
/Linux-v5.4/drivers/char/ipmi/ |
D | ipmi_si_intf.c | 994 set_user_nice(current, MAX_NICE); in ipmi_thread()
|
/Linux-v5.4/mm/ |
D | khugepaged.c | 2107 set_user_nice(current, MAX_NICE); in khugepaged()
|
/Linux-v5.4/drivers/android/ |
D | binder.c | 1059 if (min_nice <= MAX_NICE) in binder_set_nice()
|