Home
last modified time | relevance | path

Searched refs:MAX_RT_PRIO (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/sched/
H A Dprio.h16 #define MAX_RT_PRIO 100 macro
19 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)
20 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
H A Drt.h11 return unlikely(prio < MAX_RT_PRIO && prio >= MAX_DL_PRIO); in rt_prio()
16 return unlikely(prio < MAX_RT_PRIO); in rt_or_dl_prio()
/linux/kernel/sched/
H A Dcpupri.c52 cpupri = MAX_RT_PRIO-1 - prio; /* 1 ... 99 */ in convert_prio()
55 case MAX_RT_PRIO-1: in convert_prio()
59 case MAX_RT_PRIO: in convert_prio()
H A Dcpupri.h3 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO+1)
H A Dsyscalls.c26 prio = MAX_RT_PRIO - 1 - rt_prio; in __normal_prio()
193 return p->prio - MAX_RT_PRIO; in task_prio()
552 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
848 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
1492 ret = MAX_RT_PRIO-1; in SYSCALL_DEFINE1()
H A Dcore.c173 return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ in __task_prio()
176 return MAX_RT_PRIO + MAX_NICE + 1; /* 120, squash ext */ in __task_prio()
178 return MAX_RT_PRIO + MAX_NICE; /* 119, squash fair */ in __task_prio()
220 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
224 if (pa == MAX_RT_PRIO + MAX_NICE + 1) /* ext */ in prio_less()
1420 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
3605 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
9941 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()
9953 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()
H A Dext.c4034 weight = sched_prio_to_weight[p->static_prio - MAX_RT_PRIO]; in scx_ops_enable_task()
/linux/arch/s390/kernel/
H A Dwti.c167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
/linux/kernel/futex/
H A Dcore.c548 prio = min(current->normal_prio, MAX_RT_PRIO); in __futex_queue()
/linux/kernel/trace/
H A Dtrace.c1924 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()