Searched refs:free_space_ctl (Results 1 – 5 of 5) sorted by relevance
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()362 if (cache->free_space_ctl->free_space != 0) { in check_cache_empty()426 orig_free_space_ops = cache->free_space_ctl->op; in test_steal_space_from_bitmap_to_extent()427 cache->free_space_ctl->op = &test_free_space_ops; in test_steal_space_from_bitmap_to_extent()591 if (cache->free_space_ctl->free_space != (SZ_1M + sectorsize)) { in test_steal_space_from_bitmap_to_extent()614 if (cache->free_space_ctl->free_space != sectorsize) { in test_steal_space_from_bitmap_to_extent()781 if (cache->free_space_ctl->free_space != (SZ_1M + 2 * sectorsize)) { in test_steal_space_from_bitmap_to_extent()[all …]
943 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1519 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2622 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space()2691 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space_zoned()2800 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2914 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2979 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()3032 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()3058 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed()3091 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()[all …]
183 kfree(cache->free_space_ctl); in btrfs_put_block_group()471 (cache->free_space_ctl->free_space >= num_bytes))); in btrfs_wait_block_group_cache_progress()2378 cache->free_space_ctl = kzalloc_obj(*cache->free_space_ctl, GFP_NOFS); in btrfs_create_block_group()2379 if (!cache->free_space_ctl) { in btrfs_create_block_group()2402 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_create_block_group()
3963 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local3965 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()3966 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3967 if (free_space_ctl->free_space < in find_free_extent_unclustered()3972 free_space_ctl->free_space); in find_free_extent_unclustered()3973 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3976 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()4030 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_allocation_zoned()
2021 cache->free_space_ctl->free_space = free; in btrfs_calc_zone_unusable()2591 block_group->free_space_ctl->free_space = 0; in do_zone_finish()3187 bg->free_space_ctl->free_space += reclaimed; in btrfs_reset_unused_block_groups()