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()
741 unsigned long last = device->rs_mark_time[device->rs_last_mark]; in drbd_advance_rs_marks()742 int next = (device->rs_last_mark + 1) % DRBD_SYNC_MARKS; in drbd_advance_rs_marks()744 if (device->rs_mark_left[device->rs_last_mark] != still_to_go && in drbd_advance_rs_marks()749 device->rs_last_mark = next; in drbd_advance_rs_marks()
1374 -(long)device->rs_mark_time[device->rs_last_mark]; in _drbd_set_state()1382 device->rs_mark_time[device->rs_last_mark] = jiffies; in _drbd_set_state()
898 int rs_last_mark; member
2764 i = (device->rs_last_mark + DRBD_SYNC_MARKS-1) % DRBD_SYNC_MARKS; in drbd_rs_c_min_rate_throttle()