Home
last modified time | relevance | path

Searched refs:bad_sectors (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/md/
Draid1.c501 int bad_sectors; in raid1_end_write_request() local
519 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request()
641 int bad_sectors; in read_balance() local
658 &first_bad, &bad_sectors)) { in read_balance()
674 &first_bad, &bad_sectors)) { in read_balance()
683 bad_sectors -= (this_sector - first_bad); in read_balance()
684 if (choose_first && sectors > bad_sectors) in read_balance()
685 sectors = bad_sectors; in read_balance()
1426 int bad_sectors; in raid1_write_request() local
1430 &first_bad, &bad_sectors); in raid1_write_request()
[all …]
Draid10.c521 int bad_sectors; in raid10_end_write_request() local
539 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request()
770 int bad_sectors; in read_balance() local
799 &first_bad, &bad_sectors)) { in read_balance()
808 bad_sectors -= (dev_sector - first_bad); in read_balance()
809 if (!do_balance && sectors > bad_sectors) in read_balance()
810 sectors = bad_sectors; in read_balance()
1370 int bad_sectors; in wait_blocked_dev() local
1381 &first_bad, &bad_sectors); in wait_blocked_dev()
1500 int bad_sectors; in raid10_write_request() local
[all …]
Dmd.h220 sector_t *first_bad, int *bad_sectors) in is_badblock() argument
225 first_bad, bad_sectors); in is_badblock()
Draid5.c1222 int bad_sectors; in ops_run_io() local
1224 &first_bad, &bad_sectors); in ops_run_io()
2891 int bad_sectors; in raid5_end_write_request() local
2925 &first_bad, &bad_sectors)) in raid5_end_write_request()
2937 &first_bad, &bad_sectors)) { in raid5_end_write_request()
4715 int bad_sectors; in analyse_stripe() local
4760 &first_bad, &bad_sectors)) in analyse_stripe()
4774 &first_bad, &bad_sectors); in analyse_stripe()
5506 int bad_sectors, dd_idx; in raid5_read_one_chunk() local
5538 &bad_sectors)) { in raid5_read_one_chunk()
/linux-6.6.21/include/linux/
Dbadblocks.h45 sector_t *first_bad, int *bad_sectors);
/linux-6.6.21/block/
Dbadblocks.c54 sector_t *first_bad, int *bad_sectors) in badblocks_check() argument
114 *bad_sectors = BB_LEN(p[lo]); in badblocks_check()
/linux-6.6.21/drivers/block/null_blk/
Dmain.c1370 int bad_sectors; in null_handle_badblocks() local
1372 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()