Searched refs:rs_last_mark (Results 1 – 5 of 5) sorted by relevance
141 i = (device->rs_last_mark + 2) % DRBD_SYNC_MARKS; in drbd_syncer_progress()161 i = (device->rs_last_mark + DRBD_SYNC_MARKS-1) % DRBD_SYNC_MARKS; in drbd_syncer_progress()
742 unsigned long last = device->rs_mark_time[device->rs_last_mark]; in drbd_advance_rs_marks()743 int next = (device->rs_last_mark + 1) % DRBD_SYNC_MARKS; in drbd_advance_rs_marks()745 if (device->rs_mark_left[device->rs_last_mark] != still_to_go && in drbd_advance_rs_marks()750 device->rs_last_mark = next; in drbd_advance_rs_marks()
1376 -(long)device->rs_mark_time[device->rs_last_mark]; in _drbd_set_state()1384 device->rs_mark_time[device->rs_last_mark] = jiffies; in _drbd_set_state()
830 int rs_last_mark; member
2783 i = (device->rs_last_mark + DRBD_SYNC_MARKS-1) % DRBD_SYNC_MARKS; in drbd_rs_c_min_rate_throttle()