Home
last modified time | relevance | path

Searched refs:free_space_ctl (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/tests/
Dfree-space-tests.c97 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()
165 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()
246 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
282 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
307 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
333 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
350 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()
352 cache->free_space_ctl->free_extents, num_extents); in check_num_extents_and_bitmaps()
355 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) { in check_num_extents_and_bitmaps()
357 cache->free_space_ctl->total_bitmaps, num_bitmaps); in check_num_extents_and_bitmaps()
[all …]
Dbtrfs-tests.c199 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()
201 if (!cache->free_space_ctl) { in btrfs_alloc_dummy_block_group()
225 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_free_dummy_block_group()
226 kfree(cache->free_space_ctl); in btrfs_free_dummy_block_group()
/fs/btrfs/
Dfree-space-cache.c828 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
1361 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
2361 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
2451 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
2473 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()
2502 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
2567 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
2591 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()
2663 ctl = block_group->free_space_ctl; in btrfs_return_cluster_to_free_space()
2681 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()
[all …]
Dfree-space-cache.h100 block_group->free_space_ctl, in btrfs_add_free_space()
Dextent-tree.c135 kfree(cache->free_space_ctl); in btrfs_put_block_group()
7287 (cache->free_space_ctl->free_space >= num_bytes)); in wait_block_group_cache_progress()
7729 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7731 block_group->free_space_ctl->free_space < in find_free_extent()
7733 if (block_group->free_space_ctl->free_space > in find_free_extent()
7736 block_group->free_space_ctl->free_space; in find_free_extent()
7737 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7740 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
10107 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()
10109 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()
Dctree.h582 struct btrfs_free_space_ctl *free_space_ctl; member