Searched refs:free_space_ctl (Results 1 – 6 of 6) sorted by relevance
85 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()152 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()233 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()269 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()294 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()320 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()337 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()340 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()343 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()346 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()[all …]
212 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()214 if (!cache->free_space_ctl) { in btrfs_alloc_dummy_block_group()237 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_free_dummy_block_group()238 kfree(cache->free_space_ctl); in btrfs_free_dummy_block_group()
843 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1395 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2536 block_group->free_space_ctl, in btrfs_add_free_space()2555 block_group->free_space_ctl, in btrfs_add_free_space_async_trimmed()2562 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2656 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2680 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()2708 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()2788 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()2817 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed()[all …]
109 struct btrfs_free_space_ctl *free_space_ctl; member
145 kfree(cache->free_space_ctl); in btrfs_put_block_group()406 (cache->free_space_ctl->free_space >= num_bytes)); in btrfs_wait_block_group_cache_progress()1784 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()1786 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()3419 __btrfs_remove_free_space_cache(block_group->free_space_ctl); in btrfs_unfreeze_block_group()
3751 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local3753 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()3754 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3755 if (free_space_ctl->free_space < in find_free_extent_unclustered()3760 free_space_ctl->free_space); in find_free_extent_unclustered()3761 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3764 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()