Lines Matching refs:copy
732 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit_wrap()
745 bitmap_zero(copy, 500); in test_for_each_set_bit_wrap()
748 bitmap_set(copy, bit, 1); in test_for_each_set_bit_wrap()
750 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap()
757 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit()
761 bitmap_zero(copy, 500); in test_for_each_set_bit()
771 bitmap_set(copy, bit, 1); in test_for_each_set_bit()
773 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit()
779 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit_from()
794 bitmap_zero(copy, 500); in test_for_each_set_bit_from()
798 bitmap_set(copy, bit, 1); in test_for_each_set_bit_from()
802 expect_eq_bitmap(tmp, copy, 500); in test_for_each_set_bit_from()
809 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bit()
813 bitmap_fill(copy, 500); in test_for_each_clear_bit()
823 bitmap_clear(copy, bit, 1); in test_for_each_clear_bit()
825 expect_eq_bitmap(orig, copy, 500); in test_for_each_clear_bit()
831 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bit_from()
846 bitmap_fill(copy, 500); in test_for_each_clear_bit_from()
850 bitmap_clear(copy, bit, 1); in test_for_each_clear_bit_from()
854 expect_eq_bitmap(tmp, copy, 500); in test_for_each_clear_bit_from()
861 DECLARE_BITMAP(copy, 500); in test_for_each_set_bitrange()
865 bitmap_zero(copy, 500); in test_for_each_set_bitrange()
875 bitmap_set(copy, s, e-s); in test_for_each_set_bitrange()
877 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bitrange()
883 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bitrange()
887 bitmap_fill(copy, 500); in test_for_each_clear_bitrange()
897 bitmap_clear(copy, s, e-s); in test_for_each_clear_bitrange()
899 expect_eq_bitmap(orig, copy, 500); in test_for_each_clear_bitrange()
905 DECLARE_BITMAP(copy, 500); in test_for_each_set_bitrange_from()
920 bitmap_zero(copy, 500); in test_for_each_set_bitrange_from()
924 bitmap_set(copy, s, e - s); in test_for_each_set_bitrange_from()
928 expect_eq_bitmap(tmp, copy, 500); in test_for_each_set_bitrange_from()
935 DECLARE_BITMAP(copy, 500); in test_for_each_clear_bitrange_from()
950 bitmap_fill(copy, 500); in test_for_each_clear_bitrange_from()
954 bitmap_clear(copy, s, e - s); in test_for_each_clear_bitrange_from()
958 expect_eq_bitmap(tmp, copy, 500); in test_for_each_clear_bitrange_from()