Home
last modified time | relevance | path

Searched refs:curr_events (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/block/drbd/
Ddrbd_receiver.c2742 int curr_events; in drbd_rs_c_min_rate_throttle() local
2752 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()
/linux-6.1.9/drivers/md/
Dmd.c8443 int curr_events; in is_mddev_idle() local
8449 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()