Lines Matching refs:bmap2

297 	DECLARE_BITMAP(bmap2, 1024);  in test_copy()
300 bitmap_zero(bmap2, 1024); in test_copy()
304 bitmap_copy(bmap2, bmap1, 23); in test_copy()
305 expect_eq_pbl("0-18", bmap2, 1024); in test_copy()
307 bitmap_set(bmap2, 0, 23); in test_copy()
308 bitmap_copy(bmap2, bmap1, 23); in test_copy()
309 expect_eq_pbl("0-18", bmap2, 1024); in test_copy()
313 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
314 expect_eq_pbl("0-108", bmap2, 1024); in test_copy()
316 bitmap_fill(bmap2, 1024); in test_copy()
317 bitmap_copy(bmap2, bmap1, 1024); in test_copy()
318 expect_eq_pbl("0-108", bmap2, 1024); in test_copy()
324 bitmap_fill(bmap2, 1024); in test_copy()
325 bitmap_copy(bmap2, bmap1, 109); /* ... but 0-padded til word length */ in test_copy()
326 expect_eq_pbl("0-108,128-1023", bmap2, 1024); in test_copy()
328 bitmap_fill(bmap2, 1024); in test_copy()
329 bitmap_copy(bmap2, bmap1, 97); /* ... but aligned on word length */ in test_copy()
330 expect_eq_pbl("0-108,128-1023", bmap2, 1024); in test_copy()
613 DECLARE_BITMAP(bmap2, EXP1_IN_BITS); in test_bitmap_arr32()
619 bitmap_from_arr32(bmap2, arr, nbits); in test_bitmap_arr32()
620 expect_eq_bitmap(bmap2, exp1, nbits); in test_bitmap_arr32()
622 next_bit = find_next_bit(bmap2, in test_bitmap_arr32()
641 DECLARE_BITMAP(bmap2, EXP1_IN_BITS); in test_bitmap_arr64()
646 memset(bmap2, 0xff, sizeof(arr)); in test_bitmap_arr64()
648 bitmap_from_arr64(bmap2, arr, nbits); in test_bitmap_arr64()
649 expect_eq_bitmap(bmap2, exp1, nbits); in test_bitmap_arr64()
651 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); in test_bitmap_arr64()
674 DECLARE_BITMAP(bmap2, 1024); in test_mem_optimisations()
680 memset(bmap2, 0x5a, sizeof(bmap2)); in test_mem_optimisations()
683 __bitmap_set(bmap2, start, nbits); in test_mem_optimisations()
684 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
688 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
694 __bitmap_clear(bmap2, start, nbits); in test_mem_optimisations()
695 if (!bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()
699 if (!__bitmap_equal(bmap1, bmap2, 1024)) { in test_mem_optimisations()