Searched refs:curr_events (Results 1 – 2 of 2) sorted by relevance
2761 int curr_events; in drbd_rs_c_min_rate_throttle() local2771 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in drbd_rs_c_min_rate_throttle()2775 || curr_events - device->rs_last_events > 64) { in drbd_rs_c_min_rate_throttle()2779 device->rs_last_events = curr_events; in drbd_rs_c_min_rate_throttle()
8590 int curr_events; in is_mddev_idle() local8600 curr_events = (int)part_stat_read_accum(disk->part0, sectors) - in is_mddev_idle()8624 if (init || curr_events - rdev->last_events > 64) { in is_mddev_idle()8625 rdev->last_events = curr_events; in is_mddev_idle()