Lines Matching refs:flush
117 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq()
131 rq->end_io = rq->flush.saved_end_io; in blk_flush_restore_request()
171 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq()
172 rq->flush.seq |= seq; in blk_flush_complete_seq()
186 list_move_tail(&rq->flush.list, pending); in blk_flush_complete_seq()
190 list_move_tail(&rq->flush.list, &fq->flush_data_in_flight); in blk_flush_complete_seq()
202 list_del_init(&rq->flush.list); in blk_flush_complete_seq()
255 list_for_each_entry_safe(rq, n, running, flush.list) { in flush_end_io()
288 list_first_entry(pending, struct request, flush.list); in blk_kick_flush()
432 memset(&rq->flush, 0, sizeof(rq->flush)); in blk_insert_flush()
433 INIT_LIST_HEAD(&rq->flush.list); in blk_insert_flush()
435 rq->flush.saved_end_io = rq->end_io; /* Usually NULL */ in blk_insert_flush()