Home
last modified time | relevance | path

Searched refs:raid_bio (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/md/
Draid1-10.c28 void *raid_bio; member
Draid5.c5500 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk() argument
5509 if (!in_chunk_boundary(mddev, raid_bio)) { in raid5_read_one_chunk()
5514 sector = raid5_compute_sector(conf, raid_bio->bi_iter.bi_sector, 0, in raid5_read_one_chunk()
5516 end_sector = sector + bio_sectors(raid_bio); in raid5_read_one_chunk()
5537 if (is_badblock(rdev, sector, bio_sectors(raid_bio), &first_bad, in raid5_read_one_chunk()
5543 md_account_bio(mddev, &raid_bio); in raid5_read_one_chunk()
5544 raid_bio->bi_next = (void *)rdev; in raid5_read_one_chunk()
5546 align_bio = bio_alloc_clone(rdev->bdev, raid_bio, GFP_NOIO, in raid5_read_one_chunk()
5549 align_bio->bi_private = raid_bio; in raid5_read_one_chunk()
5576 raid_bio->bi_iter.bi_sector); in raid5_read_one_chunk()
[all …]
Draid1.c127 return get_resync_pages(bio)->raid_bio; in get_resync_r1bio()
197 rp->raid_bio = r1_bio; in r1buf_pool_alloc()
2165 rp->raid_bio = r1_bio; in process_checks()
Draid10.c103 return get_resync_pages(bio)->raid_bio; in get_resync_r10bio()
199 rp->raid_bio = r10_bio; in r10buf_pool_alloc()
2481 rp->raid_bio = r10_bio; in sync_request_write()