Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1.c519 if (is_badblock(rdev, r1_bio->sector, r1_bio->sectors, in raid1_end_write_request()
658 if (is_badblock(rdev, this_sector, sectors, in read_balance()
674 if (is_badblock(rdev, this_sector, sectors, in read_balance()
1432 is_bad = is_badblock(rdev, r1_bio->sector, max_sectors, in raid1_write_request()
1978 } else if (is_badblock(rdev, r1_bio->sector, r1_bio->sectors, in end_sync_write()
1980 !is_badblock(conf->mirrors[r1_bio->read_disk].rdev, in end_sync_write()
2303 is_badblock(rdev, sect, s, in fix_read_error()
2781 if (is_badblock(rdev, sector_nr, good_sectors, in raid1_sync_request()
Draid10.c538 if (is_badblock(rdev, in raid10_end_write_request()
792 if (is_badblock(rdev, dev_sector, sectors, in read_balance()
1373 is_bad = is_badblock(rdev, dev_sector, r10_bio->sectors, in wait_blocked_dev()
1498 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request()
2367 } else if (is_badblock(rdev, in end_sync_write()
2688 if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) in r10_sync_page_io()
2764 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, in fix_read_error()
3529 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request()
3728 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request()
Dmd.h218 static inline int is_badblock(struct md_rdev *rdev, sector_t s, int sectors, in is_badblock() function
Draid5.c1216 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io()
2916 else if (is_badblock(rdev, sh->sector, in raid5_end_write_request()
2928 } else if (is_badblock(rdev, sh->sector, in raid5_end_write_request()
4752 !is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe()
4766 is_bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe()
5540 if (is_badblock(rdev, sector, bio_sectors(raid_bio), &first_bad, in raid5_read_one_chunk()