Lines Matching refs:bmap1
235 DECLARE_BITMAP(bmap1, 1024); in test_copy()
238 bitmap_zero(bmap1, 1024); in test_copy()
242 bitmap_set(bmap1, 0, 19); in test_copy()
243 bitmap_copy(bmap2, bmap1, 23); in test_copy()
247 bitmap_copy(bmap2, bmap1, 23); in test_copy()
251 bitmap_set(bmap1, 0, 109); in test_copy()
252 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
256 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
264 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
268 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
497 DECLARE_BITMAP(bmap1, 1024); in test_mem_optimisations()
503 memset(bmap1, 0x5a, sizeof(bmap1)); in test_mem_optimisations()
506 bitmap_set(bmap1, start, nbits); in test_mem_optimisations()
508 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
512 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
517 bitmap_clear(bmap1, start, nbits); in test_mem_optimisations()
519 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
523 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()