Lines Matching defs:bit

140 		pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n",
147 pr_warn("[%s:%u] bit offset for zero clump: expected nonzero clump, got bit offset %u with clump value 0",
226 unsigned long b, bit, cnt = 0;
259 for_each_set_bit(bit, exp1, EXP1_IN_BITS) {
261 expect_eq_uint(b, bit);
320 /* the following tests assume a 32- or 64-bit arch (even 128b
773 0x01, /* 1 bit set */
774 0x02, /* non-edge 1 bit set */
776 0x38, /* 3 bits set across 4-bit boundary */
809 unsigned int wr, bit;
814 for (bit = 0; bit < 500; bit += 10)
815 bitmap_set(orig, bit, 1);
823 for_each_set_bit_wrap(bit, orig, 500, wr)
824 bitmap_set(copy, bit, 1);
834 unsigned int bit;
840 for (bit = 0; bit < 500; bit += 10)
841 bitmap_set(orig, bit, 1);
846 for_each_set_bit(bit, orig, 500)
847 bitmap_set(copy, bit, 1);
856 unsigned int wr, bit;
861 for (bit = 0; bit < 500; bit += 10)
862 bitmap_set(orig, bit, 1);
871 bit = wr;
873 for_each_set_bit_from(bit, orig, 500)
874 bitmap_set(copy, bit, 1);
886 unsigned int bit;
892 for (bit = 0; bit < 500; bit += 10)
893 bitmap_clear(orig, bit, 1);
898 for_each_clear_bit(bit, orig, 500)
899 bitmap_clear(copy, bit, 1);
908 unsigned int wr, bit;
913 for (bit = 0; bit < 500; bit += 10)
914 bitmap_clear(orig, bit, 1);
923 bit = wr;
925 for_each_clear_bit_from(bit, orig, 500)
926 bitmap_clear(copy, bit, 1);
1305 unsigned long w, r, bit;
1315 * Check that writing a single bit does not accidentally touch the
1321 for (bit = 0; bit <= 1; bit++) {
1322 bitmap_write(bitmap, bit, i, 1);
1323 __assign_bit(i, exp_bitmap, bit);
1381 * The resulting bit pattern is asymmetric to rule out possible issues
1382 * with bit numeration order.