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()
906 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1470 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2545 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space_zoned()2600 block_group->free_space_ctl, in btrfs_add_free_space()2633 block_group->free_space_ctl, in btrfs_add_free_space_async_trimmed()2640 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2754 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2816 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()2896 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()2925 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed()[all …]
113 struct btrfs_free_space_ctl *free_space_ctl; member
162 kfree(cache->free_space_ctl); in btrfs_put_block_group()423 (cache->free_space_ctl->free_space >= num_bytes)); in btrfs_wait_block_group_cache_progress()1905 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()1907 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()1929 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_create_block_group_cache()4036 __btrfs_remove_free_space_cache(block_group->free_space_ctl); in btrfs_unfreeze_block_group()
3669 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local3671 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()3672 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3673 if (free_space_ctl->free_space < in find_free_extent_unclustered()3678 free_space_ctl->free_space); in find_free_extent_unclustered()3679 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3682 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3755 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_allocation_zoned()
631 ctl = block_group->free_space_ctl; in btrfs_discard_update_discardable()
1333 cache->free_space_ctl->free_space = free; in btrfs_calc_zone_unusable()