Lines Matching refs:array
67 struct rt_prio_array *array; in init_rt_rq() local
70 array = &rt_rq->active; in init_rt_rq()
72 INIT_LIST_HEAD(array->queue + i); in init_rt_rq()
73 __clear_bit(i, array->bitmap); in init_rt_rq()
76 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()
1131 struct rt_prio_array *array = &rt_rq->active; in dec_rt_prio() local
1134 sched_find_first_bit(array->bitmap); in dec_rt_prio()
1247 static void __delist_rt_entity(struct sched_rt_entity *rt_se, struct rt_prio_array *array) in __delist_rt_entity() argument
1251 if (list_empty(array->queue + rt_se_prio(rt_se))) in __delist_rt_entity()
1252 __clear_bit(rt_se_prio(rt_se), array->bitmap); in __delist_rt_entity()
1366 struct rt_prio_array *array = &rt_rq->active; in __enqueue_rt_entity() local
1368 struct list_head *queue = array->queue + rt_se_prio(rt_se); in __enqueue_rt_entity()
1378 __delist_rt_entity(rt_se, array); in __enqueue_rt_entity()
1389 __set_bit(rt_se_prio(rt_se), array->bitmap); in __enqueue_rt_entity()
1400 struct rt_prio_array *array = &rt_rq->active; in __dequeue_rt_entity() local
1404 __delist_rt_entity(rt_se, array); in __dequeue_rt_entity()
1504 struct rt_prio_array *array = &rt_rq->active; in requeue_rt_entity() local
1505 struct list_head *queue = array->queue + rt_se_prio(rt_se); in requeue_rt_entity()
1705 struct rt_prio_array *array = &rt_rq->active; in pick_next_rt_entity() local
1710 idx = sched_find_first_bit(array->bitmap); in pick_next_rt_entity()
1713 queue = array->queue + idx; in pick_next_rt_entity()