Searched refs:task_nice (Results 1 – 14 of 14) sorted by relevance
129 index = (task_nice(p) > 0) ? CPUTIME_NICE : CPUTIME_USER; in account_user_time()153 if (task_nice(p) > 0) { in account_guest_time()957 if (task_nice(tsk) <= 0) in kcpustat_field_vtime()961 if (task_nice(tsk) > 0) in kcpustat_field_vtime()965 if (state == VTIME_GUEST && task_nice(tsk) <= 0) in kcpustat_field_vtime()969 if (state == VTIME_GUEST && task_nice(tsk) > 0) in kcpustat_field_vtime()1048 if (task_nice(tsk) > 0) in kcpustat_cpu_fetch_vtime()1054 if (task_nice(tsk) > 0) { in kcpustat_cpu_fetch_vtime()
7195 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()7287 nice = task_nice(current) + increment; in SYSCALL_DEFINE1()7568 if (attr->sched_nice < task_nice(p) && in user_check_sched_setscheduler()7600 if (!is_nice_reduction(p, task_nice(p))) in user_check_sched_setscheduler()7715 if (fair_policy(policy) && attr->sched_nice != task_nice(p)) in __sched_setscheduler()8042 attr->sched_nice = task_nice(p); in get_params()10283 if (task_nice(p) < 0) in normalize_rt_tasks()
32 return (task_nice(task) + 20) / 5; in task_nice_ioprio()
1915 static inline int task_nice(const struct task_struct *p) in task_nice() function
63 /* The value of task_nice() of a task. */64 __u8 ac_nice; /* task_nice */
56 stats->ac_nice = task_nice(tsk); in bacct_add_tsk()
202 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()308 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()320 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()338 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
1179 int oldnice = task_nice(current); in rcu_torture_fqs()1365 int oldnice = task_nice(current); in rcu_torture_writer()2119 int oldnice = task_nice(current); in rcu_nocb_toggle()2880 int oldnice = task_nice(current); in rcu_torture_fwd_prog()
576 nice = task_nice(task); in do_task_stat()
61 if (task_nice(current) > 0) in __estimate_accuracy()
1351 psinfo->pr_nice = task_nice(p); in fill_psinfo()
1603 psinfo->pr_nice = task_nice(p); in fill_psinfo()
3206 t->priority = task_nice(current); in binder_transaction()4653 t->saved_priority = task_nice(current); in binder_thread_read()5643 proc->default_priority = task_nice(current); in binder_open()
6200 set_user_nice(current, task_nice(init_context->parent)); in kvm_vm_worker_thread()