Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/kernel/sched/
Dautogroup.c238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
Dcore.c166 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()
191 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
7050 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
7144 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
7860 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr()
11059 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
/linux-6.1.9/kernel/rcu/
Drcuscale.c381 set_user_nice(current, MAX_NICE); in rcu_scale_reader()
675 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
Drefscale.c547 set_user_nice(current, MAX_NICE); in ref_scale_reader()
670 set_user_nice(current, MAX_NICE); in main_func()
Drcutorture.c1573 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter()
2037 set_user_nice(current, MAX_NICE); in rcu_torture_reader()
2844 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog()
2987 set_user_nice(current, MAX_NICE); in rcu_torture_barrier_cbs()
3155 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit_child()
3172 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit()
/linux-6.1.9/kernel/locking/
Dlocktorture.c674 set_user_nice(current, MAX_NICE); in lock_torture_writer()
713 set_user_nice(current, MAX_NICE); in lock_torture_reader()
/linux-6.1.9/kernel/
Dscftorture.c451 set_user_nice(current, MAX_NICE); in scftorture_invoker()
Dtorture.c732 sched_set_normal(current, MAX_NICE); in stutter_wait()
Dsys.c227 if (niceval > MAX_NICE) in SYSCALL_DEFINE3()
228 niceval = MAX_NICE; in SYSCALL_DEFINE3()
Dworkqueue.c5555 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
/linux-6.1.9/drivers/char/ipmi/
Dipmi_si_intf.c982 set_user_nice(current, MAX_NICE); in ipmi_thread()
/linux-6.1.9/drivers/s390/crypto/
Dap_bus.c529 set_user_nice(current, MAX_NICE); in ap_poll_thread()
/linux-6.1.9/mm/
Dkhugepaged.c2475 set_user_nice(current, MAX_NICE); in khugepaged()
/linux-6.1.9/drivers/android/
Dbinder.c679 if (min_nice <= MAX_NICE) in binder_set_nice()