Lines Matching refs:mb_test_bit
361 static inline int mb_test_bit(int bit, void *addr)
443 if (!mb_test_bit(first + i, e4b->bd_info->bb_bitmap)) {
467 BUG_ON(mb_test_bit(first + i, e4b->bd_info->bb_bitmap));
555 if (mb_test_bit(i, buddy)) {
557 if (!mb_test_bit(i << 1, buddy2)) {
559 mb_test_bit((i<<1)+1, buddy2));
560 } else if (!mb_test_bit((i << 1) + 1, buddy2)) {
562 mb_test_bit(i << 1, buddy2));
568 MB_CHECK_ASSERT(mb_test_bit(i << 1, buddy2));
569 MB_CHECK_ASSERT(mb_test_bit((i << 1) + 1, buddy2));
574 !mb_test_bit(k, EXT4_MB_BITMAP(e4b)));
585 if (!mb_test_bit(i, buddy)) {
599 MB_CHECK_ASSERT(mb_test_bit(k, buddy2));
614 MB_CHECK_ASSERT(mb_test_bit(k + i, buddy));
1213 if (!mb_test_bit(block, bb)) {
1280 block = !mb_test_bit(first - 1, EXT4_MB_BITMAP(e4b));
1282 max = !mb_test_bit(first + count, EXT4_MB_BITMAP(e4b));
1293 if (!mb_test_bit(block, EXT4_MB_BITMAP(e4b))) {
1312 if (mb_test_bit(block, buddy) ||
1313 mb_test_bit(block + 1, buddy))
1357 if (mb_test_bit(block, buddy)) {
1386 if (mb_test_bit(next, EXT4_MB_BITMAP(e4b)))
1424 mlen = !mb_test_bit(start - 1, EXT4_MB_BITMAP(e4b));
1426 max = !mb_test_bit(start + len, EXT4_MB_BITMAP(e4b));
1838 if (!mb_test_bit(i, bitmap)) {
2762 BUG_ON(mb_test_bit(ac->ac_b_ex.fe_start + i,
4565 BUG_ON(!mb_test_bit(bit + i, bitmap_bh->b_data));