Searched refs:MAX_NICE (Results 1 – 17 of 17) sorted by relevance
/Linux-v6.6/include/linux/sched/ |
D | prio.h | 5 #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/ |
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-v6.6/kernel/sched/ |
D | autogroup.c | 238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
|
D | core.c | 170 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/ |
D | rcuscale.c | 425 set_user_nice(current, MAX_NICE); in rcu_scale_reader() 636 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
|
D | refscale.c | 815 set_user_nice(current, MAX_NICE); in ref_scale_reader() 938 set_user_nice(current, MAX_NICE); in main_func()
|
D | rcutorture.c | 1619 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/ |
D | locktorture.c | 814 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/ |
D | scftorture.c | 457 set_user_nice(current, MAX_NICE); in scftorture_invoker()
|
D | torture.c | 741 sched_set_normal(current, MAX_NICE); in stutter_wait()
|
D | sys.c | 234 if (niceval > MAX_NICE) in SYSCALL_DEFINE3() 235 niceval = MAX_NICE; in SYSCALL_DEFINE3()
|
D | workqueue.c | 6023 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
|
/Linux-v6.6/drivers/char/ipmi/ |
D | ipmi_si_intf.c | 982 set_user_nice(current, MAX_NICE); in ipmi_thread()
|
/Linux-v6.6/drivers/s390/crypto/ |
D | ap_bus.c | 539 set_user_nice(current, MAX_NICE); in ap_poll_thread()
|
/Linux-v6.6/mm/ |
D | khugepaged.c | 2557 set_user_nice(current, MAX_NICE); in khugepaged()
|
/Linux-v6.6/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 2029 if (val < MIN_NICE || val > MAX_NICE) { in ipvs_proc_est_nice()
|
/Linux-v6.6/drivers/android/ |
D | binder.c | 680 if (min_nice <= MAX_NICE) in binder_set_nice()
|