Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/sched/
H A 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()
/openbmc/linux/kernel/trace/
H A 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()
/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.h12 #define MAX_NICE 20 macro
H A Dutils.c478 if (prio > MAX_NICE) in parse_prio()
/openbmc/linux/kernel/sched/
H A Dautogroup.c238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
H A Dcore.c170 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 Drcuscale.c425 set_user_nice(current, MAX_NICE); in rcu_scale_reader()
636 set_user_nice(current, MAX_NICE); in kfree_scale_thread()
H A Drefscale.c815 set_user_nice(current, MAX_NICE); in ref_scale_reader()
938 set_user_nice(current, MAX_NICE); in main_func()
H A Drcutorture.c1619 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 Dlocktorture.c814 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 Dscftorture.c457 set_user_nice(current, MAX_NICE); in scftorture_invoker()
H A Dsys.c234 if (niceval > MAX_NICE) in SYSCALL_DEFINE3()
235 niceval = MAX_NICE; in SYSCALL_DEFINE3()
H A Dworkqueue.c6024 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_intf.c982 set_user_nice(current, MAX_NICE); in ipmi_thread()
/openbmc/linux/drivers/s390/crypto/
H A Dap_bus.c539 set_user_nice(current, MAX_NICE); in ap_poll_thread()
/openbmc/linux/mm/
H A Dkhugepaged.c2552 set_user_nice(current, MAX_NICE); in khugepaged()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c2029 if (val < MIN_NICE || val > MAX_NICE) { in ipvs_proc_est_nice()
/openbmc/linux/drivers/android/
H A Dbinder.c688 if (min_nice <= MAX_NICE) in binder_set_nice()