first_bad 54 block/badblocks.c sector_t *first_bad, int *bad_sectors) first_bad 114 block/badblocks.c *first_bad = BB_OFFSET(p[lo]); first_bad 1163 drivers/block/null_blk_main.c sector_t first_bad; first_bad 1166 drivers/block/null_blk_main.c if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) first_bad 211 drivers/md/md.h sector_t *first_bad, int *bad_sectors) first_bad 216 drivers/md/md.h first_bad, bad_sectors); first_bad 218 drivers/md/md.h *first_bad -= rdev->data_offset; first_bad 476 drivers/md/raid1.c sector_t first_bad; first_bad 495 drivers/md/raid1.c &first_bad, &bad_sectors) && !discard_error) { first_bad 619 drivers/md/raid1.c sector_t first_bad; first_bad 637 drivers/md/raid1.c &first_bad, &bad_sectors)) { first_bad 638 drivers/md/raid1.c if (first_bad <= this_sector) first_bad 641 drivers/md/raid1.c best_good_sectors = first_bad - this_sector; first_bad 653 drivers/md/raid1.c &first_bad, &bad_sectors)) { first_bad 657 drivers/md/raid1.c if (first_bad <= this_sector) { first_bad 662 drivers/md/raid1.c bad_sectors -= (this_sector - first_bad); first_bad 669 drivers/md/raid1.c sector_t good_sectors = first_bad - this_sector; first_bad 1405 drivers/md/raid1.c sector_t first_bad; first_bad 1410 drivers/md/raid1.c &first_bad, &bad_sectors); first_bad 1418 drivers/md/raid1.c if (is_bad && first_bad <= r1_bio->sector) { first_bad 1420 drivers/md/raid1.c bad_sectors -= (r1_bio->sector - first_bad); first_bad 1440 drivers/md/raid1.c int good_sectors = first_bad - r1_bio->sector; first_bad 1930 drivers/md/raid1.c sector_t first_bad; first_bad 1942 drivers/md/raid1.c &first_bad, &bad_sectors) && first_bad 1946 drivers/md/raid1.c &first_bad, &bad_sectors) first_bad 2259 drivers/md/raid1.c sector_t first_bad; first_bad 2269 drivers/md/raid1.c &first_bad, &bad_sectors) == 0) { first_bad 2745 drivers/md/raid1.c sector_t first_bad = MaxSector; first_bad 2749 drivers/md/raid1.c &first_bad, &bad_sectors)) { first_bad 2750 drivers/md/raid1.c if (first_bad > sector_nr) first_bad 2751 drivers/md/raid1.c good_sectors = first_bad - sector_nr; first_bad 2753 drivers/md/raid1.c bad_sectors -= (sector_nr - first_bad); first_bad 2759 drivers/md/raid1.c if (sector_nr < first_bad) { first_bad 494 drivers/md/raid10.c sector_t first_bad; first_bad 513 drivers/md/raid10.c &first_bad, &bad_sectors) && !discard_error) { first_bad 743 drivers/md/raid10.c sector_t first_bad; first_bad 765 drivers/md/raid10.c &first_bad, &bad_sectors)) { first_bad 769 drivers/md/raid10.c if (first_bad <= dev_sector) { first_bad 774 drivers/md/raid10.c bad_sectors -= (dev_sector - first_bad); first_bad 781 drivers/md/raid10.c first_bad - dev_sector; first_bad 1394 drivers/md/raid10.c sector_t first_bad; first_bad 1400 drivers/md/raid10.c &first_bad, &bad_sectors); first_bad 1410 drivers/md/raid10.c if (is_bad && first_bad <= dev_sector) { first_bad 1412 drivers/md/raid10.c bad_sectors -= (dev_sector - first_bad); first_bad 1429 drivers/md/raid10.c int good_sectors = first_bad - dev_sector; first_bad 1959 drivers/md/raid10.c sector_t first_bad; first_bad 1984 drivers/md/raid10.c &first_bad, &bad_sectors)) first_bad 2301 drivers/md/raid10.c sector_t first_bad; first_bad 2304 drivers/md/raid10.c if (is_badblock(rdev, sector, sectors, &first_bad, &bad_sectors) first_bad 2375 drivers/md/raid10.c sector_t first_bad; first_bad 2384 drivers/md/raid10.c &first_bad, &bad_sectors) == 0) { first_bad 3144 drivers/md/raid10.c sector_t sector, first_bad; first_bad 3154 drivers/md/raid10.c &first_bad, &bad_sectors)) { first_bad 3155 drivers/md/raid10.c if (first_bad > sector) first_bad 3156 drivers/md/raid10.c max_sync = first_bad - sector; first_bad 3159 drivers/md/raid10.c - first_bad); first_bad 3336 drivers/md/raid10.c sector_t first_bad, sector; first_bad 3353 drivers/md/raid10.c &first_bad, &bad_sectors)) { first_bad 3354 drivers/md/raid10.c if (first_bad > sector) first_bad 3355 drivers/md/raid10.c max_sync = first_bad - sector; first_bad 3357 drivers/md/raid10.c bad_sectors -= (sector - first_bad); first_bad 1058 drivers/md/raid5.c sector_t first_bad; first_bad 1061 drivers/md/raid5.c &first_bad, &bad_sectors); first_bad 2598 drivers/md/raid5.c sector_t first_bad; first_bad 2634 drivers/md/raid5.c &first_bad, &bad_sectors)) first_bad 2646 drivers/md/raid5.c &first_bad, &bad_sectors)) { first_bad 4394 drivers/md/raid5.c sector_t first_bad; first_bad 4440 drivers/md/raid5.c &first_bad, &bad_sectors)) first_bad 4454 drivers/md/raid5.c &first_bad, &bad_sectors); first_bad 5255 drivers/md/raid5.c sector_t first_bad; first_bad 5265 drivers/md/raid5.c &first_bad, &bad_sectors)) { first_bad 422 drivers/nvdimm/nd.h sector_t first_bad; first_bad 425 drivers/nvdimm/nd.h return !!badblocks_check(bb, sector, len / 512, &first_bad, first_bad 375 drivers/nvdimm/pfn_devs.c sector_t first_bad, meta_start; first_bad 390 drivers/nvdimm/pfn_devs.c meta_num, &first_bad, &num_bad); first_bad 393 drivers/nvdimm/pfn_devs.c num_bad, first_bad); first_bad 395 drivers/nvdimm/pfn_devs.c + (first_bad << 9)) - nsio->res.start, first_bad 412 drivers/nvdimm/pfn_devs.c num_bad, first_bad); first_bad 995 fs/xfs/xfs_log_recover.c xfs_daddr_t first_bad; first_bad 1023 fs/xfs/xfs_log_recover.c first_bad = 0; first_bad 1025 fs/xfs/xfs_log_recover.c XLOG_RECOVER_CRCPASS, &first_bad); first_bad 1026 fs/xfs/xfs_log_recover.c while ((error == -EFSBADCRC || error == -EFSCORRUPTED) && first_bad) { first_bad 1033 fs/xfs/xfs_log_recover.c tail_distance = xlog_tail_distance(log, head_blk, first_bad); first_bad 1038 fs/xfs/xfs_log_recover.c error = xlog_seek_logrec_hdr(log, head_blk, first_bad, 2, first_bad 1044 fs/xfs/xfs_log_recover.c first_bad = 0; first_bad 1046 fs/xfs/xfs_log_recover.c XLOG_RECOVER_CRCPASS, &first_bad); first_bad 1083 fs/xfs/xfs_log_recover.c xfs_daddr_t first_bad; first_bad 1111 fs/xfs/xfs_log_recover.c XLOG_RECOVER_CRCPASS, &first_bad); first_bad 1112 fs/xfs/xfs_log_recover.c if ((error == -EFSBADCRC || error == -EFSCORRUPTED) && first_bad) { first_bad 1120 fs/xfs/xfs_log_recover.c first_bad, *head_blk); first_bad 1130 fs/xfs/xfs_log_recover.c found = xlog_rseek_logrec_hdr(log, first_bad, *tail_blk, 1, first_bad 1146 fs/xfs/xfs_log_recover.c *head_blk = first_bad; first_bad 5235 fs/xfs/xfs_log_recover.c xfs_daddr_t *first_bad) /* out: first bad log rec */ first_bad 5496 fs/xfs/xfs_log_recover.c if (error && first_bad) first_bad 5497 fs/xfs/xfs_log_recover.c *first_bad = rhead_blk; first_bad 45 include/linux/badblocks.h sector_t *first_bad, int *bad_sectors);