bad_sectors 54 block/badblocks.c sector_t *first_bad, int *bad_sectors) bad_sectors 115 block/badblocks.c *bad_sectors = BB_LEN(p[lo]); bad_sectors 1164 drivers/block/null_blk_main.c int bad_sectors; bad_sectors 1166 drivers/block/null_blk_main.c if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) bad_sectors 211 drivers/md/md.h sector_t *first_bad, int *bad_sectors) bad_sectors 216 drivers/md/md.h first_bad, bad_sectors); bad_sectors 477 drivers/md/raid1.c int bad_sectors; bad_sectors 495 drivers/md/raid1.c &first_bad, &bad_sectors) && !discard_error) { bad_sectors 620 drivers/md/raid1.c int bad_sectors; bad_sectors 637 drivers/md/raid1.c &first_bad, &bad_sectors)) { bad_sectors 653 drivers/md/raid1.c &first_bad, &bad_sectors)) { bad_sectors 662 drivers/md/raid1.c bad_sectors -= (this_sector - first_bad); bad_sectors 663 drivers/md/raid1.c if (choose_first && sectors > bad_sectors) bad_sectors 664 drivers/md/raid1.c sectors = bad_sectors; bad_sectors 1406 drivers/md/raid1.c int bad_sectors; bad_sectors 1410 drivers/md/raid1.c &first_bad, &bad_sectors); bad_sectors 1420 drivers/md/raid1.c bad_sectors -= (r1_bio->sector - first_bad); bad_sectors 1421 drivers/md/raid1.c if (bad_sectors < max_sectors) bad_sectors 1425 drivers/md/raid1.c max_sectors = bad_sectors; bad_sectors 1931 drivers/md/raid1.c int bad_sectors; bad_sectors 1942 drivers/md/raid1.c &first_bad, &bad_sectors) && bad_sectors 1946 drivers/md/raid1.c &first_bad, &bad_sectors) bad_sectors 2260 drivers/md/raid1.c int bad_sectors; bad_sectors 2269 drivers/md/raid1.c &first_bad, &bad_sectors) == 0) { bad_sectors 2746 drivers/md/raid1.c int bad_sectors; bad_sectors 2749 drivers/md/raid1.c &first_bad, &bad_sectors)) { bad_sectors 2753 drivers/md/raid1.c bad_sectors -= (sector_nr - first_bad); bad_sectors 2755 drivers/md/raid1.c min_bad > bad_sectors) bad_sectors 2756 drivers/md/raid1.c min_bad = bad_sectors; bad_sectors 495 drivers/md/raid10.c int bad_sectors; bad_sectors 513 drivers/md/raid10.c &first_bad, &bad_sectors) && !discard_error) { bad_sectors 744 drivers/md/raid10.c int bad_sectors; bad_sectors 765 drivers/md/raid10.c &first_bad, &bad_sectors)) { bad_sectors 774 drivers/md/raid10.c bad_sectors -= (dev_sector - first_bad); bad_sectors 775 drivers/md/raid10.c if (!do_balance && sectors > bad_sectors) bad_sectors 776 drivers/md/raid10.c sectors = bad_sectors; bad_sectors 1396 drivers/md/raid10.c int bad_sectors; bad_sectors 1400 drivers/md/raid10.c &first_bad, &bad_sectors); bad_sectors 1412 drivers/md/raid10.c bad_sectors -= (dev_sector - first_bad); bad_sectors 1413 drivers/md/raid10.c if (bad_sectors < max_sectors) bad_sectors 1417 drivers/md/raid10.c max_sectors = bad_sectors; bad_sectors 1960 drivers/md/raid10.c int bad_sectors; bad_sectors 1984 drivers/md/raid10.c &first_bad, &bad_sectors)) bad_sectors 2302 drivers/md/raid10.c int bad_sectors; bad_sectors 2304 drivers/md/raid10.c if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) bad_sectors 2376 drivers/md/raid10.c int bad_sectors; bad_sectors 2384 drivers/md/raid10.c &first_bad, &bad_sectors) == 0) { bad_sectors 3145 drivers/md/raid10.c int bad_sectors; bad_sectors 3154 drivers/md/raid10.c &first_bad, &bad_sectors)) { bad_sectors 3158 drivers/md/raid10.c bad_sectors -= (sector bad_sectors 3160 drivers/md/raid10.c if (max_sync > bad_sectors) bad_sectors 3161 drivers/md/raid10.c max_sync = bad_sectors; bad_sectors 3337 drivers/md/raid10.c int bad_sectors; bad_sectors 3353 drivers/md/raid10.c &first_bad, &bad_sectors)) { bad_sectors 3357 drivers/md/raid10.c bad_sectors -= (sector - first_bad); bad_sectors 3358 drivers/md/raid10.c if (max_sync > bad_sectors) bad_sectors 3359 drivers/md/raid10.c max_sync = bad_sectors; bad_sectors 1059 drivers/md/raid5.c int bad_sectors; bad_sectors 1061 drivers/md/raid5.c &first_bad, &bad_sectors); bad_sectors 2599 drivers/md/raid5.c int bad_sectors; bad_sectors 2634 drivers/md/raid5.c &first_bad, &bad_sectors)) bad_sectors 2646 drivers/md/raid5.c &first_bad, &bad_sectors)) { bad_sectors 4395 drivers/md/raid5.c int bad_sectors; bad_sectors 4440 drivers/md/raid5.c &first_bad, &bad_sectors)) bad_sectors 4454 drivers/md/raid5.c &first_bad, &bad_sectors); bad_sectors 5256 drivers/md/raid5.c int bad_sectors; bad_sectors 5265 drivers/md/raid5.c &first_bad, &bad_sectors)) { bad_sectors 45 include/linux/badblocks.h sector_t *first_bad, int *bad_sectors);