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()153 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()234 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()270 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()295 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()321 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()338 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()341 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()344 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()347 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()[all …]
214 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()216 if (!cache->free_space_ctl) { in btrfs_alloc_dummy_block_group()240 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_free_dummy_block_group()241 kfree(cache->free_space_ctl); in btrfs_free_dummy_block_group()
826 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1382 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2393 block_group->free_space_ctl, in btrfs_add_free_space()2400 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2491 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2515 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()2544 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()2609 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()2633 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()2705 ctl = block_group->free_space_ctl; in btrfs_return_cluster_to_free_space()[all …]
95 struct btrfs_free_space_ctl *free_space_ctl; member
143 kfree(cache->free_space_ctl); in btrfs_put_block_group()405 (cache->free_space_ctl->free_space >= num_bytes)); in btrfs_wait_block_group_cache_progress()1602 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()1604 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()
3600 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local3602 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()3603 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3604 if (free_space_ctl->free_space < in find_free_extent_unclustered()3609 free_space_ctl->free_space); in find_free_extent_unclustered()3610 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3613 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()