Home
last modified time | relevance | path

Searched refs:nice (Results 1 - 5 of 5) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dcore.c1758 static inline int __normal_prio(int policy, int rt_prio, int nice) in __normal_prio() argument
1767 prio = NICE_TO_PRIO(nice); in __normal_prio()
5432 void set_user_nice(struct task_struct *p, long nice) in set_user_nice() argument
5439 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) { in set_user_nice()
5451 * allow the 'normal' nice value to be set - but as expected in set_user_nice()
5456 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
5468 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
5492 * can_nice - check if a task can reduce its nice valu
5496 can_nice(const struct task_struct *p, const int nice) can_nice() argument
5515 long nice, retval; SYSCALL_DEFINE1() local
6086 sched_set_normal(struct task_struct *p, int nice) sched_set_normal() argument
9401 cpu_weight_nice_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, s64 nice) cpu_weight_nice_write_s64() argument
[all...]
H A Dsched.h167 #define NICE_TO_LATENCY(nice) ((nice) + DEFAULT_LATENCY_PRIO)
174 * Increase resolution of nice-level calculations for 64-bit architectures.
176 * low-weight task groups (eg. nice +19 on an autogroup), deeper taskgroup
1824 * of tasks with abnormal "nice" values across CPUs the contribution that
1826 * scheduling class and "nice" value. For SCHED_NORMAL tasks this is just a
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dsched.h61 TP_PROTO(struct task_struct *p, long *nice, bool *allowed),
62 TP_ARGS(p, nice, allowed), 1);
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dunistd.h699 int nice(int);
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dsched.h717 * implement a "nice" semantic. For example, a task running with a 20%
1827 extern void set_user_nice(struct task_struct *p, long nice);
1831 * task_nice - return the nice value of a given task.
1834 * Return: The nice value [ -20 ... 0 ... 19 ].
1841 extern int can_nice(const struct task_struct *p, const int nice);
1849 extern void sched_set_normal(struct task_struct *p, int nice);

Completed in 19 milliseconds