Home
last modified time | relevance | path

Searched refs:next_dirty (Results 1 – 3 of 3) sorted by relevance

/qemu/util/
H A Dhbitmap.c307 int64_t next_dirty, next_zero; in hbitmap_status() local
313 next_dirty = hbitmap_next_dirty(hb, start, count); in hbitmap_status()
314 if (next_dirty == -1) { in hbitmap_status()
319 if (next_dirty > start) { in hbitmap_status()
320 *pnum = next_dirty - start; in hbitmap_status()
324 assert(next_dirty == start); in hbitmap_status()
/qemu/block/
H A Dmirror.c522 int64_t next_dirty; in mirror_iteration() local
533 next_dirty = bdrv_dirty_iter_next(s->dbi); in mirror_iteration()
534 if (next_dirty > next_offset || next_dirty < 0) { in mirror_iteration()
537 next_dirty = bdrv_dirty_iter_next(s->dbi); in mirror_iteration()
539 assert(next_dirty == next_offset); in mirror_iteration()
/qemu/tests/unit/
H A Dtest-hbitmap.c824 int64_t next_dirty = hbitmap_next_dirty(data->hb, start, count); in test_hbitmap_next_x_check_range() local
841 g_assert_cmpint(next_dirty, ==, first_bit ? start : next); in test_hbitmap_next_x_check_range()