Searched refs:rs_last_mark (Results 1 – 5 of 5) sorted by relevance
164 i = (device->rs_last_mark + 2) % DRBD_SYNC_MARKS; in drbd_syncer_progress()184 i = (device->rs_last_mark + DRBD_SYNC_MARKS-1) % DRBD_SYNC_MARKS; in drbd_syncer_progress()
739 unsigned long last = device->rs_mark_time[device->rs_last_mark]; in drbd_advance_rs_marks()740 int next = (device->rs_last_mark + 1) % DRBD_SYNC_MARKS; in drbd_advance_rs_marks()742 if (device->rs_mark_left[device->rs_last_mark] != still_to_go && in drbd_advance_rs_marks()747 device->rs_last_mark = next; in drbd_advance_rs_marks()
1084 -(long)device->rs_mark_time[device->rs_last_mark]; in __drbd_set_state()1092 device->rs_mark_time[device->rs_last_mark] = jiffies; in __drbd_set_state()
905 int rs_last_mark; member
2494 i = (device->rs_last_mark + DRBD_SYNC_MARKS-1) % DRBD_SYNC_MARKS; in drbd_rs_c_min_rate_throttle()