Home
last modified time | relevance | path

Searched refs:mbio (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Draid1.c456 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request() local
459 (unsigned long long) mbio->bi_sector, in raid1_end_write_request()
460 (unsigned long long) mbio->bi_sector + in raid1_end_write_request()
461 bio_sectors(mbio) - 1); in raid1_end_write_request()
1264 struct bio *mbio; in make_request() local
1268 mbio = bio_clone_mddev(bio, GFP_NOIO, mddev); in make_request()
1269 md_trim_bio(mbio, r1_bio->sector - bio->bi_sector, max_sectors); in make_request()
1280 alloc_behind_pages(mbio, r1_bio); in make_request()
1295 bio_for_each_segment_all(bvec, mbio, j) in make_request()
1301 r1_bio->bios[i] = mbio; in make_request()
[all …]
Draid10.c1510 struct bio *mbio; in make_request() local
1514 mbio = bio_clone_mddev(bio, GFP_NOIO, mddev); in make_request()
1515 md_trim_bio(mbio, r10_bio->sector - bio->bi_sector, in make_request()
1517 r10_bio->devs[i].bio = mbio; in make_request()
1519 mbio->bi_sector = (r10_bio->devs[i].addr+ in make_request()
1522 mbio->bi_bdev = rdev->bdev; in make_request()
1523 mbio->bi_end_io = raid10_end_write_request; in make_request()
1524 mbio->bi_rw = in make_request()
1526 mbio->bi_private = r10_bio; in make_request()
1539 bio_list_add(&plug->pending, mbio); in make_request()
[all …]