Lines Matching refs:do_now
586 size_t do_now, end; in bm_memset() local
596 do_now = min_t(size_t, ALIGN(offset + 1, LWPP), end) - offset; in bm_memset()
600 if (bm+do_now > p_addr + LWPP) { in bm_memset()
602 p_addr, bm, (int)do_now); in bm_memset()
604 memset(bm, c, do_now * sizeof(long)); in bm_memset()
607 offset += do_now; in bm_memset()
815 size_t end, do_now; in drbd_bm_merge_lel() local
830 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; in drbd_bm_merge_lel()
834 offset += do_now; in drbd_bm_merge_lel()
835 while (do_now--) { in drbd_bm_merge_lel()
862 size_t end, do_now; in drbd_bm_get_lel() local
881 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; in drbd_bm_get_lel()
884 offset += do_now; in drbd_bm_get_lel()
885 while (do_now--) in drbd_bm_get_lel()