Searched refs:free_space_ctl (Results 1 – 8 of 8) 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 …]
219 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()221 if (!cache->free_space_ctl) { in btrfs_alloc_dummy_block_group()234 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_alloc_dummy_block_group()244 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_free_dummy_block_group()245 kfree(cache->free_space_ctl); in btrfs_free_dummy_block_group()
899 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1463 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2538 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space_zoned()2593 block_group->free_space_ctl, in btrfs_add_free_space()2626 block_group->free_space_ctl, in btrfs_add_free_space_async_trimmed()2633 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2747 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2809 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()2889 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()2918 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed()[all …]
112 struct btrfs_free_space_ctl *free_space_ctl; member
146 kfree(cache->free_space_ctl); in btrfs_put_block_group()407 (cache->free_space_ctl->free_space >= num_bytes)); in btrfs_wait_block_group_cache_progress()1874 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()1876 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()1898 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_create_block_group_cache()3927 __btrfs_remove_free_space_cache(block_group->free_space_ctl); in btrfs_unfreeze_block_group()
601 ctl = block_group->free_space_ctl; in btrfs_discard_update_discardable()
3667 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local3669 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()3670 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3671 if (free_space_ctl->free_space < in find_free_extent_unclustered()3676 free_space_ctl->free_space); in find_free_extent_unclustered()3677 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3680 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3753 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_allocation_zoned()
1252 cache->free_space_ctl->free_space = free; in btrfs_calc_zone_unusable()