Home
last modified time | relevance | path

Searched refs:static_prio (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/linux/sched/
Dprio.h42 #define TASK_USER_PRIO(p) USER_PRIO((p)->static_prio)
/kernel/linux/linux-5.10/init/
Dinit_task.c79 .static_prio = MAX_PRIO - 20,
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c852 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
1684 return __normal_prio(p->policy, p->rt_priority, PRIO_TO_NICE(p->static_prio)); in normal_prio()
3410 p->static_prio = current->static_prio; in sched_fork()
3412 p->static_prio = NICE_TO_PRIO(0); in sched_fork()
3414 p->static_prio = NICE_TO_PRIO(0); in sched_fork()
3417 } else if (PRIO_TO_NICE(p->static_prio) < 0) in sched_fork()
3418 p->static_prio = NICE_TO_PRIO(0); in sched_fork()
3420 p->prio = p->normal_prio = p->static_prio; in sched_fork()
5189 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
5199 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsched.h801 int static_prio; member
1826 return PRIO_TO_NICE((p)->static_prio); in task_nice()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dsched.c120 ctx->prio = current->static_prio; in __spu_update_sched_info()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace.c1786 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()