Searched refs:bad_sectors (Results 1 – 5 of 5) sorted by relevance
/drivers/md/ |
D | raid1.c | 499 int bad_sectors; in raid1_end_write_request() local 517 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request() 639 int bad_sectors; in read_balance() local 656 &first_bad, &bad_sectors)) { in read_balance() 672 &first_bad, &bad_sectors)) { in read_balance() 681 bad_sectors -= (this_sector - first_bad); in read_balance() 682 if (choose_first && sectors > bad_sectors) in read_balance() 683 sectors = bad_sectors; in read_balance() 1403 int bad_sectors; in raid1_write_request() local 1407 &first_bad, &bad_sectors); in raid1_write_request() [all …]
|
D | raid10.c | 496 int bad_sectors; in raid10_end_write_request() local 514 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request() 745 int bad_sectors; in read_balance() local 774 &first_bad, &bad_sectors)) { in read_balance() 783 bad_sectors -= (dev_sector - first_bad); in read_balance() 784 if (!do_balance && sectors > bad_sectors) in read_balance() 785 sectors = bad_sectors; in read_balance() 1367 int bad_sectors; in wait_blocked_dev() local 1378 &first_bad, &bad_sectors); in wait_blocked_dev() 1497 int bad_sectors; in raid10_write_request() local [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 | 1138 int bad_sectors; in ops_run_io() local 1140 &first_bad, &bad_sectors); in ops_run_io() 2802 int bad_sectors; in raid5_end_write_request() local 2837 &first_bad, &bad_sectors)) in raid5_end_write_request() 2849 &first_bad, &bad_sectors)) { in raid5_end_write_request() 4603 int bad_sectors; in analyse_stripe() local 4648 &first_bad, &bad_sectors)) in analyse_stripe() 4662 &first_bad, &bad_sectors); in analyse_stripe() 5400 int bad_sectors, dd_idx; in raid5_read_one_chunk() local 5433 &bad_sectors)) { in raid5_read_one_chunk()
|
/drivers/block/null_blk/ |
D | main.c | 1268 int bad_sectors; in null_handle_badblocks() local 1270 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()
|