Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/tests/
Dfree-space-tests.c33 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in init_test_block_group()
35 if (!cache->free_space_ctl) { in init_test_block_group()
41 kfree(cache->free_space_ctl); in init_test_block_group()
132 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()
201 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()
281 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
317 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
345 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
371 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
388 if (cache->free_space_ctl->free_extents != num_extents) { in check_num_extents_and_bitmaps()
[all …]
/linux-4.4.14/fs/btrfs/
Dfree-space-cache.c829 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
1365 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
2365 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
2455 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
2477 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()
2507 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
2572 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
2596 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()
2667 ctl = block_group->free_space_ctl; in btrfs_return_cluster_to_free_space()
2685 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()
[all …]
Dfree-space-cache.h98 return __btrfs_add_free_space(block_group->free_space_ctl, in btrfs_add_free_space()
Dextent-tree.c137 kfree(cache->free_space_ctl); in btrfs_put_block_group()
6872 (cache->free_space_ctl->free_space >= num_bytes)); in wait_block_group_cache_progress()
7316 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7318 block_group->free_space_ctl->free_space < in find_free_extent()
7320 if (block_group->free_space_ctl->free_space > in find_free_extent()
7323 block_group->free_space_ctl->free_space; in find_free_extent()
7324 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7327 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
9646 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()
9648 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()
Dctree.h1352 struct btrfs_free_space_ctl *free_space_ctl; member