Lines Matching refs:bmap1
268 DECLARE_BITMAP(bmap1, 1024); in test_copy()
271 bitmap_zero(bmap1, 1024); in test_copy()
275 bitmap_set(bmap1, 0, 19); in test_copy()
276 bitmap_copy(bmap2, bmap1, 23); in test_copy()
280 bitmap_copy(bmap2, bmap1, 23); in test_copy()
284 bitmap_set(bmap1, 0, 109); in test_copy()
285 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
289 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
297 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
301 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
709 DECLARE_BITMAP(bmap1, 1024); in test_mem_optimisations()
715 memset(bmap1, 0x5a, sizeof(bmap1)); in test_mem_optimisations()
718 bitmap_set(bmap1, start, nbits); in test_mem_optimisations()
720 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
724 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
729 bitmap_clear(bmap1, start, nbits); in test_mem_optimisations()
731 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
735 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()