• Home
  • Raw
  • Download

Lines Matching refs:buddy

681 	void *buddy;  in __mb_check_buddy()  local
688 buddy = mb_find_buddy(e4b, order, &max); in __mb_check_buddy()
689 MB_CHECK_ASSERT(buddy); in __mb_check_buddy()
692 MB_CHECK_ASSERT(buddy != buddy2); in __mb_check_buddy()
698 if (mb_test_bit(i, buddy)) { in __mb_check_buddy()
726 buddy = mb_find_buddy(e4b, 0, &max); in __mb_check_buddy()
728 if (!mb_test_bit(i, buddy)) { in __mb_check_buddy()
758 MB_CHECK_ASSERT(mb_test_bit(k + i, buddy)); in __mb_check_buddy()
776 void *buddy, ext4_grpblk_t first, ext4_grpblk_t len, in ext4_mb_mark_free_simple() argument
804 buddy + sbi->s_mb_offsets[min]); in ext4_mb_mark_free_simple()
1117 void *buddy, void *bitmap, ext4_group_t group, in ext4_mb_generate_buddy() argument
1140 ext4_mb_mark_free_simple(sb, buddy, first, len, grp); in ext4_mb_generate_buddy()
1747 void *buddy = mb_find_buddy(e4b, order, &max); in mb_buddy_mark_free() local
1749 while (buddy) { in mb_buddy_mark_free()
1782 e4b->bd_info->bb_counters[order] += mb_buddy_adjust_border(&first, buddy, -1); in mb_buddy_mark_free()
1784 e4b->bd_info->bb_counters[order] += mb_buddy_adjust_border(&last, buddy, 1); in mb_buddy_mark_free()
1790 mb_clear_bits(buddy, first, last - first + 1); in mb_buddy_mark_free()
1796 buddy = buddy2; in mb_buddy_mark_free()
1888 void *buddy; in mb_find_extent() local
1893 buddy = mb_find_buddy(e4b, 0, &max); in mb_find_extent()
1894 BUG_ON(buddy == NULL); in mb_find_extent()
1896 if (mb_test_bit(block, buddy)) { in mb_find_extent()
1957 void *buddy; in mb_mark_used() local
1987 buddy = mb_find_buddy(e4b, ord, &max); in mb_mark_used()
1989 mb_set_bit(start >> ord, buddy); in mb_mark_used()
2003 buddy = mb_find_buddy(e4b, ord, &max); in mb_mark_used()
2004 mb_set_bit(start >> ord, buddy); in mb_mark_used()
2009 buddy = mb_find_buddy(e4b, ord, &max); in mb_mark_used()
2010 mb_clear_bit(cur, buddy); in mb_mark_used()
2011 mb_clear_bit(cur + 1, buddy); in mb_mark_used()
2289 void *buddy; in ext4_mb_simple_scan_group() local
2299 buddy = mb_find_buddy(e4b, i, &max); in ext4_mb_simple_scan_group()
2300 BUG_ON(buddy == NULL); in ext4_mb_simple_scan_group()
2302 k = mb_find_next_zero_bit(buddy, max, 0); in ext4_mb_simple_scan_group()