Lines Matching refs:buddy2
560 void *buddy2; in __mb_check_buddy() local
571 buddy2 = mb_find_buddy(e4b, order - 1, &max2); in __mb_check_buddy()
572 MB_CHECK_ASSERT(buddy2); in __mb_check_buddy()
573 MB_CHECK_ASSERT(buddy != buddy2); in __mb_check_buddy()
581 if (!mb_test_bit(i << 1, buddy2)) { in __mb_check_buddy()
583 mb_test_bit((i<<1)+1, buddy2)); in __mb_check_buddy()
584 } else if (!mb_test_bit((i << 1) + 1, buddy2)) { in __mb_check_buddy()
586 mb_test_bit(i << 1, buddy2)); in __mb_check_buddy()
592 MB_CHECK_ASSERT(mb_test_bit(i << 1, buddy2)); in __mb_check_buddy()
593 MB_CHECK_ASSERT(mb_test_bit((i << 1) + 1, buddy2)); in __mb_check_buddy()
620 buddy2 = mb_find_buddy(e4b, j, &max2); in __mb_check_buddy()
623 MB_CHECK_ASSERT(mb_test_bit(k, buddy2)); in __mb_check_buddy()
1364 void *buddy2; in mb_buddy_mark_free() local
1403 if (first == last || !(buddy2 = mb_find_buddy(e4b, order, &max))) { in mb_buddy_mark_free()
1410 buddy = buddy2; in mb_buddy_mark_free()