Lines Matching refs:free_space_ctl

32 	cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl),  in init_test_block_group()
34 if (!cache->free_space_ctl) { in init_test_block_group()
125 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()
194 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()
274 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
310 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
338 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
364 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
381 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()
383 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()
386 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()
388 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()
404 if (cache->free_space_ctl->free_space != 0) { in check_cache_empty()
465 use_bitmap_op = cache->free_space_ctl->op->use_bitmap; in test_steal_space_from_bitmap_to_extent()
466 cache->free_space_ctl->op->use_bitmap = test_use_bitmap; in test_steal_space_from_bitmap_to_extent()
639 if (cache->free_space_ctl->free_space != (1 * 1024 * 1024 + 4096)) { in test_steal_space_from_bitmap_to_extent()
658 if (cache->free_space_ctl->free_space != 4096) { in test_steal_space_from_bitmap_to_extent()
676 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_steal_space_from_bitmap_to_extent()
836 if (cache->free_space_ctl->free_space != (1 * 1024 * 1024 + 8192)) { in test_steal_space_from_bitmap_to_extent()
855 if (cache->free_space_ctl->free_space != 8192) { in test_steal_space_from_bitmap_to_extent()
873 cache->free_space_ctl->op->use_bitmap = use_bitmap_op; in test_steal_space_from_bitmap_to_extent()
874 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_steal_space_from_bitmap_to_extent()
904 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_test_free_space_cache()
905 kfree(cache->free_space_ctl); in btrfs_test_free_space_cache()