Searched refs:bad_sectors (Results 1 – 5 of 5) sorted by relevance
/drivers/md/ |
D | raid1.c | 497 int bad_sectors; in raid1_end_write_request() local 515 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request() 637 int bad_sectors; in read_balance() local 654 &first_bad, &bad_sectors)) { in read_balance() 670 &first_bad, &bad_sectors)) { in read_balance() 679 bad_sectors -= (this_sector - first_bad); in read_balance() 680 if (choose_first && sectors > bad_sectors) in read_balance() 681 sectors = bad_sectors; in read_balance() 1394 int bad_sectors; in raid1_write_request() local 1398 &first_bad, &bad_sectors); in raid1_write_request() [all …]
|
D | raid10.c | 495 int bad_sectors; in raid10_end_write_request() local 513 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request() 744 int bad_sectors; in read_balance() local 773 &first_bad, &bad_sectors)) { in read_balance() 782 bad_sectors -= (dev_sector - first_bad); in read_balance() 783 if (!do_balance && sectors > bad_sectors) in read_balance() 784 sectors = bad_sectors; in read_balance() 1395 int bad_sectors; in raid10_write_request() local 1399 &first_bad, &bad_sectors); in raid10_write_request() 1411 bad_sectors -= (dev_sector - first_bad); in raid10_write_request() [all …]
|
D | md.h | 219 sector_t *first_bad, int *bad_sectors) in is_badblock() argument 224 first_bad, bad_sectors); in is_badblock()
|
D | raid5.c | 1136 int bad_sectors; in ops_run_io() local 1138 &first_bad, &bad_sectors); in ops_run_io() 2800 int bad_sectors; in raid5_end_write_request() local 2835 &first_bad, &bad_sectors)) in raid5_end_write_request() 2847 &first_bad, &bad_sectors)) { in raid5_end_write_request() 4601 int bad_sectors; in analyse_stripe() local 4646 &first_bad, &bad_sectors)) in analyse_stripe() 4660 &first_bad, &bad_sectors); in analyse_stripe() 5442 int bad_sectors; in raid5_read_one_chunk() local 5451 &first_bad, &bad_sectors)) { in raid5_read_one_chunk()
|
/drivers/block/null_blk/ |
D | main.c | 1257 int bad_sectors; in null_handle_badblocks() local 1259 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()
|