Lines Matching refs:sort_list
113 struct rb_root sort_list; member
805 rbnext = rb_first(&cfqq->sort_list); in cfq_find_next_rq()
1417 elv_rb_del(&cfqq->sort_list, rq); in cfq_del_rq_rb()
1419 if (cfq_cfqq_on_rr(cfqq) && RB_EMPTY_ROOT(&cfqq->sort_list)) { in cfq_del_rq_rb()
1444 while ((__alias = elv_rb_add(&cfqq->sort_list, rq)) != NULL) in cfq_add_rq_rb()
1467 elv_rb_del(&cfqq->sort_list, rq); in cfq_reposition_rq_rb()
1492 return elv_rb_find(&cfqq->sort_list, sector); in cfq_find_rq_fmerge()
1685 if (cfq_cfqq_on_rr(cfqq) && RB_EMPTY_ROOT(&cfqq->sort_list)) in __cfq_slice_expired()
1924 WARN_ON(!RB_EMPTY_ROOT(&cfqq->sort_list)); in cfq_arm_slice_timer()
2240 if (cfq_cfqq_wait_busy(cfqq) && !RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_select_queue()
2256 if (cfqq->cfqg->nr_cfqq == 1 && RB_EMPTY_ROOT(&cfqq->sort_list) in cfq_select_queue()
2268 if (!RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_select_queue()
2480 BUG_ON(RB_EMPTY_ROOT(&cfqq->sort_list)); in cfq_dispatch_request()
2569 BUG_ON(rb_first(&cfqq->sort_list)); in cfq_put_queue()
3263 RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_should_preempt()
3280 if (RB_EMPTY_ROOT(&cfqq->sort_list) && !cfq_should_idle(cfqd, cfqq)) in cfq_should_preempt()
3440 if (!RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_should_wait_busy()
3503 const bool cfqq_empty = RB_EMPTY_ROOT(&cfqq->sort_list); in cfq_completed_request()
3781 if (!RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_idle_slice_timer()