Searched refs:bmap2 (Results 1 – 1 of 1) sorted by relevance
| /openbmc/qemu/tests/unit/ |
| H A D | test-bitmap.c | 18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local 21 bmap2 = bitmap_new(BMAP_SIZE); in check_bitmap_copy_with_offset() 31 bitmap_copy_with_dst_offset(bmap2, bmap1, 115, total); in check_bitmap_copy_with_offset() 33 bitmap_copy_with_dst_offset(bmap3, bmap2, 85, total + 115); in check_bitmap_copy_with_offset() 35 bitmap_copy_with_src_offset(bmap2, bmap3, 200, total); in check_bitmap_copy_with_offset() 38 bmap2, total / BITS_PER_LONG); in check_bitmap_copy_with_offset() 45 bitmap_copy_with_src_offset(bmap2, bmap1, 40, 250); in check_bitmap_copy_with_offset() 46 g_assert_cmpint(find_first_bit(bmap2, 60), ==, 60); in check_bitmap_copy_with_offset() 47 g_assert_cmpint(find_next_zero_bit(bmap2, 205, 60), ==, 205); in check_bitmap_copy_with_offset() 48 g_assert(test_bit(205, bmap2) == 0); in check_bitmap_copy_with_offset() [all …]
|