/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | cw2015_battery.c | 79 unsigned int read_errors; member 267 cw_bat->read_errors++; in cw_get_soc() 268 if (cw_bat->read_errors > max_error_cycles) { in cw_get_soc() 272 cw_bat->read_errors = 0; in cw_get_soc() 276 cw_bat->read_errors = 0; in cw_get_soc()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | cw2015_battery.c | 80 unsigned int read_errors; member 268 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()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid10.c | 2269 * Used by fix_read_error() to decay the per rdev read_errors. 2278 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local 2294 * if hours_since_last is > the number of bits in read_errors in check_decay_read_errors() 2296 * overflowing the shift of read_errors by hours_since_last. in check_decay_read_errors() 2298 if (hours_since_last >= 8 * sizeof(read_errors)) in check_decay_read_errors() 2299 atomic_set(&rdev->read_errors, 0); in check_decay_read_errors() 2301 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors() 2355 atomic_inc(&rdev->read_errors); in fix_read_error() [all...] |
H A D | md.h | 112 atomic_t read_errors; /* number of consecutive read errors that member
|
H A D | raid5.c | 2723 if (atomic_read(&rdev->read_errors)) in raid5_end_read_request() 2724 atomic_set(&rdev->read_errors, 0); in raid5_end_read_request() 2732 atomic_inc(&rdev->read_errors); in raid5_end_read_request() 2754 } else if (atomic_read(&rdev->read_errors) in raid5_end_read_request() 2757 pr_warn("md/raid:%s: %d read_errors > %d stripes\n", in raid5_end_read_request() 2759 atomic_read(&rdev->read_errors), in raid5_end_read_request()
|
H A D | md.c | 3727 atomic_set(&rdev->read_errors, 0); in md_rdev_init()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.c | 2659 * Used by fix_read_error() to decay the per rdev read_errors. 2668 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local 2684 * if hours_since_last is > the number of bits in read_errors in check_decay_read_errors() 2686 * overflowing the shift of read_errors by hours_since_last. in check_decay_read_errors() 2688 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() [all...] |
H A D | md.h | 112 atomic_t read_errors; /* number of consecutive read errors that member
|
H A D | raid5.c | 2814 if (atomic_read(&rdev->read_errors)) in raid5_end_read_request() 2815 atomic_set(&rdev->read_errors, 0); in raid5_end_read_request() 2822 atomic_inc(&rdev->read_errors); in raid5_end_read_request() 2844 } else if (atomic_read(&rdev->read_errors) in raid5_end_read_request() 2847 pr_warn("md/raid:%s: %d read_errors > %d stripes\n", in raid5_end_read_request() 2849 atomic_read(&rdev->read_errors), in raid5_end_read_request()
|
H A D | md.c | 3658 atomic_set(&rdev->read_errors, 0); in md_rdev_init()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | scrub.c | 885 sctx->stat.read_errors++; in scrub_handle_errored_block() 925 sctx->stat.read_errors++; in scrub_handle_errored_block() 936 sctx->stat.read_errors++; in scrub_handle_errored_block() 970 sctx->stat.read_errors++; in scrub_handle_errored_block() 2067 sctx->stat.read_errors++; in scrub_missing_raid56_worker() 2641 sctx->stat.read_errors += nbits; in scrub_free_parity()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | btrfs.h | 155 __u64 read_errors; /* # of read errors encountered (EIO) */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 93 __u64 read_errors; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 93 __u64 read_errors; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 79 __u64 read_errors; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | btrfs.h | 161 __u64 read_errors; /* # of read errors encountered (EIO) */ member
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | scrub.c | 984 sctx->stat.read_errors += stripe->init_nr_io_errors; in scrub_stripe_report_errors()
|