Searched refs:bad_sectors (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | raid1.c | 502 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 …]
|
D | raid10.c | 523 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 …]
|
D | md.h | 219 sector_t *first_bad, int *bad_sectors) in is_badblock() argument 224 first_bad, bad_sectors); in is_badblock()
|
D | raid5.c | 1215 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/ |
D | badblocks.h | 45 sector_t *first_bad, int *bad_sectors);
|
/linux-6.1.9/block/ |
D | badblocks.c | 54 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/ |
D | main.c | 1336 int bad_sectors; in null_handle_badblocks() local 1338 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()
|