Searched refs:bmap1 (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/unit/ |
H A D | test-bitmap.c | 18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local 20 bmap1 = bitmap_new(BMAP_SIZE); in check_bitmap_copy_with_offset() 24 bmap1[0] = g_test_rand_int(); in check_bitmap_copy_with_offset() 25 bmap1[1] = g_test_rand_int(); in check_bitmap_copy_with_offset() 26 bmap1[2] = g_test_rand_int(); in check_bitmap_copy_with_offset() 27 bmap1[3] = g_test_rand_int(); in check_bitmap_copy_with_offset() 37 g_assert_cmpmem(bmap1, total / BITS_PER_LONG, in check_bitmap_copy_with_offset() 40 bitmap_clear(bmap1, 0, BMAP_SIZE); in check_bitmap_copy_with_offset() 42 bitmap_set(bmap1, 100, 145); in check_bitmap_copy_with_offset() 45 bitmap_copy_with_src_offset(bmap2, bmap1, 40, 250); in check_bitmap_copy_with_offset() [all …]
|