Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dcputime.c125 index = (task_nice(p) > 0) ? CPUTIME_NICE : CPUTIME_USER; in account_user_time()
149 if (task_nice(p) > 0) { in account_guest_time()
953 if (task_nice(tsk) <= 0) in kcpustat_field_vtime()
957 if (task_nice(tsk) > 0) in kcpustat_field_vtime()
961 if (state == VTIME_GUEST && task_nice(tsk) <= 0) in kcpustat_field_vtime()
965 if (state == VTIME_GUEST && task_nice(tsk) > 0) in kcpustat_field_vtime()
1044 if (task_nice(tsk) > 0) in kcpustat_cpu_fetch_vtime()
1050 if (task_nice(tsk) > 0) { in kcpustat_cpu_fetch_vtime()
Dcore.c7050 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
7142 nice = task_nice(current) + increment; in SYSCALL_DEFINE1()
7410 if (attr->sched_nice < task_nice(p) && in user_check_sched_setscheduler()
7442 if (!is_nice_reduction(p, task_nice(p))) in user_check_sched_setscheduler()
7550 if (fair_policy(policy) && attr->sched_nice != task_nice(p)) in __sched_setscheduler()
7876 attr->sched_nice = task_nice(p); in get_params()
10031 if (task_nice(p) < 0) in normalize_rt_tasks()
/linux-6.1.9/include/linux/
Dioprio.h32 return (task_nice(task) + 20) / 5; in task_nice_ioprio()
Dsched.h1895 static inline int task_nice(const struct task_struct *p) in task_nice() function
/linux-6.1.9/Documentation/accounting/
Dtaskstats-struct.rst63 /* The value of task_nice() of a task. */
64 __u8 ac_nice; /* task_nice */
/linux-6.1.9/kernel/
Dtsacct.c56 stats->ac_nice = task_nice(tsk); in bacct_add_tsk()
Dsys.c195 if (niceval < task_nice(p) && !can_nice(p, niceval)) { in set_one_prio()
301 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
313 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
331 niceval = nice_to_rlimit(task_nice(p)); in SYSCALL_DEFINE2()
/linux-6.1.9/kernel/rcu/
Drcutorture.c1163 int oldnice = task_nice(current); in rcu_torture_fqs()
1345 int oldnice = task_nice(current); in rcu_torture_writer()
2073 int oldnice = task_nice(current); in rcu_nocb_toggle()
2835 int oldnice = task_nice(current); in rcu_torture_fwd_prog()
/linux-6.1.9/fs/proc/
Darray.c564 nice = task_nice(task); in do_task_stat()
/linux-6.1.9/fs/
Dselect.c61 if (task_nice(current) > 0) in __estimate_accuracy()
Dbinfmt_elf_fdpic.c1356 psinfo->pr_nice = task_nice(p); in fill_psinfo()
Dbinfmt_elf.c1604 psinfo->pr_nice = task_nice(p); in fill_psinfo()
/linux-6.1.9/drivers/android/
Dbinder.c3169 t->priority = task_nice(current); in binder_transaction()
4605 t->saved_priority = task_nice(current); in binder_thread_read()
5605 proc->default_priority = task_nice(current); in binder_open()
/linux-6.1.9/virt/kvm/
Dkvm_main.c6035 set_user_nice(current, task_nice(init_context->parent)); in kvm_vm_worker_thread()