Searched refs:MAX_NICE (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/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-6.1.9/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-6.1.9/kernel/sched/ |
D | autogroup.c | 238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
|
D | core.c | 166 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/ |
D | rcuscale.c | 381 set_user_nice(current, MAX_NICE); in rcu_scale_reader() 675 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
|
D | refscale.c | 547 set_user_nice(current, MAX_NICE); in ref_scale_reader() 670 set_user_nice(current, MAX_NICE); in main_func()
|
D | rcutorture.c | 1573 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/ |
D | locktorture.c | 674 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/ |
D | scftorture.c | 451 set_user_nice(current, MAX_NICE); in scftorture_invoker()
|
D | torture.c | 732 sched_set_normal(current, MAX_NICE); in stutter_wait()
|
D | sys.c | 227 if (niceval > MAX_NICE) in SYSCALL_DEFINE3() 228 niceval = MAX_NICE; in SYSCALL_DEFINE3()
|
D | workqueue.c | 5555 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
|
/linux-6.1.9/drivers/char/ipmi/ |
D | ipmi_si_intf.c | 982 set_user_nice(current, MAX_NICE); in ipmi_thread()
|
/linux-6.1.9/drivers/s390/crypto/ |
D | ap_bus.c | 529 set_user_nice(current, MAX_NICE); in ap_poll_thread()
|
/linux-6.1.9/mm/ |
D | khugepaged.c | 2475 set_user_nice(current, MAX_NICE); in khugepaged()
|
/linux-6.1.9/drivers/android/ |
D | binder.c | 679 if (min_nice <= MAX_NICE) in binder_set_nice()
|