Searched refs:cloned_bio (Results 1 – 2 of 2) sorted by relevance
1447 struct bio *bio, *cloned_bio; in blkif_recover() local1559 cloned_bio = bio_clone(bio, GFP_NOIO); in blkif_recover()1560 BUG_ON(cloned_bio == NULL); in blkif_recover()1561 bio_trim(cloned_bio, offset, size); in blkif_recover()1562 cloned_bio->bi_private = split_bio; in blkif_recover()1563 cloned_bio->bi_end_io = split_bio_end; in blkif_recover()1564 submit_bio(cloned_bio->bi_rw, cloned_bio); in blkif_recover()
2347 struct bio *cloned_bio = bio_clone(bio, GFP_NOIO); in pkt_make_request_read() local2352 cloned_bio->bi_bdev = pd->bdev; in pkt_make_request_read()2353 cloned_bio->bi_private = psd; in pkt_make_request_read()2354 cloned_bio->bi_end_io = pkt_end_io_read_cloned; in pkt_make_request_read()2356 pkt_queue_bio(pd, cloned_bio); in pkt_make_request_read()