Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/sched/
Dprio.h23 #define MAX_RT_PRIO MAX_USER_RT_PRIO macro
25 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)
26 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
41 #define USER_PRIO(p) ((p)-MAX_RT_PRIO)
Drt.h11 if (unlikely(prio < MAX_RT_PRIO)) in rt_prio()
/Linux-v5.4/kernel/sched/
Dcpupri.c36 else if (prio >= MAX_RT_PRIO) in convert_prio()
39 cpupri = MAX_RT_PRIO - prio + 1; in convert_prio()
Dcpupri.h3 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO + 2)
Drt.c82 for (i = 0; i < MAX_RT_PRIO; i++) { in init_rt_rq()
87 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()
90 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_rt_rq()
91 rt_rq->highest_prio.next = MAX_RT_PRIO; in init_rt_rq()
162 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_tg_rt_entry()
395 rq->rt.highest_prio.next = MAX_RT_PRIO; in dequeue_pushable_task()
1110 rt_rq->highest_prio.curr = MAX_RT_PRIO; in dec_rt_prio()
1545 BUG_ON(idx >= MAX_RT_PRIO); in pick_next_rt_entity()
Dcore.c749 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
1359 prio = MAX_RT_PRIO-1 - p->rt_priority; in normal_prio()
2136 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
4608 return p->prio - MAX_RT_PRIO; in task_prio()
4755 MAX_RT_PRIO - 1 - attr->sched_priority; in __sched_setscheduler()
4787 (!p->mm && attr->sched_priority > MAX_RT_PRIO-1)) in __sched_setscheduler()
7769 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()
7781 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()
Dsched.h229 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
230 struct list_head queue[MAX_RT_PRIO];
/Linux-v5.4/drivers/firmware/psci/
Dpsci_checker.c275 struct sched_param sched_priority = { .sched_priority = MAX_RT_PRIO-1 }; in suspend_test_thread()
/Linux-v5.4/crypto/
Dcrypto_engine.c428 struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 }; in crypto_engine_alloc_init()
/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_spi.c709 .sched_priority = MAX_RT_PRIO / 2, in cros_ec_spi_devm_high_pri_alloc()
/Linux-v5.4/kernel/locking/
Dlocktorture.c453 param.sched_priority = MAX_RT_PRIO - 1; in torture_rtmutex_boost()
/Linux-v5.4/drivers/watchdog/
Dwatchdog_dev.c1164 struct sched_param param = {.sched_priority = MAX_RT_PRIO - 1,}; in watchdog_dev_init()
/Linux-v5.4/drivers/tty/serial/
Dsc16is7xx.c1181 struct sched_param sched_param = { .sched_priority = MAX_RT_PRIO / 2 }; in sc16is7xx_probe()
/Linux-v5.4/kernel/
Dfutex.c2264 prio = min(current->normal_prio, MAX_RT_PRIO); in __queue_me()
/Linux-v5.4/drivers/spi/
Dspi.c1438 struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 }; in spi_set_thread_rt()
/Linux-v5.4/kernel/trace/
Dtrace.c1533 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()