Searched refs:fq (Results 1 – 5 of 5) sorted by relevance
/block/ |
D | blk-flush.c | 97 struct blk_flush_queue *fq); 166 struct blk_flush_queue *fq, in blk_flush_complete_seq() argument 170 struct list_head *pending = &fq->flush_queue[fq->flush_pending_idx]; in blk_flush_complete_seq() 186 fq->flush_pending_since = jiffies; in blk_flush_complete_seq() 191 list_move_tail(&rq->flush.list, &fq->flush_data_in_flight); in blk_flush_complete_seq() 215 kicked = blk_kick_flush(q, fq); in blk_flush_complete_seq() 226 struct blk_flush_queue *fq = blk_get_flush_queue(q, flush_rq->mq_ctx); in flush_end_io() local 232 spin_lock_irqsave(&fq->mq_flush_lock, flags); in flush_end_io() 234 blk_mq_tag_set_rq(hctx, flush_rq->tag, fq->orig_rq); in flush_end_io() 238 running = &fq->flush_queue[fq->flush_running_idx]; in flush_end_io() [all …]
|
D | blk.h | 48 return blk_mq_map_queue(q, ctx->cpu)->fq; in blk_get_flush_queue() 49 return q->fq; in blk_get_flush_queue() 155 struct blk_flush_queue *fq = blk_get_flush_queue(q, NULL); in __elv_next_request() local 180 if (fq->flush_pending_idx != fq->flush_running_idx && in __elv_next_request() 182 fq->flush_queue_delayed = 1; in __elv_next_request()
|
D | blk-core.c | 499 struct blk_flush_queue *fq = blk_get_flush_queue(q, NULL); in __blk_drain_queue() local 504 if (fq) in __blk_drain_queue() 505 drain |= !list_empty(&fq->flush_queue[i]); in __blk_drain_queue() 993 q->fq = blk_alloc_flush_queue(q, NUMA_NO_NODE, q->cmd_size); in blk_init_allocated_queue() 994 if (!q->fq) in blk_init_allocated_queue() 997 if (q->init_rq_fn && q->init_rq_fn(q, q->fq->flush_rq, GFP_KERNEL)) in blk_init_allocated_queue() 1027 q->exit_rq_fn(q, q->fq->flush_rq); in blk_init_allocated_queue() 1029 blk_free_flush_queue(q->fq); in blk_init_allocated_queue() 1030 q->fq = NULL; in blk_init_allocated_queue()
|
D | blk-mq.c | 1972 set->ops->exit_request(set, hctx->fq->flush_rq, hctx_idx); in blk_mq_exit_hctx() 1983 blk_free_flush_queue(hctx->fq); in blk_mq_exit_hctx() 2042 hctx->fq = blk_alloc_flush_queue(q, hctx->numa_node, set->cmd_size); in blk_mq_init_hctx() 2043 if (!hctx->fq) in blk_mq_init_hctx() 2047 set->ops->init_request(set, hctx->fq->flush_rq, hctx_idx, in blk_mq_init_hctx() 2059 kfree(hctx->fq); in blk_mq_init_hctx()
|
D | blk-sysfs.c | 824 q->exit_rq_fn(q, q->fq->flush_rq); in __blk_release_queue() 825 blk_free_flush_queue(q->fq); in __blk_release_queue()
|