Searched refs:MAX_RT_PRIO (Results 1 – 9 of 9) sorted by relevance
16 #define MAX_RT_PRIO 100 macro18 #define MAX_PRIO (MAX_RT_PRIO + NICE_WIDTH)19 #define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
11 if (unlikely(prio < MAX_RT_PRIO)) in rt_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()
3 #define CPUPRI_NR_PRIORITIES (MAX_RT_PRIO+1)
84 for (i = 0; i < MAX_RT_PRIO; i++) { in init_rt_rq()89 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()92 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_rt_rq()93 rt_rq->highest_prio.next = MAX_RT_PRIO-1; in init_rt_rq()168 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_tg_rt_entry()403 rq->rt.highest_prio.next = MAX_RT_PRIO-1; in dequeue_pushable_task()1160 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in dec_rt_prio()1733 BUG_ON(idx >= MAX_RT_PRIO); in pick_next_rt_entity()
105 return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ in __task_prio()107 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()132 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()1208 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()2043 prio = MAX_RT_PRIO - 1 - rt_prio; in __normal_prio()6965 return p->prio - MAX_RT_PRIO; in task_prio()7227 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()7548 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()8391 ret = MAX_RT_PRIO-1; in SYSCALL_DEFINE1()10684 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()[all …]
254 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */255 struct list_head queue[MAX_RT_PRIO];
560 prio = min(current->normal_prio, MAX_RT_PRIO); in __futex_queue()
1767 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()
Completed in 75 milliseconds