• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/

Lines Matching defs:new_cfqq

148 	struct cfq_queue *new_cfqq;
1181 int new_cfqq = 1;
1237 new_cfqq = 0;
1279 if ((add_front || !new_cfqq) && !group_changed)
2039 static void cfq_setup_merge(struct cfq_queue *cfqq, struct cfq_queue *new_cfqq)
2045 * If there are no process references on the new_cfqq, then it is
2046 * unsafe to follow the ->new_cfqq chain as other cfqq's in the
2050 if (!cfqq_process_refs(new_cfqq))
2054 while ((__cfqq = new_cfqq->new_cfqq)) {
2057 new_cfqq = __cfqq;
2061 new_process_refs = cfqq_process_refs(new_cfqq);
2073 cfqq->new_cfqq = new_cfqq;
2074 atomic_add(process_refs, &new_cfqq->ref);
2076 new_cfqq->new_cfqq = cfqq;
2222 struct cfq_queue *cfqq, *new_cfqq = NULL;
2271 new_cfqq = cfq_close_cooperator(cfqd, cfqq);
2272 if (new_cfqq) {
2273 if (!cfqq->new_cfqq)
2274 cfq_setup_merge(cfqq, new_cfqq);
2311 if (!new_cfqq)
2314 cfqq = cfq_set_active_queue(cfqd, new_cfqq);
2651 __cfqq = cfqq->new_cfqq;
2654 WARN(1, "cfqq->new_cfqq loop detected\n");
2657 next = __cfqq->new_cfqq;
2809 struct cfq_queue *new_cfqq;
2810 new_cfqq = cfq_get_queue(cfqd, BLK_RW_ASYNC, cic->ioc,
2812 if (new_cfqq) {
2813 cic->cfqq[BLK_RW_ASYNC] = new_cfqq;
2890 struct cfq_queue *cfqq, *new_cfqq = NULL;
2906 if (new_cfqq) {
2907 cfqq = new_cfqq;
2908 new_cfqq = NULL;
2911 new_cfqq = kmem_cache_alloc_node(cfq_pool,
2915 if (new_cfqq)
2932 if (new_cfqq)
2933 kmem_cache_free(cfq_pool, new_cfqq);
3200 * Check if new_cfqq should preempt the currently active queue. Return 0 for
3204 cfq_should_preempt(struct cfq_data *cfqd, struct cfq_queue *new_cfqq,
3213 if (cfq_class_idle(new_cfqq))
3222 if (cfq_class_rt(cfqq) && !cfq_class_rt(new_cfqq))
3232 if (new_cfqq->cfqg != cfqq->cfqg)
3240 cfqq_type(new_cfqq) == SYNC_NOIDLE_WORKLOAD &&
3241 new_cfqq->service_tree->count == 2 &&
3255 if (cfq_class_rt(new_cfqq) && !cfq_class_rt(cfqq))
3611 cfq_log_cfqq(cfqd, cfqq, "merging with queue %p", cfqq->new_cfqq);
3612 cic_set_cfqq(cic, cfqq->new_cfqq, 1);
3613 cfq_mark_cfqq_coop(cfqq->new_cfqq);
3681 * The reference on new_cfqq was taken in merge_cfqqs.
3683 if (cfqq->new_cfqq)