Home
last modified time | relevance | path

Searched refs:hours_since_last (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Draid10.c2277 unsigned long hours_since_last; in check_decay_read_errors() local
2288 hours_since_last = (long)(cur_time_mon - in check_decay_read_errors()
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()
2301 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors()
/kernel/linux/linux-6.6/drivers/md/
H A Draid10.c2667 unsigned long hours_since_last; in check_decay_read_errors() local
2678 hours_since_last = (long)(cur_time_mon - in check_decay_read_errors()
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()
2691 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors()

Completed in 13 milliseconds