Searched refs:free_space_ctl (Results 1 – 5 of 5) sorted by relevance
32 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in init_test_block_group()34 if (!cache->free_space_ctl) { in init_test_block_group()125 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()194 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()274 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()310 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()338 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()364 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()381 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()383 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()[all …]
831 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()1367 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()2337 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()2427 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()2449 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()2479 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()2544 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()2568 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()2639 ctl = block_group->free_space_ctl; in btrfs_return_cluster_to_free_space()2657 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()[all …]
97 return __btrfs_add_free_space(block_group->free_space_ctl, in btrfs_add_free_space()
139 kfree(cache->free_space_ctl); in btrfs_put_block_group()6574 (cache->free_space_ctl->free_space >= num_bytes)); in wait_block_group_cache_progress()6992 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()6994 block_group->free_space_ctl->free_space < in find_free_extent()6996 if (block_group->free_space_ctl->free_space > in find_free_extent()6999 block_group->free_space_ctl->free_space; in find_free_extent()7000 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()7003 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()9291 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()9293 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()
1318 struct btrfs_free_space_ctl *free_space_ctl; member