/openbmc/linux/drivers/md/ |
H A D | md-multipath.c | 38 if (rdev && test_bit(In_sync, &rdev->flags) && in multipath_map() 145 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in multipath_status() 171 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error() 232 set_bit(In_sync, &rdev->flags); in multipath_add_disk() 254 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
|
H A D | raid10.c | 531 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request() 793 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1959 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status() 1992 test_bit(In_sync, &rdev->flags)) in _enough() 2039 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error() 2047 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error() 2081 i, !test_bit(In_sync, &rdev->flags), in print_conf() 2112 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active() 2115 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active() 2130 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active() [all …]
|
H A D | dm-raid.c | 871 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params() 898 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params() 1010 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy() 1057 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy() 1083 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy() 1180 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params() 1323 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params() 2185 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load() 2333 if (!test_bit(In_sync, &r->flags)) { in super_init_validation() 2472 set_bit(In_sync, &rdev->flags); in super_validate() [all …]
|
H A D | raid1.c | 392 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request() 513 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request() 650 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1625 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status() 1654 if (test_bit(In_sync, &rdev->flags) && in raid1_error() 1665 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error() 1698 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1739 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1742 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active() 1757 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() [all …]
|
H A D | md.c | 1281 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1378 set_bit(In_sync, &rdev->flags); in super_90_validate() 1395 set_bit(In_sync, &rdev->flags); in super_90_validate() 1478 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1508 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1792 clear_bit(In_sync, &rdev->flags); in super_1_validate() 1973 set_bit(In_sync, &rdev->flags); in super_1_validate() 1985 set_bit(In_sync, &rdev->flags); in super_1_validate() 2038 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 2145 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync() [all …]
|
H A D | raid5.c | 702 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded() 728 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded() 2855 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2870 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2972 clear_bit(In_sync, &rdev->flags); in raid5_error() 3672 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe() 3800 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3807 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3829 && !test_bit(In_sync, &rdev->flags) in want_replace() 4797 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe() [all …]
|
H A D | md.h | 142 In_sync, /* device is in_sync with rest of array */ enumerator
|
H A D | raid5-ppl.c | 888 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
|
H A D | md-bitmap.c | 155 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()
|