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()
53 cpupri = MAX_RT_PRIO-1 - prio; /* 1 ... 99 */ in convert_prio()56 case MAX_RT_PRIO-1: in convert_prio()60 case MAX_RT_PRIO: in convert_prio()
6 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO+1)
26 prio = MAX_RT_PRIO - 1 - rt_prio; in __normal_prio()172 return p->prio - MAX_RT_PRIO; in task_prio()529 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()814 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()838 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 - 1 }; in sched_set_fifo_secondary()1476 ret = MAX_RT_PRIO-1; in SYSCALL_DEFINE1()
212 return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ in __task_prio()215 return MAX_RT_PRIO + MAX_NICE + 1; /* 120, squash ext */ in __task_prio()217 return MAX_RT_PRIO + MAX_NICE; /* 119, squash fair */ in __task_prio()259 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()263 if (pa == MAX_RT_PRIO + MAX_NICE + 1) /* ext */ in prio_less()1507 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()3604 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()10387 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()10399 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()
312 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */313 struct list_head queue[MAX_RT_PRIO];
3619 weight = sched_prio_to_weight[p->static_prio - MAX_RT_PRIO]; in __scx_enable_task()
167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
903 prio = min(current->normal_prio, MAX_RT_PRIO); in __futex_queue()