Lines Matching refs:copy
744 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit_wrap()
757 bitmap_zero(copy, 500); in test_for_each_set_bit_wrap()
760 bitmap_set(copy, bit, 1); in test_for_each_set_bit_wrap()
762 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap()
769 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit()
773 bitmap_zero(copy, 500); in test_for_each_set_bit()
783 bitmap_set(copy, bit, 1); in test_for_each_set_bit()
785 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit()
791 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit_from()
806 bitmap_zero(copy, 500); in test_for_each_set_bit_from()
810 bitmap_set(copy, bit, 1); in test_for_each_set_bit_from()
814 expect_eq_bitmap(tmp, copy, 500); in test_for_each_set_bit_from()
821 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bit()
825 bitmap_fill(copy, 500); in test_for_each_clear_bit()
835 bitmap_clear(copy, bit, 1); in test_for_each_clear_bit()
837 expect_eq_bitmap(orig, copy, 500); in test_for_each_clear_bit()
843 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bit_from()
858 bitmap_fill(copy, 500); in test_for_each_clear_bit_from()
862 bitmap_clear(copy, bit, 1); in test_for_each_clear_bit_from()
866 expect_eq_bitmap(tmp, copy, 500); in test_for_each_clear_bit_from()
873 DECLARE_BITMAP(copy, 500); in test_for_each_set_bitrange()
877 bitmap_zero(copy, 500); in test_for_each_set_bitrange()
887 bitmap_set(copy, s, e-s); in test_for_each_set_bitrange()
889 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bitrange()
895 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bitrange()
899 bitmap_fill(copy, 500); in test_for_each_clear_bitrange()
909 bitmap_clear(copy, s, e-s); in test_for_each_clear_bitrange()
911 expect_eq_bitmap(orig, copy, 500); in test_for_each_clear_bitrange()
917 DECLARE_BITMAP(copy, 500); in test_for_each_set_bitrange_from()
932 bitmap_zero(copy, 500); in test_for_each_set_bitrange_from()
936 bitmap_set(copy, s, e - s); in test_for_each_set_bitrange_from()
940 expect_eq_bitmap(tmp, copy, 500); in test_for_each_set_bitrange_from()
947 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bitrange_from()
962 bitmap_fill(copy, 500); in test_for_each_clear_bitrange_from()
966 bitmap_clear(copy, s, e - s); in test_for_each_clear_bitrange_from()
970 expect_eq_bitmap(tmp, copy, 500); in test_for_each_clear_bitrange_from()