Lines Matching refs:list
976 struct list_head *list; member
987 list_splice_tail_init(&ctx->rq_lists[type], flush_data->list); in flush_busy_ctx()
997 void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, struct list_head *list) in blk_mq_flush_busy_ctxs() argument
1001 .list = list, in blk_mq_flush_busy_ctxs()
1211 bool blk_mq_dispatch_rq_list(struct request_queue *q, struct list_head *list, in blk_mq_dispatch_rq_list() argument
1220 if (list_empty(list)) in blk_mq_dispatch_rq_list()
1223 WARN_ON(!list_is_singular(list) && got_budget); in blk_mq_dispatch_rq_list()
1232 rq = list_first_entry(list, struct request, queuelist); in blk_mq_dispatch_rq_list()
1266 if (list_empty(list)) in blk_mq_dispatch_rq_list()
1269 nxt = list_first_entry(list, struct request, queuelist); in blk_mq_dispatch_rq_list()
1280 if (!list_empty(list)) { in blk_mq_dispatch_rq_list()
1281 nxt = list_first_entry(list, struct request, queuelist); in blk_mq_dispatch_rq_list()
1284 list_add(&rq->queuelist, list); in blk_mq_dispatch_rq_list()
1296 } while (!list_empty(list)); in blk_mq_dispatch_rq_list()
1304 if (!list_empty(list)) { in blk_mq_dispatch_rq_list()
1316 list_splice_init(list, &hctx->dispatch); in blk_mq_dispatch_rq_list()
1684 struct list_head *list) in blk_mq_insert_requests() argument
1694 list_for_each_entry(rq, list, queuelist) { in blk_mq_insert_requests()
1700 list_splice_tail_init(list, &ctx->rq_lists[type]); in blk_mq_insert_requests()
1728 LIST_HEAD(list); in blk_mq_flush_plug_list()
1732 list_splice_init(&plug->mq_list, &list); in blk_mq_flush_plug_list()
1735 list_sort(NULL, &list, plug_rq_cmp); in blk_mq_flush_plug_list()
1744 while (!list_empty(&list)) { in blk_mq_flush_plug_list()
1745 rq = list_entry_rq(list.next); in blk_mq_flush_plug_list()
1904 struct list_head *list) in blk_mq_try_issue_list_directly() argument
1906 while (!list_empty(list)) { in blk_mq_try_issue_list_directly()
1908 struct request *rq = list_first_entry(list, struct request, in blk_mq_try_issue_list_directly()
1912 ret = blk_mq_request_issue_directly(rq, list_empty(list)); in blk_mq_try_issue_list_directly()
1917 list_empty(list)); in blk_mq_try_issue_list_directly()
1929 if (!list_empty(list) && hctx->queue->mq_ops->commit_rqs) in blk_mq_try_issue_list_directly()