mbio              522 drivers/md/raid1.c 				struct bio *mbio = r1_bio->master_bio;
mbio              525 drivers/md/raid1.c 					 (unsigned long long) mbio->bi_iter.bi_sector,
mbio              526 drivers/md/raid1.c 					 (unsigned long long) bio_end_sector(mbio) - 1);
mbio             1480 drivers/md/raid1.c 		struct bio *mbio = NULL;
mbio             1502 drivers/md/raid1.c 			mbio = bio_clone_fast(r1_bio->behind_master_bio,
mbio             1505 drivers/md/raid1.c 			mbio = bio_clone_fast(bio, GFP_NOIO, &mddev->bio_set);
mbio             1521 drivers/md/raid1.c 		r1_bio->bios[i] = mbio;
mbio             1523 drivers/md/raid1.c 		mbio->bi_iter.bi_sector	= (r1_bio->sector +
mbio             1525 drivers/md/raid1.c 		bio_set_dev(mbio, conf->mirrors[i].rdev->bdev);
mbio             1526 drivers/md/raid1.c 		mbio->bi_end_io	= raid1_end_write_request;
mbio             1527 drivers/md/raid1.c 		mbio->bi_opf = bio_op(bio) | (bio->bi_opf & (REQ_SYNC | REQ_FUA));
mbio             1531 drivers/md/raid1.c 			mbio->bi_opf |= MD_FAILFAST;
mbio             1532 drivers/md/raid1.c 		mbio->bi_private = r1_bio;
mbio             1537 drivers/md/raid1.c 			trace_block_bio_remap(mbio->bi_disk->queue,
mbio             1538 drivers/md/raid1.c 					      mbio, disk_devt(mddev->gendisk),
mbio             1541 drivers/md/raid1.c 		mbio->bi_disk = (void *)conf->mirrors[i].rdev;
mbio             1549 drivers/md/raid1.c 			bio_list_add(&plug->pending, mbio);
mbio             1553 drivers/md/raid1.c 			bio_list_add(&conf->pending_bio_list, mbio);
mbio             1241 drivers/md/raid10.c 	struct bio *mbio;
mbio             1253 drivers/md/raid10.c 	mbio = bio_clone_fast(bio, GFP_NOIO, &mddev->bio_set);
mbio             1255 drivers/md/raid10.c 		r10_bio->devs[n_copy].repl_bio = mbio;
mbio             1257 drivers/md/raid10.c 		r10_bio->devs[n_copy].bio = mbio;
mbio             1259 drivers/md/raid10.c 	mbio->bi_iter.bi_sector	= (r10_bio->devs[n_copy].addr +
mbio             1261 drivers/md/raid10.c 	bio_set_dev(mbio, rdev->bdev);
mbio             1262 drivers/md/raid10.c 	mbio->bi_end_io	= raid10_end_write_request;
mbio             1263 drivers/md/raid10.c 	bio_set_op_attrs(mbio, op, do_sync | do_fua);
mbio             1267 drivers/md/raid10.c 		mbio->bi_opf |= MD_FAILFAST;
mbio             1268 drivers/md/raid10.c 	mbio->bi_private = r10_bio;
mbio             1271 drivers/md/raid10.c 		trace_block_bio_remap(mbio->bi_disk->queue,
mbio             1272 drivers/md/raid10.c 				      mbio, disk_devt(conf->mddev->gendisk),
mbio             1275 drivers/md/raid10.c 	mbio->bi_disk = (void *)rdev;
mbio             1285 drivers/md/raid10.c 		bio_list_add(&plug->pending, mbio);
mbio             1289 drivers/md/raid10.c 		bio_list_add(&conf->pending_bio_list, mbio);