Searched refs:is_badblock (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | raid1.c | 519 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()
|
D | raid10.c | 517 if (is_badblock(rdev, in raid10_end_write_request() 771 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 1332 is_bad = is_badblock(rdev, dev_sector, r10_bio->sectors, in wait_blocked_dev() 1457 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request() 2326 } else if (is_badblock(rdev, in end_sync_write() 2647 if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) in r10_sync_page_io() 2723 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, in fix_read_error() 3489 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request() 3688 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 | 1151 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io() 2851 else if (is_badblock(rdev, sh->sector, in raid5_end_write_request() 2863 } else if (is_badblock(rdev, sh->sector, in raid5_end_write_request() 4661 !is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe() 4675 is_bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe() 5447 if (is_badblock(rdev, sector, bio_sectors(raid_bio), &first_bad, in raid5_read_one_chunk()
|