Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c84 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_extents()
152 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps()
233 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
269 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
294 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
320 __btrfs_remove_free_space_cache(cache->free_space_ctl); in test_bitmaps_and_extents()
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()
[all …]
Dbtrfs-tests.c191 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()
193 if (!cache->free_space_ctl) { in btrfs_alloc_dummy_block_group()
217 __btrfs_remove_free_space_cache(cache->free_space_ctl); in btrfs_free_dummy_block_group()
218 kfree(cache->free_space_ctl); in btrfs_free_dummy_block_group()
/Linux-v4.19/fs/btrfs/
Dfree-space-cache.c809 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
1350 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
2347 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
2438 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
2460 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()
2489 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
2554 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
2578 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()
2650 ctl = block_group->free_space_ctl; in btrfs_return_cluster_to_free_space()
2668 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()
[all …]
Dfree-space-cache.h84 block_group->free_space_ctl, in btrfs_add_free_space()
Dextent-tree.c118 kfree(cache->free_space_ctl); in btrfs_put_block_group()
7121 (cache->free_space_ctl->free_space >= num_bytes)); in wait_block_group_cache_progress()
7526 block_group->free_space_ctl; in find_free_extent()
9814 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_create_block_group_cache()
9816 if (!cache->free_space_ctl) { in btrfs_create_block_group_cache()
Dctree.h615 struct btrfs_free_space_ctl *free_space_ctl; member