Home
last modified time | relevance | path

Searched refs:first_bad (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Draid1.c464 sector_t first_bad; in raid1_end_write_request() local
483 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request()
601 sector_t first_bad; in read_balance() local
619 &first_bad, &bad_sectors)) { in read_balance()
620 if (first_bad <= this_sector) in read_balance()
623 best_good_sectors = first_bad - this_sector; in read_balance()
635 &first_bad, &bad_sectors)) { in read_balance()
639 if (first_bad <= this_sector) { in read_balance()
644 bad_sectors -= (this_sector - first_bad); in read_balance()
651 sector_t good_sectors = first_bad - this_sector; in read_balance()
[all …]
Draid10.c526 sector_t first_bad; in raid10_end_write_request() local
545 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request()
769 sector_t first_bad; in read_balance() local
789 &first_bad, &bad_sectors)) { in read_balance()
793 if (first_bad <= dev_sector) { in read_balance()
798 bad_sectors -= (dev_sector - first_bad); in read_balance()
805 first_bad - dev_sector; in read_balance()
1397 sector_t first_bad; in raid10_write_request() local
1403 &first_bad, &bad_sectors); in raid10_write_request()
1413 if (is_bad && first_bad <= dev_sector) { in raid10_write_request()
[all …]
Dmd.h206 sector_t *first_bad, int *bad_sectors) in is_badblock() argument
211 first_bad, bad_sectors); in is_badblock()
213 *first_bad -= rdev->data_offset; in is_badblock()
Draid5.c1066 sector_t first_bad; in ops_run_io() local
1069 &first_bad, &bad_sectors); in ops_run_io()
2604 sector_t first_bad; in raid5_end_write_request() local
2640 &first_bad, &bad_sectors)) in raid5_end_write_request()
2652 &first_bad, &bad_sectors)) { in raid5_end_write_request()
4387 sector_t first_bad; in analyse_stripe() local
4433 &first_bad, &bad_sectors)) in analyse_stripe()
4447 &first_bad, &bad_sectors); in analyse_stripe()
5249 sector_t first_bad; in raid5_read_one_chunk() local
5260 &first_bad, &bad_sectors)) { in raid5_read_one_chunk()
/drivers/nvdimm/
Dnd.h427 sector_t first_bad; in is_bad_pmem() local
430 return !!badblocks_check(bb, sector, len / 512, &first_bad, in is_bad_pmem()
/drivers/block/
Dnull_blk.c1244 sector_t sector, size, first_bad; in null_handle_cmd() local
1260 size, &first_bad, &bad_sectors)) { in null_handle_cmd()