Lines Matching refs:bmap1
296 DECLARE_BITMAP(bmap1, 1024); in test_copy()
299 bitmap_zero(bmap1, 1024); in test_copy()
303 bitmap_set(bmap1, 0, 19); in test_copy()
304 bitmap_copy(bmap2, bmap1, 23); in test_copy()
308 bitmap_copy(bmap2, bmap1, 23); in test_copy()
312 bitmap_set(bmap1, 0, 109); in test_copy()
313 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
317 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
325 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
329 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
661 DECLARE_BITMAP(bmap1, 1024); in test_mem_optimisations()
667 memset(bmap1, 0x5a, sizeof(bmap1)); in test_mem_optimisations()
670 bitmap_set(bmap1, start, nbits); in test_mem_optimisations()
672 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
676 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
681 bitmap_clear(bmap1, start, nbits); in test_mem_optimisations()
683 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
687 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()