Searched refs:hbitmap_count (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-hbitmap.c | 72 g_assert_cmpint(count << data->granularity, ==, hbitmap_count(data->hb)); in hbitmap_test_check() 213 g_assert_cmpint(count, ==, hbitmap_count(data->hb)); in hbitmap_test_check_get() 407 g_assert_cmpint(hbitmap_count(data->hb), ==, 2); in test_hbitmap_granularity() 410 g_assert_cmpint(hbitmap_count(data->hb), ==, 4); in test_hbitmap_granularity() 413 g_assert_cmpint(hbitmap_count(data->hb), ==, 4); in test_hbitmap_granularity() 415 g_assert_cmpint(hbitmap_count(data->hb), ==, 2); in test_hbitmap_granularity() 485 g_assert_cmpint(2 << data->granularity, ==, hbitmap_count(data->hb)); in hbitmap_test_check_boundary_bits()
|
/openbmc/qemu/util/ |
H A D | hbitmap.c | 347 uint64_t hbitmap_count(const HBitmap *hb) in hbitmap_count() function 909 if ((!hbitmap_count(a) && result == b) || in hbitmap_merge() 910 (!hbitmap_count(b) && result == a)) { in hbitmap_merge() 914 if (!hbitmap_count(a) && !hbitmap_count(b)) { in hbitmap_merge()
|
/openbmc/qemu/include/qemu/ |
H A D | hbitmap.h | 105 uint64_t hbitmap_count(const HBitmap *hb);
|
/openbmc/qemu/block/ |
H A D | dirty-bitmap.c | 686 return hbitmap_count(bitmap->bitmap); in bdrv_get_dirty_count()
|