Home
last modified time | relevance | path

Searched refs:task_nice (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/include/linux/
Dioprio.h56 return (task_nice(task) + 20) / 5; in task_nice_ioprio()
Dsched.h1511 static inline int task_nice(const struct task_struct *p) in task_nice() function
/Linux-v4.19/Documentation/accounting/
Dtaskstats-struct.txt52 /* The value of task_nice() of a task. */
53 __u8 ac_nice; /* task_nice */
/Linux-v4.19/kernel/
Dtsacct.c60 stats->ac_nice = task_nice(tsk); in bacct_add_tsk()
Dsys.c177 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()
284 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
295 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
312 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
/Linux-v4.19/kernel/sched/
Dcputime.c124 index = (task_nice(p) > 0) ? CPUTIME_NICE : CPUTIME_USER; in account_user_time()
148 if (task_nice(p) > 0) { in account_guest_time()
Dcore.c3873 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
3954 nice = task_nice(current) + increment; in SYSCALL_DEFINE1()
4163 if (attr->sched_nice < task_nice(p) && in __sched_setscheduler()
4196 if (!can_nice(p, task_nice(p))) in __sched_setscheduler()
4241 if (fair_policy(policy) && attr->sched_nice != task_nice(p)) in __sched_setscheduler()
4722 attr.sched_nice = task_nice(p); in SYSCALL_DEFINE4()
6175 if (task_nice(p) < 0) in normalize_rt_tasks()
/Linux-v4.19/fs/proc/
Darray.c523 nice = task_nice(task); in do_task_stat()
/Linux-v4.19/fs/
Dselect.c60 if (task_nice(current) > 0) in __estimate_accuracy()
Dbinfmt_elf_fdpic.c1413 psinfo->pr_nice = task_nice(p); in fill_psinfo()
Dbinfmt_elf.c1560 psinfo->pr_nice = task_nice(p); in fill_psinfo()
/Linux-v4.19/drivers/android/
Dbinder.c2956 t->priority = task_nice(current); in binder_transaction()
4086 t->saved_priority = task_nice(current); in binder_thread_read()
4770 proc->default_priority = task_nice(current); in binder_open()