Lines Matching refs:__cfqq

2206 	struct cfq_queue *__cfqq;  in cfq_service_tree_add()  local
2218 __cfqq = rb_entry(parent, struct cfq_queue, rb_node); in cfq_service_tree_add()
2219 rb_key += __cfqq->rb_key; in cfq_service_tree_add()
2234 __cfqq = cfq_rb_first(st); in cfq_service_tree_add()
2235 rb_key += __cfqq ? __cfqq->rb_key : now; in cfq_service_tree_add()
2255 __cfqq = rb_entry(parent, struct cfq_queue, rb_node); in cfq_service_tree_add()
2260 if (rb_key < __cfqq->rb_key) in cfq_service_tree_add()
2316 struct cfq_queue *__cfqq; in cfq_prio_tree_add() local
2329 __cfqq = cfq_prio_tree_lookup(cfqd, cfqq->p_root, in cfq_prio_tree_add()
2331 if (!__cfqq) { in cfq_prio_tree_add()
2777 struct cfq_queue *__cfqq; in cfqq_close() local
2787 __cfqq = cfq_prio_tree_lookup(cfqd, root, sector, &parent, NULL); in cfqq_close()
2788 if (__cfqq) in cfqq_close()
2789 return __cfqq; in cfqq_close()
2795 __cfqq = rb_entry(parent, struct cfq_queue, p_node); in cfqq_close()
2796 if (cfq_rq_close(cfqd, cur_cfqq, __cfqq->next_rq)) in cfqq_close()
2797 return __cfqq; in cfqq_close()
2799 if (blk_rq_pos(__cfqq->next_rq) < sector) in cfqq_close()
2800 node = rb_next(&__cfqq->p_node); in cfqq_close()
2802 node = rb_prev(&__cfqq->p_node); in cfqq_close()
2806 __cfqq = rb_entry(node, struct cfq_queue, p_node); in cfqq_close()
2807 if (cfq_rq_close(cfqd, cur_cfqq, __cfqq->next_rq)) in cfqq_close()
2808 return __cfqq; in cfqq_close()
3053 struct cfq_queue *__cfqq; in cfq_setup_merge() local
3065 while ((__cfqq = new_cfqq->new_cfqq)) { in cfq_setup_merge()
3066 if (__cfqq == cfqq) in cfq_setup_merge()
3068 new_cfqq = __cfqq; in cfq_setup_merge()
3603 struct cfq_queue *__cfqq, *next; in cfq_put_cooperator() local
3610 __cfqq = cfqq->new_cfqq; in cfq_put_cooperator()
3611 while (__cfqq) { in cfq_put_cooperator()
3612 if (__cfqq == cfqq) { in cfq_put_cooperator()
3616 next = __cfqq->new_cfqq; in cfq_put_cooperator()
3617 cfq_put_queue(__cfqq); in cfq_put_cooperator()
3618 __cfqq = next; in cfq_put_cooperator()