Searched defs:rs_left (Results 1 - 4 of 4) sorted by relevance
/drivers/block/drbd/ |
H A D | drbd_proc.c | 72 /* note: both rs_total and rs_left are in bits, i.e. in 116 unsigned long db, dt, dbdt, rt, rs_total, rs_left; local 121 drbd_get_syncer_progress(device, state, &rs_total, &rs_left, &res); 142 (unsigned long) Bit2KB(rs_left >> 10), 146 (unsigned long) Bit2KB(rs_left), 171 db = device->rs_mark_left[i] - rs_left; 172 rt = (dt * (rs_left / (db/100+1)))/100; /* seconds */ 188 db = device->rs_mark_left[i] - rs_left; 200 db = rs_total - rs_left;
|
H A D | drbd_actlog.c | 640 * Adjusts the caching members ->rs_left (success) or ->rs_failed (!success), 645 * precisely: (rs_left <= rs_failed) 663 * then update and check rs_left and rs_failed. */ 672 ext->rs_left -= count; 674 ext->rs_left += count; 677 if (ext->rs_left < ext->rs_failed) { 678 drbd_warn(device, "BAD! enr=%u rs_left=%d " 680 ext->lce.lc_number, ext->rs_left, 686 * the set bits to cache that value in ext->rs_left. 690 ext->rs_left 699 int rs_left = drbd_bm_e_weight(device, enr); local [all...] |
H A D | drbd_receiver.c | 2486 unsigned long rs_left; local 2496 rs_left = device->ov_left; 2498 rs_left = drbd_bm_total_weight(device) - device->rs_failed; 2503 db = device->rs_mark_left[i] - rs_left;
|
H A D | drbd_int.h | 1219 int rs_left; /* number of bits set (out of sync) in this extent. */ member in struct:bm_extent
|
Completed in 75 milliseconds