Home
last modified time | relevance | path

Searched refs:next_zero (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/util/
H A Dhbitmap.c277 int64_t next_zero; in hbitmap_next_dirty_area() local
293 next_zero = hbitmap_next_zero(hb, start, end - start); in hbitmap_next_dirty_area()
294 if (next_zero >= 0) { in hbitmap_next_dirty_area()
295 end = next_zero; in hbitmap_next_dirty_area()
307 int64_t next_dirty, next_zero; in hbitmap_status() local
326 next_zero = hbitmap_next_zero(hb, start, count); in hbitmap_status()
327 if (next_zero == -1) { in hbitmap_status()
332 assert(next_zero > start); in hbitmap_status()
333 *pnum = next_zero - start; in hbitmap_status()
/openbmc/qemu/tests/unit/
H A Dtest-hbitmap.c823 int64_t next_zero = hbitmap_next_zero(data->hb, start, count); in test_hbitmap_next_x_check_range() local
842 g_assert_cmpint(next_zero, ==, first_bit ? next : start); in test_hbitmap_next_x_check_range()