Lines Matching refs:bmap1
253 DECLARE_BITMAP(bmap1, 1024); in test_copy()
256 bitmap_zero(bmap1, 1024); in test_copy()
260 bitmap_set(bmap1, 0, 19); in test_copy()
261 bitmap_copy(bmap2, bmap1, 23); in test_copy()
265 bitmap_copy(bmap2, bmap1, 23); in test_copy()
269 bitmap_set(bmap1, 0, 109); in test_copy()
270 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
274 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
282 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
286 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
554 DECLARE_BITMAP(bmap1, 1024); in test_mem_optimisations()
560 memset(bmap1, 0x5a, sizeof(bmap1)); in test_mem_optimisations()
563 bitmap_set(bmap1, start, nbits); in test_mem_optimisations()
565 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
569 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
574 bitmap_clear(bmap1, start, nbits); in test_mem_optimisations()
576 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
580 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()