Lines Matching refs:buddy2
536 void *buddy2;
547 buddy2 = mb_find_buddy(e4b, order - 1, &max2);
548 MB_CHECK_ASSERT(buddy2);
549 MB_CHECK_ASSERT(buddy != buddy2);
556 /* only single bit in buddy2 may be 1 */
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));
567 /* both bits in buddy2 must be 0 */
568 MB_CHECK_ASSERT(mb_test_bit(i << 1, buddy2));
569 MB_CHECK_ASSERT(mb_test_bit((i << 1) + 1, buddy2));
596 buddy2 = mb_find_buddy(e4b, j, &max2);
599 MB_CHECK_ASSERT(mb_test_bit(k, buddy2));
1266 void *buddy2;
1317 buddy2 = mb_find_buddy(e4b, order + 1, &max);
1319 if (!buddy2)
1335 mb_clear_bit(block, buddy2);
1336 buddy = buddy2;