Searched refs:first_bad (Results 1 – 7 of 7) sorted by relevance
/drivers/md/ |
D | raid1.c | 476 sector_t first_bad; in raid1_end_write_request() local 495 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request() 619 sector_t first_bad; in read_balance() local 637 &first_bad, &bad_sectors)) { in read_balance() 638 if (first_bad <= this_sector) in read_balance() 641 best_good_sectors = first_bad - this_sector; in read_balance() 653 &first_bad, &bad_sectors)) { in read_balance() 657 if (first_bad <= this_sector) { in read_balance() 662 bad_sectors -= (this_sector - first_bad); in read_balance() 669 sector_t good_sectors = first_bad - this_sector; in read_balance() [all …]
|
D | raid10.c | 494 sector_t first_bad; in raid10_end_write_request() local 513 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request() 743 sector_t first_bad; in read_balance() local 765 &first_bad, &bad_sectors)) { in read_balance() 769 if (first_bad <= dev_sector) { in read_balance() 774 bad_sectors -= (dev_sector - first_bad); in read_balance() 781 first_bad - dev_sector; in read_balance() 1394 sector_t first_bad; in raid10_write_request() local 1400 &first_bad, &bad_sectors); in raid10_write_request() 1410 if (is_bad && first_bad <= dev_sector) { in raid10_write_request() [all …]
|
D | md.h | 211 sector_t *first_bad, int *bad_sectors) in is_badblock() argument 216 first_bad, bad_sectors); in is_badblock() 218 *first_bad -= rdev->data_offset; in is_badblock()
|
D | raid5.c | 1058 sector_t first_bad; in ops_run_io() local 1061 &first_bad, &bad_sectors); in ops_run_io() 2598 sector_t first_bad; in raid5_end_write_request() local 2634 &first_bad, &bad_sectors)) in raid5_end_write_request() 2646 &first_bad, &bad_sectors)) { in raid5_end_write_request() 4394 sector_t first_bad; in analyse_stripe() local 4440 &first_bad, &bad_sectors)) in analyse_stripe() 4454 &first_bad, &bad_sectors); in analyse_stripe() 5255 sector_t first_bad; in raid5_read_one_chunk() local 5265 &first_bad, &bad_sectors)) { in raid5_read_one_chunk()
|
/drivers/nvdimm/ |
D | pfn_devs.c | 375 sector_t first_bad, meta_start; in nd_pfn_clear_memmap_errors() local 390 meta_num, &first_bad, &num_bad); in nd_pfn_clear_memmap_errors() 393 num_bad, first_bad); in nd_pfn_clear_memmap_errors() 395 + (first_bad << 9)) - nsio->res.start, in nd_pfn_clear_memmap_errors() 412 num_bad, first_bad); in nd_pfn_clear_memmap_errors()
|
D | nd.h | 422 sector_t first_bad; in is_bad_pmem() local 425 return !!badblocks_check(bb, sector, len / 512, &first_bad, in is_bad_pmem()
|
/drivers/block/ |
D | null_blk_main.c | 1186 sector_t first_bad; in null_handle_badblocks() local 1189 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()
|