Searched refs:MAX_NICE (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/include/linux/sched/ |
H 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()
|
/openbmc/linux/kernel/trace/ |
H 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()
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | utils.h | 12 #define MAX_NICE 20 macro
|
H A D | utils.c | 478 if (prio > MAX_NICE) in parse_prio()
|
/openbmc/linux/kernel/sched/ |
H A D | autogroup.c | 238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
|
H A 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() 7196 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice() 7290 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1() 8027 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE); in sched_copy_attr() 11402 if (nice < MIN_NICE || nice > MAX_NICE) in cpu_weight_nice_write_s64()
|
/openbmc/linux/kernel/rcu/ |
H A 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()
|
H A D | refscale.c | 815 set_user_nice(current, MAX_NICE); in ref_scale_reader() 938 set_user_nice(current, MAX_NICE); in main_func()
|
H A D | rcutorture.c | 1619 set_user_nice(current, MAX_NICE); in rcu_torture_fakewriter() 2084 set_user_nice(current, MAX_NICE); in rcu_torture_reader() 2890 set_user_nice(current, MAX_NICE); in rcu_torture_fwd_prog() 3034 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()
|
/openbmc/linux/kernel/locking/ |
H A 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()
|
/openbmc/linux/kernel/ |
H A D | scftorture.c | 457 set_user_nice(current, MAX_NICE); in scftorture_invoker()
|
H A D | sys.c | 234 if (niceval > MAX_NICE) in SYSCALL_DEFINE3() 235 niceval = MAX_NICE; in SYSCALL_DEFINE3()
|
H A D | workqueue.c | 6024 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 982 set_user_nice(current, MAX_NICE); in ipmi_thread()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | ap_bus.c | 539 set_user_nice(current, MAX_NICE); in ap_poll_thread()
|
/openbmc/linux/mm/ |
H A D | khugepaged.c | 2552 set_user_nice(current, MAX_NICE); in khugepaged()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 2029 if (val < MIN_NICE || val > MAX_NICE) { in ipvs_proc_est_nice()
|
/openbmc/linux/drivers/android/ |
H A D | binder.c | 688 if (min_nice <= MAX_NICE) in binder_set_nice()
|