struct cfq_queue *cfqq = NULL; 
struct cfq_queue *cfqq;  /* * if current queue is expired but not done with its requests yet, * wait for that to happen */ if ((cfqq = cfqd->active_queue) != NULL) { if (cfq_cfqq_expired(cfqq) && cfq_cfqq_dispatched(cfqq)) return NULL; } 
static void cfq_set_active_queue(struct cfq_data *cfqd){	struct cfq_queue *cfqq = NULL;	/*	 * if current list is non-empty, grab first entry. if it is empty,	 * get next prio level and grab first entry then if any are spliced	 */	if (!list_empty(&cfqd->cur_rr) || cfq_get_next_prio_level(cfqd) != -1)		cfqq = list_entry_cfqq(cfqd->cur_rr.next);	/*	 * if we have idle queues and no rt or be queues had pending	 * requests, either allow immediate service if the grace period	 * has passed or arm the idle grace timer	 */	if (!cfqq && !list_empty(&cfqd->idle_rr)) {		unsigned long end = cfqd->last_end_request + CFQ_IDLE_GRACE;		if (time_after_eq(jiffies, end))			cfqq = list_entry_cfqq(cfqd->idle_rr.next);		else			mod_timer(&cfqd->idle_class_timer, end);	}	__cfq_set_active_queue(cfqd, cfqq);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3b18152c327707ae6a2eeba4cfb66457143753bc/cfq-iosched.c/clean/drivers/block/cfq-iosched.c