Searched refs:rs_left (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_proc.c | 93 unsigned long db, dt, dbdt, rt, rs_total, rs_left; in drbd_syncer_progress() local 98 drbd_get_syncer_progress(device, state, &rs_total, &rs_left, &res); in drbd_syncer_progress() 119 (unsigned long) Bit2KB(rs_left >> 10), in drbd_syncer_progress() 123 (unsigned long) Bit2KB(rs_left), in drbd_syncer_progress() 148 db = device->rs_mark_left[i] - rs_left; in drbd_syncer_progress() 149 rt = (dt * (rs_left / (db/100+1)))/100; /* seconds */ in drbd_syncer_progress() 165 db = device->rs_mark_left[i] - rs_left; in drbd_syncer_progress() 177 db = rs_total - rs_left; in drbd_syncer_progress()
|
D | drbd_actlog.c | 674 ext->rs_left -= count; in update_rs_extent() 676 ext->rs_left += count; in update_rs_extent() 679 if (ext->rs_left < ext->rs_failed) { in update_rs_extent() 682 ext->lce.lc_number, ext->rs_left, in update_rs_extent() 692 ext->rs_left = drbd_bm_e_weight(device, enr); in update_rs_extent() 701 int rs_left = drbd_bm_e_weight(device, enr); in update_rs_extent() local 705 ext->lce.lc_number, ext->rs_left, in update_rs_extent() 706 ext->flags, enr, rs_left); in update_rs_extent() 714 ext->rs_left = rs_left; in update_rs_extent() 724 if (ext->rs_left <= ext->rs_failed) { in update_rs_extent() [all …]
|
D | drbd_debugfs.c | 653 seq_printf(m, "%5d %s %s %s", bme->rs_left, in resync_dump_detail()
|
D | drbd_receiver.c | 2776 unsigned long rs_left; in drbd_rs_c_min_rate_throttle() local 2786 rs_left = device->ov_left; in drbd_rs_c_min_rate_throttle() 2788 rs_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_rs_c_min_rate_throttle() 2793 db = device->rs_mark_left[i] - rs_left; in drbd_rs_c_min_rate_throttle()
|
D | drbd_int.h | 1160 int rs_left; /* number of bits set (out of sync) in this extent. */ member
|