Searched refs:raid_bio (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/md/ |
H A D | raid1-10.c | 28 void *raid_bio; member
|
H A D | raid5.c | 5446 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk() argument 5455 if (!in_chunk_boundary(mddev, raid_bio)) { in raid5_read_one_chunk() 5460 sector = raid5_compute_sector(conf, raid_bio->bi_iter.bi_sector, 0, in raid5_read_one_chunk() 5462 end_sector = sector + bio_sectors(raid_bio); in raid5_read_one_chunk() 5481 if (rdev_has_badblock(rdev, sector, bio_sectors(raid_bio))) { in raid5_read_one_chunk() 5486 md_account_bio(mddev, &raid_bio); in raid5_read_one_chunk() 5487 raid_bio->bi_next = (void *)rdev; in raid5_read_one_chunk() 5489 align_bio = bio_alloc_clone(rdev->bdev, raid_bio, GFP_NOIO, in raid5_read_one_chunk() 5492 align_bio->bi_private = raid_bio; in raid5_read_one_chunk() 5517 mddev_trace_remap(mddev, align_bio, raid_bio->bi_iter.bi_sector); in raid5_read_one_chunk() [all …]
|
H A D | raid1.c | 125 return get_resync_pages(bio)->raid_bio; in get_resync_r1bio() 195 rp->raid_bio = r1_bio; in r1buf_pool_alloc() 2260 rp->raid_bio = r1_bio; in process_checks()
|
H A D | raid10.c | 102 return get_resync_pages(bio)->raid_bio; in get_resync_r10bio() 198 rp->raid_bio = r10_bio; in r10buf_pool_alloc() 2388 rp->raid_bio = r10_bio; in sync_request_write()
|