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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Draid10.c1460 unsigned long hours_since_last; local
1472 hours_since_last = (cur_time_mon.tv_sec -
1478 * if hours_since_last is > the number of bits in read_errors
1480 * overflowing the shift of read_errors by hours_since_last.
1482 if (hours_since_last >= 8 * sizeof(read_errors))
1485 atomic_set(&rdev->read_errors, read_errors >> hours_since_last);

Completed in 56 milliseconds