Searched refs:MAX_NICE (Results 1 – 16 of 16) sorted by relevance
/linux/include/linux/sched/ |
A 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/kernel/trace/ |
A 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/kernel/sched/ |
A D | autogroup.c | 215 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
|
A D | core.c | 107 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio() 132 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less() 6855 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice() 6937 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1() 7636 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr() 10693 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
|
/linux/kernel/rcu/ |
A D | rcuscale.c | 361 set_user_nice(current, MAX_NICE); in rcu_scale_reader() 654 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
|
A D | refscale.c | 525 set_user_nice(current, MAX_NICE); in ref_scale_reader() 647 set_user_nice(current, MAX_NICE); in main_func()
|
A D | rcutorture.c | 1307 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter() 1683 set_user_nice(current, MAX_NICE); in rcu_torture_reader() 2441 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog() 2534 set_user_nice(current, MAX_NICE); in rcu_torture_barrier_cbs() 2702 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit_child() 2720 set_user_nice(current, MAX_NICE); in rcu_torture_read_exit()
|
/linux/kernel/locking/ |
A 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/kernel/ |
A D | scftorture.c | 454 set_user_nice(current, MAX_NICE); in scftorture_invoker()
|
A D | torture.c | 732 sched_set_normal(current, MAX_NICE); in stutter_wait()
|
A D | sys.c | 219 if (niceval > MAX_NICE) in SYSCALL_DEFINE3() 220 niceval = MAX_NICE; in SYSCALL_DEFINE3()
|
A D | workqueue.c | 5574 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
|
/linux/drivers/s390/crypto/ |
A D | ap_bus.c | 513 set_user_nice(current, MAX_NICE); in ap_poll_thread()
|
/linux/drivers/char/ipmi/ |
A D | ipmi_si_intf.c | 981 set_user_nice(current, MAX_NICE); in ipmi_thread()
|
/linux/mm/ |
A D | khugepaged.c | 2280 set_user_nice(current, MAX_NICE); in khugepaged()
|
/linux/drivers/android/ |
A D | binder.c | 628 if (min_nice <= MAX_NICE) in binder_set_nice()
|
Completed in 66 milliseconds