Searched refs:read_errors (Results 1 – 5 of 5) sorted by relevance
80 unsigned int read_errors; member268 cw_bat->read_errors++; in cw_get_soc()269 if (cw_bat->read_errors > max_error_cycles) { in cw_get_soc()273 cw_bat->read_errors = 0; in cw_get_soc()277 cw_bat->read_errors = 0; in cw_get_soc()
2668 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local2688 if (hours_since_last >= 8 * sizeof(read_errors)) in check_decay_read_errors()2689 atomic_set(&rdev->read_errors, 0); in check_decay_read_errors()2691 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors()2745 atomic_inc(&rdev->read_errors); in fix_read_error()2746 if (atomic_read(&rdev->read_errors) > max_read_errors) { in fix_read_error()2749 atomic_read(&rdev->read_errors), max_read_errors); in fix_read_error()
112 atomic_t read_errors; /* number of consecutive read errors that member
2813 if (atomic_read(&rdev->read_errors)) in raid5_end_read_request()2814 atomic_set(&rdev->read_errors, 0); in raid5_end_read_request()2821 atomic_inc(&rdev->read_errors); in raid5_end_read_request()2843 } else if (atomic_read(&rdev->read_errors) in raid5_end_read_request()2848 atomic_read(&rdev->read_errors), in raid5_end_read_request()
3662 atomic_set(&rdev->read_errors, 0); in md_rdev_init()