Lines Matching refs:fq
593 struct blk_flush_queue *fq = blk_get_flush_queue(q, NULL); in __blk_drain_queue() local
598 if (fq) in __blk_drain_queue()
599 drain |= !list_empty(&fq->flush_queue[i]); in __blk_drain_queue()
1174 q->fq = blk_alloc_flush_queue(q, NUMA_NO_NODE, q->cmd_size, GFP_KERNEL); in blk_init_allocated_queue()
1175 if (!q->fq) in blk_init_allocated_queue()
1178 if (q->init_rq_fn && q->init_rq_fn(q, q->fq->flush_rq, GFP_KERNEL)) in blk_init_allocated_queue()
1200 q->exit_rq_fn(q, q->fq->flush_rq); in blk_init_allocated_queue()
1202 blk_free_flush_queue(q->fq); in blk_init_allocated_queue()
1203 q->fq = NULL; in blk_init_allocated_queue()
2823 struct blk_flush_queue *fq = blk_get_flush_queue(q, NULL); in elv_next_request() local
2851 if (fq->flush_pending_idx != fq->flush_running_idx && in elv_next_request()
2853 fq->flush_queue_delayed = 1; in elv_next_request()