Searched refs:is_badblock (Results 1 – 4 of 4) sorted by relevance
/drivers/md/ |
D | raid1.c | 516 if (is_badblock(rdev, r1_bio->sector, r1_bio->sectors, in raid1_end_write_request() 655 if (is_badblock(rdev, this_sector, sectors, in read_balance() 671 if (is_badblock(rdev, this_sector, sectors, in read_balance() 1406 is_bad = is_badblock(rdev, r1_bio->sector, max_sectors, in raid1_write_request() 1956 } else if (is_badblock(rdev, r1_bio->sector, r1_bio->sectors, in end_sync_write() 1958 !is_badblock(conf->mirrors[r1_bio->read_disk].rdev, in end_sync_write() 2283 is_badblock(rdev, sect, s, in fix_read_error() 2763 if (is_badblock(rdev, sector_nr, good_sectors, in raid1_sync_request()
|
D | raid10.c | 511 if (is_badblock(rdev, in raid10_end_write_request() 773 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 1377 is_bad = is_badblock(rdev, dev_sector, r10_bio->sectors, in wait_blocked_dev() 1500 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request() 2371 } else if (is_badblock(rdev, in end_sync_write() 2697 if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) in r10_sync_page_io() 2776 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, in fix_read_error() 3546 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request() 3745 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request()
|
D | md.h | 218 static inline int is_badblock(struct md_rdev *rdev, sector_t s, int sectors, in is_badblock() function
|
D | raid5.c | 1139 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io() 2835 else if (is_badblock(rdev, sh->sector, in raid5_end_write_request() 2847 } else if (is_badblock(rdev, sh->sector, in raid5_end_write_request() 4647 !is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe() 4661 is_bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe() 5432 if (is_badblock(rdev, sector, bio_sectors(raid_bio), &first_bad, in raid5_read_one_chunk()
|