Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/sched/
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-v6.6/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-v6.6/kernel/sched/
Dautogroup.c238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
Dcore.c170 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()
196 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
7194 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
7288 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
8025 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr()
11372 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
/Linux-v6.6/kernel/rcu/
Drcuscale.c425 set_user_nice(current, MAX_NICE); in rcu_scale_reader()
636 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
Drefscale.c815 set_user_nice(current, MAX_NICE); in ref_scale_reader()
938 set_user_nice(current, MAX_NICE); in main_func()
Drcutorture.c1619 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter()
2083 set_user_nice(current, MAX_NICE); in rcu_torture_reader()
2889 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog()
3032 set_user_nice(current, MAX_NICE); in rcu_torture_barrier_cbs()
3200 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit_child()
3217 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit()
/Linux-v6.6/kernel/locking/
Dlocktorture.c814 set_user_nice(current, MAX_NICE); in lock_torture_writer()
874 set_user_nice(current, MAX_NICE); in lock_torture_reader()
/Linux-v6.6/kernel/
Dscftorture.c457 set_user_nice(current, MAX_NICE); in scftorture_invoker()
Dtorture.c741 sched_set_normal(current, MAX_NICE); in stutter_wait()
Dsys.c234 if (niceval > MAX_NICE) in SYSCALL_DEFINE3()
235 niceval = MAX_NICE; in SYSCALL_DEFINE3()
Dworkqueue.c6023 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
/Linux-v6.6/drivers/char/ipmi/
Dipmi_si_intf.c982 set_user_nice(current, MAX_NICE); in ipmi_thread()
/Linux-v6.6/drivers/s390/crypto/
Dap_bus.c539 set_user_nice(current, MAX_NICE); in ap_poll_thread()
/Linux-v6.6/mm/
Dkhugepaged.c2557 set_user_nice(current, MAX_NICE); in khugepaged()
/Linux-v6.6/net/netfilter/ipvs/
Dip_vs_ctl.c2029 if (val < MIN_NICE || val > MAX_NICE) { in ipvs_proc_est_nice()
/Linux-v6.6/drivers/android/
Dbinder.c680 if (min_nice <= MAX_NICE) in binder_set_nice()