Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/sched/
Dprio.h22 #define MAX_RT_PRIO MAX_USER_RT_PRIO macro
24 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)
25 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
40 #define USER_PRIO(p) ((p)-MAX_RT_PRIO)
Drt.h8 if (unlikely(prio < MAX_RT_PRIO)) in rt_prio()
/linux-4.4.14/kernel/sched/
Dcpupri.c45 else if (prio >= MAX_RT_PRIO) in convert_prio()
48 cpupri = MAX_RT_PRIO - prio + 1; in convert_prio()
Dcpupri.h6 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO + 2)
Drt.c77 for (i = 0; i < MAX_RT_PRIO; i++) { in init_rt_rq()
82 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()
85 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_rt_rq()
86 rt_rq->highest_prio.next = MAX_RT_PRIO; in init_rt_rq()
164 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_tg_rt_entry()
397 rq->rt.highest_prio.next = MAX_RT_PRIO; in dequeue_pushable_task()
1087 rt_rq->highest_prio.curr = MAX_RT_PRIO; in dec_rt_prio()
1438 BUG_ON(idx >= MAX_RT_PRIO); in pick_next_rt_entity()
Dsched.h134 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
135 struct list_head queue[MAX_RT_PRIO];
Dcore.c814 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
918 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
968 prio = MAX_RT_PRIO-1 - p->rt_priority; in normal_prio()
3559 return p->prio - MAX_RT_PRIO; in task_prio()
3790 MAX_RT_PRIO - 1 - attr->sched_priority; in __sched_setscheduler()
3821 (!p->mm && attr->sched_priority > MAX_RT_PRIO-1)) in __sched_setscheduler()
/linux-4.4.14/kernel/
Dwatchdog.c509 watchdog_set_prio(SCHED_FIFO, MAX_RT_PRIO - 1); in watchdog_enable()
Dfutex.c1916 prio = min(current->normal_prio, MAX_RT_PRIO); in queue_me()
/linux-4.4.14/kernel/locking/
Dlocktorture.c404 param.sched_priority = MAX_RT_PRIO - 1; in torture_rtmutex_boost()
/linux-4.4.14/drivers/tty/serial/
Dsc16is7xx.c1137 struct sched_param sched_param = { .sched_priority = MAX_RT_PRIO / 2 }; in sc16is7xx_probe()
/linux-4.4.14/drivers/spi/
Dspi.c1181 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in spi_init_queue()
/linux-4.4.14/kernel/trace/
Dtrace.c1056 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()