Searched refs:bad_sectors (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
D | raid1.c | 497 int bad_sectors; in raid1_end_write_request() local 515 &first_bad, &bad_sectors) && !discard_error) { in raid1_end_write_request() 637 int bad_sectors; in read_balance() local 654 &first_bad, &bad_sectors)) { in read_balance() 670 &first_bad, &bad_sectors)) { in read_balance() 679 bad_sectors -= (this_sector - first_bad); in read_balance() 680 if (choose_first && sectors > bad_sectors) in read_balance() 681 sectors = bad_sectors; in read_balance() 1394 int bad_sectors; in raid1_write_request() local 1398 &first_bad, &bad_sectors); in raid1_write_request() [all …]
|
D | raid10.c | 495 int bad_sectors; in raid10_end_write_request() local 513 &first_bad, &bad_sectors) && !discard_error) { in raid10_end_write_request() 744 int bad_sectors; in read_balance() local 765 &first_bad, &bad_sectors)) { in read_balance() 774 bad_sectors -= (dev_sector - first_bad); in read_balance() 775 if (!do_balance && sectors > bad_sectors) in read_balance() 776 sectors = bad_sectors; in read_balance() 1379 int bad_sectors; in raid10_write_request() local 1383 &first_bad, &bad_sectors); in raid10_write_request() 1395 bad_sectors -= (dev_sector - first_bad); in raid10_write_request() [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 | 1138 int bad_sectors; in ops_run_io() local 1140 &first_bad, &bad_sectors); in ops_run_io() 2802 int bad_sectors; in raid5_end_write_request() local 2837 &first_bad, &bad_sectors)) in raid5_end_write_request() 2849 &first_bad, &bad_sectors)) { in raid5_end_write_request() 4603 int bad_sectors; in analyse_stripe() local 4648 &first_bad, &bad_sectors)) in analyse_stripe() 4662 &first_bad, &bad_sectors); in analyse_stripe() 5444 int bad_sectors; in raid5_read_one_chunk() local 5453 &first_bad, &bad_sectors)) { in raid5_read_one_chunk()
|
/kernel/linux/linux-5.10/include/linux/ |
D | badblocks.h | 45 sector_t *first_bad, int *bad_sectors);
|
/kernel/linux/linux-5.10/block/ |
D | badblocks.c | 54 sector_t *first_bad, int *bad_sectors) in badblocks_check() argument 115 *bad_sectors = BB_LEN(p[lo]); in badblocks_check()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | null_blk_main.c | 1257 int bad_sectors; in null_handle_badblocks() local 1259 if (badblocks_check(bb, sector, nr_sectors, &first_bad, &bad_sectors)) in null_handle_badblocks()
|