Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1.c502 int bad_sectors; in raid1_end_write_request() local
520 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request()
642 int bad_sectors; in read_balance() local
659 &first_bad, &bad_sectors)) { in read_balance()
675 &first_bad, &bad_sectors)) { in read_balance()
684 bad_sectors -= (this_sector - first_bad); in read_balance()
685 if (choose_first && sectors > bad_sectors) in read_balance()
686 sectors = bad_sectors; in read_balance()
1429 int bad_sectors; in raid1_write_request() local
1433 &first_bad, &bad_sectors); in raid1_write_request()
[all …]
Draid10.c523 int bad_sectors; in raid10_end_write_request() local
541 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request()
772 int bad_sectors; in read_balance() local
793 &first_bad, &bad_sectors)) { in read_balance()
802 bad_sectors -= (dev_sector - first_bad); in read_balance()
803 if (!do_balance && sectors > bad_sectors) in read_balance()
804 sectors = bad_sectors; in read_balance()
1363 int bad_sectors; in wait_blocked_dev() local
1374 &first_bad, &bad_sectors); in wait_blocked_dev()
1495 int bad_sectors; in raid10_write_request() local
[all …]
Dmd.h219 sector_t *first_bad, int *bad_sectors) in is_badblock() argument
224 first_bad, bad_sectors); in is_badblock()
Draid5.c1215 int bad_sectors; in ops_run_io() local
1217 &first_bad, &bad_sectors); in ops_run_io()
2884 int bad_sectors; in raid5_end_write_request() local
2918 &first_bad, &bad_sectors)) in raid5_end_write_request()
2930 &first_bad, &bad_sectors)) { in raid5_end_write_request()
4708 int bad_sectors; in analyse_stripe() local
4753 &first_bad, &bad_sectors)) in analyse_stripe()
4767 &first_bad, &bad_sectors); in analyse_stripe()
5508 int bad_sectors, dd_idx; in raid5_read_one_chunk() local
5541 &bad_sectors)) { in raid5_read_one_chunk()
/linux-6.1.9/include/linux/
Dbadblocks.h45 sector_t *first_bad, int *bad_sectors);
/linux-6.1.9/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.1.9/drivers/block/null_blk/
Dmain.c1336 int bad_sectors; in null_handle_badblocks() local
1338 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()