Searched refs:read_errors (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/md/
H A Draid1-10.c178 * Used by fix_read_error() to decay the per rdev read_errors.
186 unsigned int read_errors = atomic_read(&rdev->read_errors); local
202 * if hours_since_last is > the number of bits in read_errors
204 * overflowing the shift of read_errors by hours_since_last.
206 if (hours_since_last >= 8 * sizeof(read_errors))
207 atomic_set(&rdev->read_errors, 0);
209 atomic_set(&rdev->read_errors, read_errors >> hours_since_last);
215 int read_errors; local
[all...]
H A Dmd.h114 atomic_t read_errors; /* number of consecutive read errors that member in struct:md_rdev
H A Draid5.c2776 if (atomic_read(&rdev->read_errors))
2777 atomic_set(&rdev->read_errors, 0);
2784 atomic_inc(&rdev->read_errors);
2806 } else if (atomic_read(&rdev->read_errors)
2809 pr_warn("md/raid:%s: %d read_errors > %d stripes\n",
2811 atomic_read(&rdev->read_errors),
H A Dmd.c3740 atomic_set(&rdev->read_errors, 0);
/linux-master/drivers/power/supply/
H A Dcw2015_battery.c80 unsigned int read_errors; member in struct:cw_battery
268 cw_bat->read_errors++;
269 if (cw_bat->read_errors > max_error_cycles) {
273 cw_bat->read_errors = 0;
277 cw_bat->read_errors = 0;
/linux-master/include/uapi/linux/
H A Dbtrfs.h162 __u64 read_errors; /* # of read errors encountered (EIO) */ member in struct:btrfs_scrub_progress
/linux-master/fs/btrfs/
H A Dscrub.c983 sctx->stat.read_errors += stripe->init_nr_io_errors;

Completed in 198 milliseconds