Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/sched/
Dprio.h5 #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/
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-v5.4/kernel/sched/
Dautogroup.c215 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
Dcore.c4501 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/
Dlocktorture.c625 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/
Drcutorture.c1103 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()
Drcuperf.c330 set_user_nice(current, MAX_NICE); in rcu_perf_reader()
/Linux-v5.4/kernel/
Dsys.c212 if (niceval > MAX_NICE) in SYSCALL_DEFINE3()
213 niceval = MAX_NICE; in SYSCALL_DEFINE3()
Dworkqueue.c5427 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
/Linux-v5.4/drivers/s390/crypto/
Dap_bus.c484 set_user_nice(current, MAX_NICE); in ap_poll_thread()
/Linux-v5.4/drivers/char/ipmi/
Dipmi_si_intf.c994 set_user_nice(current, MAX_NICE); in ipmi_thread()
/Linux-v5.4/mm/
Dkhugepaged.c2107 set_user_nice(current, MAX_NICE); in khugepaged()
/Linux-v5.4/drivers/android/
Dbinder.c1059 if (min_nice <= MAX_NICE) in binder_set_nice()