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

/linux-4.4.14/drivers/md/
H A Draid10.c2179 unsigned long hours_since_last; check_decay_read_errors() local
2191 hours_since_last = (cur_time_mon.tv_sec - check_decay_read_errors()
2197 * if hours_since_last is > the number of bits in read_errors check_decay_read_errors()
2199 * overflowing the shift of read_errors by hours_since_last. check_decay_read_errors()
2201 if (hours_since_last >= 8 * sizeof(read_errors)) check_decay_read_errors()
2204 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); check_decay_read_errors()

Completed in 86 milliseconds