Lines Matching refs:BITS_PER_BYTE
346 for (i = 0; i < eb->len * BITS_PER_BYTE; i++) { in check_eb_bitmap()
355 read_extent_buffer(eb, &has, i / BITS_PER_BYTE, 1); in check_eb_bitmap()
356 expect = bitmap_get_value8(bitmap, ALIGN(i, BITS_PER_BYTE)); in check_eb_bitmap()
360 i, i / BITS_PER_BYTE, has, expect); in check_eb_bitmap()
364 bit1 = !!extent_buffer_test_bit(eb, i / BITS_PER_BYTE, in check_eb_bitmap()
365 i % BITS_PER_BYTE); in check_eb_bitmap()
370 read_extent_buffer(eb, &has, i / BITS_PER_BYTE, 1); in check_eb_bitmap()
371 expect = bitmap_get_value8(bitmap, ALIGN(i, BITS_PER_BYTE)); in check_eb_bitmap()
375 i / BITS_PER_BYTE, i % BITS_PER_BYTE, in check_eb_bitmap()
376 i / BITS_PER_BYTE, has, expect); in check_eb_bitmap()
390 bitmap_set(bitmap, byte_start * BITS_PER_BYTE + bit_start, bit_len); in test_bitmap_set()
405 bitmap_clear(bitmap, byte_start * BITS_PER_BYTE + bit_start, bit_len); in test_bitmap_clear()
420 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
424 ret = test_bitmap_set("set all", bitmap, eb, 0, 0, byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
429 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
461 sizeof(long) * BITS_PER_BYTE); in __test_eb_bitmaps()
466 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
472 sizeof(long) * BITS_PER_BYTE); in __test_eb_bitmaps()
483 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
487 for (i = 0; i < byte_len * BITS_PER_BYTE / 32; i++) { in __test_eb_bitmaps()