Searched refs:first_bad (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/md/ |
H A D | raid1.c | 433 sector_t first_bad; raid1_end_write_request() local 453 &first_bad, &bad_sectors)) { raid1_end_write_request() 552 sector_t first_bad; read_balance() local 571 &first_bad, &bad_sectors)) { read_balance() 572 if (first_bad < this_sector) read_balance() 575 best_good_sectors = first_bad - this_sector; read_balance() 587 &first_bad, &bad_sectors)) { read_balance() 591 if (first_bad <= this_sector) { read_balance() 596 bad_sectors -= (this_sector - first_bad); read_balance() 603 sector_t good_sectors = first_bad - this_sector; read_balance() 1280 sector_t first_bad; make_request() local 1286 &first_bad, &bad_sectors); make_request() 1294 if (is_bad && first_bad <= r1_bio->sector) { make_request() 1296 bad_sectors -= (r1_bio->sector - first_bad); make_request() 1316 int good_sectors = first_bad - r1_bio->sector; make_request() 1764 sector_t first_bad; end_sync_write() local 1790 &first_bad, &bad_sectors) && end_sync_write() 1794 &first_bad, &bad_sectors) end_sync_write() 2122 sector_t first_bad; fix_read_error() local 2131 &first_bad, &bad_sectors) == 0 && fix_read_error() 2575 sector_t first_bad = MaxSector; sync_request() local 2579 &first_bad, &bad_sectors)) { sync_request() 2580 if (first_bad > sector_nr) sync_request() 2581 good_sectors = first_bad - sector_nr; sync_request() 2583 bad_sectors -= (sector_nr - first_bad); sync_request() 2589 if (sector_nr < first_bad) { sync_request()
|
H A D | raid10.c | 487 sector_t first_bad; raid10_end_write_request() local 506 &first_bad, &bad_sectors)) { raid10_end_write_request() 815 sector_t first_bad; read_balance() local 837 &first_bad, &bad_sectors)) { read_balance() 841 if (first_bad <= dev_sector) { read_balance() 846 bad_sectors -= (dev_sector - first_bad); read_balance() 853 first_bad - dev_sector; read_balance() 1344 sector_t first_bad; __make_request() local 1351 &first_bad, &bad_sectors); __make_request() 1361 if (is_bad && first_bad <= dev_sector) { __make_request() 1363 bad_sectors -= (dev_sector - first_bad); __make_request() 1380 int good_sectors = first_bad - dev_sector; __make_request() 1987 sector_t first_bad; end_sync_write() local 2012 &first_bad, &bad_sectors)) end_sync_write() 2324 sector_t first_bad; r10_sync_page_io() local 2327 if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) r10_sync_page_io() 2401 sector_t first_bad; fix_read_error() local 2410 &first_bad, &bad_sectors) == 0) { fix_read_error() 3096 sector_t sector, first_bad; sync_request() local 3107 &first_bad, &bad_sectors)) { sync_request() 3108 if (first_bad > sector) sync_request() 3109 max_sync = first_bad - sector; sync_request() 3112 - first_bad); sync_request() 3268 sector_t first_bad, sector; sync_request() local 3283 &first_bad, &bad_sectors)) { sync_request() 3284 if (first_bad > sector) sync_request() 3285 max_sync = first_bad - sector; sync_request() 3287 bad_sectors -= (sector - first_bad); sync_request()
|
H A D | md.h | 190 sector_t *first_bad, int *bad_sectors); is_badblock() 192 sector_t *first_bad, int *bad_sectors) is_badblock() 197 first_bad, bad_sectors); is_badblock() 199 *first_bad -= rdev->data_offset; is_badblock() 191 is_badblock(struct md_rdev *rdev, sector_t s, int sectors, sector_t *first_bad, int *bad_sectors) is_badblock() argument
|
H A D | raid5.c | 956 sector_t first_bad; ops_run_io() local 959 &first_bad, &bad_sectors); ops_run_io() 2416 sector_t first_bad; raid5_end_write_request() local 2451 &first_bad, &bad_sectors)) raid5_end_write_request() 2463 &first_bad, &bad_sectors)) { raid5_end_write_request() 4023 sector_t first_bad; analyse_stripe() local 4069 &first_bad, &bad_sectors)) analyse_stripe() 4081 &first_bad, &bad_sectors); analyse_stripe() 4854 sector_t first_bad; chunk_aligned_read() local 4866 &first_bad, &bad_sectors)) { chunk_aligned_read()
|
H A D | md.c | 8341 sector_t *first_bad, int *bad_sectors) md_is_badblock() 8399 *first_bad = BB_OFFSET(p[lo]); md_is_badblock() 8340 md_is_badblock(struct badblocks *bb, sector_t s, int sectors, sector_t *first_bad, int *bad_sectors) md_is_badblock() argument
|
Completed in 428 milliseconds