Lines Matching refs:bmap1
236 DECLARE_BITMAP(bmap1, 1024); in test_copy()
239 bitmap_zero(bmap1, 1024); in test_copy()
243 bitmap_set(bmap1, 0, 19); in test_copy()
244 bitmap_copy(bmap2, bmap1, 23); in test_copy()
248 bitmap_copy(bmap2, bmap1, 23); in test_copy()
252 bitmap_set(bmap1, 0, 109); in test_copy()
253 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
257 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
265 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
269 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
498 DECLARE_BITMAP(bmap1, 1024); in test_mem_optimisations()
504 memset(bmap1, 0x5a, sizeof(bmap1)); in test_mem_optimisations()
507 bitmap_set(bmap1, start, nbits); in test_mem_optimisations()
509 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
513 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
518 bitmap_clear(bmap1, start, nbits); in test_mem_optimisations()
520 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
524 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()