Searched refs:MAX_RT_PRIO (Results 1 – 10 of 10) sorted by relevance
16 #define MAX_RT_PRIO 100 macro19 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)20 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
11 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()
52 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()
3 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO+1)
26 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()
173 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()
4034 weight = sched_prio_to_weight[p->static_prio - MAX_RT_PRIO]; in scx_ops_enable_task()
167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
548 prio = min(current->normal_prio, MAX_RT_PRIO); in __futex_queue()
1924 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()