Searched refs:plug (Results 1 – 7 of 7) sorted by relevance
820 struct blk_plug *plug; in submit_bio_checks() local824 plug = blk_mq_plug(q, bio); in submit_bio_checks()825 if (plug && plug->nowait) in submit_bio_checks()1704 void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument1711 if (tsk->plug) in blk_start_plug()1714 INIT_LIST_HEAD(&plug->mq_list); in blk_start_plug()1715 INIT_LIST_HEAD(&plug->cb_list); in blk_start_plug()1716 plug->rq_count = 0; in blk_start_plug()1717 plug->multiple_queues = false; in blk_start_plug()1718 plug->nowait = false; in blk_start_plug()[all …]
135 struct blk_plug plug; in blkdev_issue_discard() local138 blk_start_plug(&plug); in blkdev_issue_discard()147 blk_finish_plug(&plug); in blkdev_issue_discard()231 struct blk_plug plug; in blkdev_issue_write_same() local234 blk_start_plug(&plug); in blkdev_issue_write_same()241 blk_finish_plug(&plug); in blkdev_issue_write_same()398 struct blk_plug plug; in blkdev_issue_zeroout() local407 blk_start_plug(&plug); in blkdev_issue_zeroout()422 blk_finish_plug(&plug); in blkdev_issue_zeroout()
1993 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule) in blk_mq_flush_plug_list() argument1997 if (list_empty(&plug->mq_list)) in blk_mq_flush_plug_list()1999 list_splice_init(&plug->mq_list, &list); in blk_mq_flush_plug_list()2001 if (plug->rq_count > 2 && plug->multiple_queues) in blk_mq_flush_plug_list()2004 plug->rq_count = 0; in blk_mq_flush_plug_list()2209 static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq) in blk_add_rq_to_plug() argument2211 list_add_tail(&rq->queuelist, &plug->mq_list); in blk_add_rq_to_plug()2212 plug->rq_count++; in blk_add_rq_to_plug()2213 if (!plug->multiple_queues && !list_is_singular(&plug->mq_list)) { in blk_add_rq_to_plug()2216 tmp = list_first_entry(&plug->mq_list, struct request, in blk_add_rq_to_plug()[all …]
1059 struct blk_plug *plug; in blk_attempt_plug_merge() local1063 plug = blk_mq_plug(q, bio); in blk_attempt_plug_merge()1064 if (!plug) in blk_attempt_plug_merge()1067 plug_list = &plug->mq_list; in blk_attempt_plug_merge()
281 return current->plug; in blk_mq_plug()
123 struct blk_plug plug; in blkg_async_bio_workfn() local135 blk_start_plug(&plug); in blkg_async_bio_workfn()140 blk_finish_plug(&plug); in blkg_async_bio_workfn()
1346 struct blk_plug plug; in blk_throtl_dispatch_work_fn() local1358 blk_start_plug(&plug); in blk_throtl_dispatch_work_fn()1361 blk_finish_plug(&plug); in blk_throtl_dispatch_work_fn()