Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/sched/
Dprio.h16 #define MAX_RT_PRIO 100 macro
18 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)
19 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
Drt.h11 if (unlikely(prio < MAX_RT_PRIO)) in rt_prio()
/linux-6.1.9/kernel/sched/
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()
Dcpupri.h3 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO+1)
Drt.c136 for (i = 0; i < MAX_RT_PRIO; i++) { in init_rt_rq()
141 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()
144 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_rt_rq()
145 rt_rq->highest_prio.next = MAX_RT_PRIO-1; in init_rt_rq()
220 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_tg_rt_entry()
453 rq->rt.highest_prio.next = MAX_RT_PRIO-1; in dequeue_pushable_task()
1202 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in dec_rt_prio()
1777 BUG_ON(idx >= MAX_RT_PRIO); in pick_next_rt_entity()
Dcore.c164 return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ in __task_prio()
166 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()
191 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
1262 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
2104 prio = MAX_RT_PRIO - 1 - rt_prio; in __normal_prio()
3535 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
7172 return p->prio - MAX_RT_PRIO; in task_prio()
7498 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
7772 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
8791 ret = MAX_RT_PRIO-1; in SYSCALL_DEFINE1()
[all …]
Dsched.h274 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
275 struct list_head queue[MAX_RT_PRIO];
/linux-6.1.9/kernel/futex/
Dcore.c555 prio = min(current->normal_prio, MAX_RT_PRIO); in __futex_queue()
/linux-6.1.9/kernel/trace/
Dtrace.c1793 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()