Lines Matching refs:bits
542 unsigned long *bits = bitmap_zalloc(nbits, GFP_KERNEL); in large_bitmap() local
543 if (!bits) in large_bitmap()
546 bitmap_set(bits, 1, 20); in large_bitmap()
547 bitmap_set(bits, 60000, 15); in large_bitmap()
548 test("1-20,60000-60014", "%*pbl", nbits, bits); in large_bitmap()
549 bitmap_free(bits); in large_bitmap()
555 DECLARE_BITMAP(bits, 20); in bitmap()
559 bitmap_zero(bits, 20); in bitmap()
560 test("00000|00000", "%20pb|%*pb", bits, 20, bits); in bitmap()
561 test("|", "%20pbl|%*pbl", bits, 20, bits); in bitmap()
564 set_bit(primes[i], bits); in bitmap()
565 test("a28ac|a28ac", "%20pb|%*pb", bits, 20, bits); in bitmap()
566 test("2-3,5,7,11,13,17,19|2-3,5,7,11,13,17,19", "%20pbl|%*pbl", bits, 20, bits); in bitmap()
568 bitmap_fill(bits, 20); in bitmap()
569 test("fffff|fffff", "%20pb|%*pb", bits, 20, bits); in bitmap()
570 test("0-19|0-19", "%20pbl|%*pbl", bits, 20, bits); in bitmap()