Searched refs:curr_events (Results 1 – 2 of 2) sorted by relevance
2742 int curr_events; in drbd_rs_c_min_rate_throttle() local2752 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in drbd_rs_c_min_rate_throttle()2756 || curr_events - device->rs_last_events > 64) { in drbd_rs_c_min_rate_throttle()2760 device->rs_last_events = curr_events; in drbd_rs_c_min_rate_throttle()
8443 int curr_events; in is_mddev_idle() local8449 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in is_mddev_idle()8473 if (init || curr_events - rdev->last_events > 64) { in is_mddev_idle()8474 rdev->last_events = curr_events; in is_mddev_idle()