/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 | 525 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request() 787 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1942 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status() 1975 test_bit(In_sync, &rdev->flags)) in _enough() 2022 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error() 2030 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error() 2064 i, !test_bit(In_sync, &rdev->flags), in print_conf() 2095 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active() 2098 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active() 2113 && !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() 508 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request() 645 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1607 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status() 1636 if (test_bit(In_sync, &rdev->flags) && in raid1_error() 1647 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error() 1680 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1721 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1724 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active() 1739 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() [all …]
|
H A D | md.c | 1289 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1386 set_bit(In_sync, &rdev->flags); in super_90_validate() 1403 set_bit(In_sync, &rdev->flags); in super_90_validate() 1486 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1516 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1800 clear_bit(In_sync, &rdev->flags); in super_1_validate() 1981 set_bit(In_sync, &rdev->flags); in super_1_validate() 1993 set_bit(In_sync, &rdev->flags); in super_1_validate() 2046 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 2153 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() 2852 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2867 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2968 clear_bit(In_sync, &rdev->flags); in raid5_error() 3647 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe() 3765 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3772 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3794 && !test_bit(In_sync, &rdev->flags) in want_replace() 4757 } 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()
|